Skip to content

Commit

Permalink
Set CMake args identically to local setup
Browse files Browse the repository at this point in the history
  • Loading branch information
jwallwork23 committed Nov 15, 2024
1 parent 2adad42 commit 65deeb0
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/test_suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,15 @@ jobs:
export PFUNIT_DIR=$(pwd)/pFUnit/build/installed/PFUNIT-4.10
mkdir ${BUILD_DIR}
cd ${BUILD_DIR}
cmake .. -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=${BUILD_DIR} \
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_BUILD_TESTS=TRUE \
-DCMAKE_PREFIX_PATH="${Torch_DIR}:${PFUNIT_DIR}" \
-DCMAKE_Fortran_FLAGS="-std=${{ matrix.std }}"
-DCMAKE_PREFIX_PATH="${PFUNIT_DIR}:${Torch_DIR}" \
-DCMAKE_INSTALL_PREFIX=${BUILD_DIR} \
-DCMAKE_C_FLAGS="" \
-DCMAKE_CXX_FLAGS="" \
-DCMAKE_Fortran_FLAGS="-std=${{ matrix.std }}" \
-DCMAKE_EXE_LINKER_FLAGS=""
cmake --build .
cmake --install .
Expand Down

0 comments on commit 65deeb0

Please sign in to comment.