Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
brryan committed Sep 25, 2024
1 parent e5119b6 commit 495499b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ target_include_directories(singularity-opac::flags
INTERFACE
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}>)

include (SetupOptions)
include (SetupFlags)
include (SetupDeps)
include (SetupOptions)
include (SetupCompilers)
include (SetupFlags)

if (SINGULARITY_USE_HDF5)
message(STATUS "HDF5 enabled. Requesting it in spiner")
Expand Down
3 changes: 0 additions & 3 deletions cmake/SetupDeps.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ endif()
# Setup ports of call
# - provides PortsofCall::PortsofCall
#=======================================
get_target_property(defs ${PROJECT_NAME} INTERFACE_COMPILE_DEFINITIONS)
message(STATUS "POC Compile Definitions for ${PROJECT_NAME}: ${defs}")
find_package(PortsofCall REQUIRED)
target_link_libraries(singularity-opac::flags INTERFACE PortsofCall::PortsofCall)

Expand Down Expand Up @@ -94,4 +92,3 @@ if (NOT TARGET Catch2::Catch2)
find_package(Catch2 QUIET)
endif()

message(STATUS "NOW Compile Definitions for ${PROJECT_NAME}: ${defs}")
4 changes: 3 additions & 1 deletion cmake/SetupOptions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,7 @@ if(SINGULARITY_USE_CUDA)
endif()

if(NOT SINGULARITY_USE_KOKKOS)
message(FATAL_ERROR "For unknown reasons PORTABILITY_STRATEGY_KOKKOS will always be provided to ports-of-call. For now you must use Kokkos with singularity-opac.")
message(FATAL_ERROR
"For unknown reasons PORTABILITY_STRATEGY_KOKKOS will always be provided to ports-of-call. "
"For now you must use Kokkos with singularity-opac.")
endif()

0 comments on commit 495499b

Please sign in to comment.