Skip to content

Commit ee745a4

Browse files
committed
use fortran compiler
1 parent fec42d4 commit ee745a4

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

recipe/meta.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ build:
4848
- REST_HOME="${SRC_DIR}"
4949
- REST_EXT_DIR="${SRC_DIR}/rest_deps/lib"
5050
- HDF5_DIR="${BUILD_PREFIX}"
51+
- REST_FORTRAN_COMPILER="$F90"
5152
script: |
5253
cd rest
5354
mkdir ../rest_deps
@@ -57,6 +58,7 @@ build:
5758
# echo ${REST_EXT_DIR}
5859
# pwd
5960
# export REST_HOME=".."
61+
echo ${REST_FORTRAN_COMPILER}
6062
cargo build --release --verbose --no-default-features
6163
cargo install --path . --profile release --root ${PREFIX}
6264
number: 0
@@ -66,6 +68,7 @@ requirements:
6668
# If your project compiles code (such as a C extension) then add the required compilers as separate entries here.
6769
# Compilers are named 'c', 'cxx', 'fortran', among others
6870
- {{ compiler('c') }}
71+
- {{ compiler('fortran') }}
6972
# this is necessary for all compiled recipes
7073
# - {{ stdlib('c') }}
7174
- {{ compiler('rust') }}

0 commit comments

Comments
 (0)