-
Notifications
You must be signed in to change notification settings - Fork 84
/
meta.yaml
64 lines (55 loc) · 1.51 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
{% set name = "schism" %}
{% set version = "5.9.0" %}
{% set build = 0 %}
# Based on https://github.com/conda-forge/netcdf-fortran-feedstock/blob/master/recipe/meta.yaml
#{% set data = load_setup_py_data() %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
# path: ..
url: https://github.com/schism-dev/schism/archive/refs/tags/v5.9.0.tar.gz
sha256: 3f990b8f005079a07a62f08f491ba2818000fb2905772ce50e2253a1334d8420
build:
number: {{ build }}
skip: true #[win]
merge_build_host: true
outputs:
- name: pschism
script: build.sh
{% set mpi_prefix = "mpi_" + mpi %}
string: {{ mpi_prefix }}_h{{ PKG_HASH }}_{{ build }}
{% set build_pin = mpi_prefix + '_*' %}
requirements:
build:
host:
- {{ compiler('cxx') }}
- {{ compiler('c') }}
- {{ compiler('fortran') }}
- cmake ##>=3.17
- sed
- python #=3.8
- {{ mpi }}
- {{ mpi }}-mpifort
- {{ mpi }}-mpicc
- {{ mpi }}-mpicxx
- netcdf-fortran * {{ mpi_prefix }}_*
run:
- {{ mpi }}
- parmetis
- metis
- netcdf-fortran * {{ mpi_prefix }}_*
# test:
# commands:
# - echo $BUILD_PREFIX
# - echo {{ environ.get('PREFIX') }}
# - echo {{ environ.get('SRC_DIR') }}
about:
home: https://github.com/schism-dev/schism
license: Apache-2
license_family: APACHE
license_file: LICENSE
summary: 'Semi-implicit Cross-scale Hydroscience Integrated System Model'
extra:
recipe-maintainers:
# - brey