Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions math-libs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,11 @@ if(THEROCK_ENABLE_PRIM)
# rocPRIM_tests declared as a separate target to stop the tests from clogging up the critical build path for libs
# that depend on rocPRIM
# passing BACKGROUND_BUILD ensures that the tests aren't built (too) concurrently with other projects that are demanding
# amdsmi is Linux-only; benchmarks depend on primbench which requires amd_smi
if(WIN32)
# amdsmi is Linux-only and only declared when THEROCK_ENABLE_CORE_AMDSMI is ON
# (see core/CMakeLists.txt). Benchmarks depend on primbench which requires
# amd_smi, so they must be disabled when amdsmi is unavailable (e.g., the
# prim-isolated CI group THEROCK_ENABLE_ALL=OFF / THEROCK_ENABLE_PRIM=ON).
if(WIN32 OR NOT TARGET amdsmi)
set(_rocprim_benchmark_enable "OFF")
set(_rocprim_benchmark_deps)
set(_rocprim_benchmark_includes)
Expand Down
Loading