Skip to content

Commit

Permalink
Specify FFLAGS to CMake, not via environment
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertPincus committed Feb 21, 2025
1 parent 63d5a78 commit 25c8c88
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
#
- name: Add debug flags
if: matrix.build-type == 'Debug'
run: echo "CMAKE_Fortran_FLAGS = '-std=f2008 -fbounds-check -fmodule-private -fimplicit-none -finit-real=nan'" >> "$GITHUB_ENV"
run: echo "FFLAGS = '-std=f2008 -fbounds-check -fmodule-private -fimplicit-none -finit-real=nan'" >> "$GITHUB_ENV"
#
# Build libraries, examples, and tests
#
Expand All @@ -77,6 +77,7 @@ jobs:
-DCMAKE_BUILD_TYPE=${{ matrix.build-type }} \
-DRTE_ENABLE_SP="$(test '${{ matrix.fpmodel }}' = SP && echo ON || echo OFF)" \
-DKERNEL_MODE=${{ matrix.rte-kernels }} \
-DCMAKE_Fortran_FLAGS="$FFLAGS" \
-DBUILD_TESTING=ON
cmake --build build
#
Expand Down

0 comments on commit 25c8c88

Please sign in to comment.