Bug fix for PR43 (#54)
Tento commit je obsažen v:
+11
-9
@@ -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
|
||||
|
||||
Odkázat v novém úkolu
Zablokovat Uživatele