Skip to content

Commit

Permalink
Minor cmake update, add verbosity message.
Browse files Browse the repository at this point in the history
  • Loading branch information
pkestene committed Aug 7, 2023
1 parent 81342ab commit 1ee218f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmake/build_or_find_kokkos.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ set_property(CACHE EULER2D_KOKKOS_BACKEND PROPERTY STRINGS
if(EULER2D_KOKKOS_BUILD)

message("[euler2d / kokkos] Building kokkos from source")
message("[euler2d / kokkos] Building kokkos from source using git ? ${EULER2D_KOKKOS_USE_GIT}")

# Kokkos default build options

Expand Down Expand Up @@ -112,11 +111,13 @@ if(EULER2D_KOKKOS_BUILD)
endif()

if (EULER2D_KOKKOS_USE_GIT)
message("[euler2d / kokkos] Building kokkos from source using git sources")
FetchContent_Declare( kokkos_external
GIT_REPOSITORY https://github.com/kokkos/kokkos.git
GIT_TAG 4.1.00
)
else()
message("[euler2d / kokkos] Building kokkos from source using archive file/URL ${EULER2D_KOKKOS_SOURCE_ARCHIVE}")
FetchContent_Declare( kokkos_external
URL ${EULER2D_KOKKOS_SOURCE_ARCHIVE}
)
Expand Down

0 comments on commit 1ee218f

Please sign in to comment.