Skip to content

Commit

Permalink
Install: use Kokkos_ROOT in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
cwpearson committed Apr 4, 2024
1 parent a78639c commit eb4b076
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/linux-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
cmake --build "$KOKKOS_BUILD" --parallel $(nproc) -t install
- name: Configure KokkosComm
run: |
cmake -S "$COMM_SRC" -B "$COMM_BUILD" -DKokkos_DIR="$KOKKOS_INSTALL/lib/cmake/Kokkos" -DCMAKE_CXX_COMPILER=mpicxx -DCMAKE_BUILD_TYPE=RelWithDebInfo -DKokkosComm_ENABLE_TESTS=OFF -DKokkosComm_ENABLE_PERFTESTS=OFF -DCMAKE_INSTALL_PREFIX="$COMM_INSTALL"
cmake -S "$COMM_SRC" -B "$COMM_BUILD" -DKokkos_ROOT="$KOKKOS_INSTALL" -DCMAKE_CXX_COMPILER=mpicxx -DCMAKE_BUILD_TYPE=RelWithDebInfo -DKokkosComm_ENABLE_TESTS=OFF -DKokkosComm_ENABLE_PERFTESTS=OFF -DCMAKE_INSTALL_PREFIX="$COMM_INSTALL"
- name: Build and Install KokkosComm
run: |
VERBOSE=1 cmake --build "$COMM_BUILD" --target install
Expand All @@ -48,7 +48,7 @@ jobs:
rm -rf $"COMM_BUILD"
- name: Configure KokkosComm Unit Tests against Installed
run: |
cmake -S "$COMM_SRC"/unit_tests -B "$COMM_UNIT_TESTS_BUILD" -DKokkos_DIR="$KOKKOS_INSTALL/lib/cmake/Kokkos" -DKokkosComm_ROOT="$COMM_INSTALL" -DCMAKE_CXX_COMPILER=mpicxx -DCMAKE_BUILD_TYPE=RelWithDebInfo
cmake -S "$COMM_SRC"/unit_tests -B "$COMM_UNIT_TESTS_BUILD" -DKokkos_ROOT="$KOKKOS_INSTALL" -DKokkosComm_ROOT="$COMM_INSTALL" -DCMAKE_CXX_COMPILER=mpicxx -DCMAKE_BUILD_TYPE=RelWithDebInfo
- name: Build KokkosComm Unit Tests
run: |
VERBOSE=1 cmake --build "$COMM_UNIT_TESTS_BUILD"
Expand All @@ -57,7 +57,7 @@ jobs:
ctest -V --test-dir "$COMM_UNIT_TESTS_BUILD"
- name: Configure KokkosComm Perf Tests against Installed
run: |
cmake -S "$COMM_SRC"/perf_tests -B "$COMM_PERF_TESTS_BUILD" -DKokkos_DIR="$KOKKOS_INSTALL/lib/cmake/Kokkos" -DKokkosComm_ROOT="$COMM_INSTALL" -DCMAKE_CXX_COMPILER=mpicxx -DCMAKE_BUILD_TYPE=RelWithDebInfo
cmake -S "$COMM_SRC"/perf_tests -B "$COMM_PERF_TESTS_BUILD" -DKokkos_ROOT="$KOKKOS_INSTALL" -DKokkosComm_ROOT="$COMM_INSTALL" -DCMAKE_CXX_COMPILER=mpicxx -DCMAKE_BUILD_TYPE=RelWithDebInfo
- name: Build KokkosComm Perf Tests
run: |
VERBOSE=1 cmake --build "$COMM_PERF_TESTS_BUILD"
Expand Down

0 comments on commit eb4b076

Please sign in to comment.