Skip to content

Commit

Permalink
add FIRESTARTER_HIP to the available build types
Browse files Browse the repository at this point in the history
  • Loading branch information
marenz2569 committed Nov 25, 2024
1 parent fe4d5e9 commit 44119f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/BuildOptions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ include(CMakeDependentOption)

# Set the different available FIRESTARTER builds.
set(FIRESTARTER_BUILD_TYPE "FIRESTARTER" CACHE STRING "FIRESTARTER_BUILD_TYPE can be any of FIRESTARTER, FIRESTARTER_CUDA, FIRESTARTER_ONEAPI, or FIRESTARTER_HIP.")
set_property(CACHE FIRESTARTER_BUILD_TYPE PROPERTY STRINGS FIRESTARTER FIRESTARTER_CUDA FIRESTARTER_ONEAPI)
set_property(CACHE FIRESTARTER_BUILD_TYPE PROPERTY STRINGS FIRESTARTER FIRESTARTER_CUDA FIRESTARTER_ONEAPI FIRESTARTER_HIP)

# Static linking is not supported with GPU devices or MacOS.
set(FIRESTARTER_LINK_STATIC_FLAG ("${FIRESTARTER_BUILD_TYPE}" STREQUAL "FIRESTARTER") AND (NOT CMAKE_SYSTEM_NAME STREQUAL "Darwin"))
Expand Down

0 comments on commit 44119f8

Please sign in to comment.