File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,13 +30,15 @@ jobs:
3030 shell : spack-sh {0}
3131 run : |
3232 # spack load python py-numpy py-pybind11
33+ # loading TFEL
3334 spack load tfel
34- cmake -DCMAKE_BUILD_TYPE=Release . \
35- -Denable-c-bindings=ON \
36- -Denable-fortran-bindings=ON \
37- -Denable-python-bindings=OFF \
38- -Denable-portable-build=ON \
39- -Denable-julia-bindings=OFF
35+ cmake -DCMAKE_BUILD_TYPE=Release . \
36+ -Denable-c-bindings=ON \
37+ -Denable-fortran-bindings=ON \
38+ -Denable-python-bindings=OFF \
39+ -Denable-portable-build=ON \
40+ -Denable-julia-bindings=OFF \
41+ -DTFEL_DIR=`spack location -i tfel`/share/tfel/cmake
4042 - name : make
4143 shell : spack-sh {0}
4244 run : |
Original file line number Diff line number Diff line change 1111# - TFEL_CXX_STANDARD
1212# - TFEL_VERSION
1313
14- if (DEFINED ENV{TFELHOME})
15- set (TFELHOME $ENV{TFELHOME} )
14+ if (DEFINED TFEL_DIR)
15+ set (TFELHOME "${TFEL_DIR} " )
16+ else ()
17+ if (DEFINED ENV{TFELHOME})
18+ set (TFELHOME "$ENV{TFELHOME} " )
19+ endif ()
1620endif ()
1721message (STATUS "tfelhome: ${TFELHOME} " )
1822
You can’t perform that action at this time.
0 commit comments