Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pierrepebay authored and Francesco Rizzi committed Nov 10, 2024
1 parent 073e129 commit 647029c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-kokkos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ jobs:
-D PRESSIO_OPS_ENABLE_TESTS:BOOL=ON \
-D PRESSIO_ENABLE_TPL_EIGEN:BOOL=OFF \
-D PRESSIO_ENABLE_TPL_KOKKOS:BOOL=ON \
-D KOKKOS_ROOT=/kokkos/install \
-D KOKKOS_KERNELS_ROOT=/kokkos-kernels/install
-D Kokkos_ROOT=/kokkos/install \
-D KokkosKernels_ROOT=/kokkos-kernels/install
- name: Build
run: |
Expand Down
10 changes: 5 additions & 5 deletions tests/cmake/options.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ if(PRESSIO_ENABLE_TPL_KOKKOS)
# when trilinos is enabled it links kokkos too
if(NOT PRESSIO_ENABLE_TPL_TRILINOS)
# if kokkos is used as standalone lib, then we are more specific
# user needs to define: KOKKOS_ROOT_DIR and KOKKOS_KERNELS_ROOT_DIR
if (NOT KOKKOS_ROOT OR NOT KOKKOS_KERNELS_ROOT)
message(FATAL_ERROR "Missing KOKKOS_ROOT. KOKKOS needs:
-D KOKKOS_ROOT=<full-path-to-kokkos-installation>
-D KOKKOS_KERNELS_ROOT=<full-path-to-kokkos-kernels-installation>
# user needs to define: Kokkos_ROOT and KokkosKernels_ROOT
if (NOT Kokkos_ROOT OR NOT KokkosKernels_ROOT)
message(FATAL_ERROR "Missing Kokkos installation directories. KOKKOS needs:
-D Kokkos_ROOT=<full-path-to-kokkos-installation>
-D KokkosKernels_ROOT=<full-path-to-kokkos-kernels-installation>
")
endif()

Expand Down

0 comments on commit 647029c

Please sign in to comment.