[ROCm/rocshmem commit: 7d9e82fb34]
This commit is contained in:
Yiltan
2025-03-19 09:39:07 -04:00
committato da GitHub
parent e16bb62767
commit c4b81768df
2 ha cambiato i file con 14 aggiunte e 9 eliminazioni
+11 -9
Vedi File
@@ -111,15 +111,6 @@ include(ROCMCheckTargetIds)
rocm_setup_version(VERSION 2.0.0)
project(rocshmem VERSION 2.0.0 LANGUAGES CXX)
###############################################################################
# TEST SUBDIRECTORIES
###############################################################################
add_subdirectory(tests)
if (BUILD_EXAMPLES)
add_subdirectory(examples)
endif()
###############################################################################
# CREATE ROCSHMEM LIBRARY
###############################################################################
@@ -211,7 +202,18 @@ if (NOT BUILD_TESTS_ONLY)
${IBVERBS_LIBRARIES}
)
endif()
endif()
###############################################################################
# TEST SUBDIRECTORIES
###############################################################################
add_subdirectory(tests)
if (BUILD_EXAMPLES)
add_subdirectory(examples)
endif()
if (NOT BUILD_TESTS_ONLY)
#############################################################################
# INSTALL
#############################################################################
@@ -33,5 +33,8 @@ cmake \
-DUSE_HOST_SIDE_HDP_FLUSH=OFF \
-DBUILD_LOCAL_GPU_TARGET_ONLY=OFF \
-DBUILD_TESTS_ONLY=ON \
-DBUILD_FUNCTIONAL_TESTS=ON \
-DBUILD_EXAMPLES=ON \
-DBUILD_UNIT_TESTS=OFF \
$src_path
cmake --build . --parallel 8