-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
meta.yaml
91 lines (77 loc) · 2.04 KB
/
meta.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{% set name = "dagmc" %}
{% set version = "3.2.3" %}
{% set build = 2 %}
# ensure mpi is defined (needed for conda-smithy recipe-lint)
{% set mpi = mpi or 'nompi' %}
{% if mpi == 'nompi' %}
# prioritize nompi variant via build number
{% set build = build + 100 %}
{% endif %}
package:
name: {{ name }}
version: {{ version }}
source:
git_url: https://github.com/svalinn/DAGMC.git
git_rev: v{{ version }}
build:
number: {{ build }}
# add build string so packages can depend on
# mpi or nompi variants explicitly:
# `dagmc * mpi_mpich_*` for mpich
# `dagmc * mpi_openmpi_*` for openmpi
# `dagmc * nompi_*` for no mpi
{% if mpi != 'nompi' %}
{% set mpi_prefix = "mpi_" + mpi %}
{% else %}
{% set mpi_prefix = "nompi" %}
{% endif %}
string: {{ mpi_prefix }}_py{{ CONDA_PY }}h{{ PKG_HASH }}_{{ build }}
{% if mpi != 'nompi' %}
run_exports:
- {{ name }} * {{ mpi_prefix }}_*
{% endif %}
skip: True # [win]
requirements:
build:
- cmake
- make
- {{ compiler('c') }}
- {{ stdlib("c") }}
- {{ compiler('cxx') }}
- {{ mpi }} # [mpi != 'nompi']
host:
- eigen
# matching MOAB HDF5 host requirements to ensure matched pinning of HDF5 versions
- hdf5
- hdf5 * {{ mpi_prefix }}_*
- moab * {{ mpi_prefix }}_tempest_*
- {{ mpi }} # [mpi != 'nompi']
run:
- eigen
- hdf5 * {{ mpi_prefix }}_*
- moab * {{ mpi_prefix }}_tempest_*
- zlib
- {{ mpi }} # [mpi != 'nompi']
test:
commands:
- test -f "${PREFIX}/bin/make_watertight"
- make_watertight --help
about:
home: https://svalinn.github.io/DAGMC/
license: BSD-2-Clause
license_file: LICENSE.txt
summary: 'Direct Accelerated Geometry Toolkit'
description: |
Direct Accelerated Geometry Monte Carlo (DAGMC) is a software package that
allows users to perform Monte Carlo radiation transport directly on CAD
models.
dev_url: https://github.com/svalinn/DAGMC
extra:
recipe-maintainers:
- gonuke
- pshriwise
- ljacobson64
- kkiesling
- bam241
- ngranda
- shimwell