Skip to content

Commit

Permalink
fix for compose cmake var
Browse files Browse the repository at this point in the history
  • Loading branch information
oksanaguba committed Jan 28, 2025
1 parent 3aacf21 commit fc4015a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion components/eamxx/src/dynamics/homme/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,18 @@ set(BUILD_HOMME_PESE OFF CACHE BOOL "")
set(BUILD_HOMME_SWIM OFF CACHE BOOL "")
set(BUILD_HOMME_PRIM OFF CACHE BOOL "")

set(HOMME_ENABLE_COMPOSE ON CACHE BOOL "")
message("Kokkos_ENABLE_SYCL is set to ${Kokkos_ENABLE_SYCL}-----------------------------")

message("HOMME_ENABLE_COMPOSE is set to ${HOMME_ENABLE_COMPOSE}-----------------------------")
if (Kokkos_ENABLE_SYCL)
set(HOMME_ENABLE_COMPOSE OFF CACHE BOOL "")
message("1 HOMME_ENABLE_COMPOSE is set to ${HOMME_ENABLE_COMPOSE}-----------------------------")
else ()
set(HOMME_ENABLE_COMPOSE ON CACHE BOOL "")
message("2 HOMME_ENABLE_COMPOSE is set to ${HOMME_ENABLE_COMPOSE}-----------------------------")
endif()
message("HOMME_ENABLE_COMPOSE is set to ${HOMME_ENABLE_COMPOSE}-----------------------------")


set(BUILD_HOMME_TOOL OFF CACHE BOOL "")

Expand Down

0 comments on commit fc4015a

Please sign in to comment.