Bug fix for PR43 (#54)
This commit is contained in:
+11
-9
@@ -111,15 +111,6 @@ include(ROCMCheckTargetIds)
|
|||||||
rocm_setup_version(VERSION 2.0.0)
|
rocm_setup_version(VERSION 2.0.0)
|
||||||
project(rocshmem VERSION 2.0.0 LANGUAGES CXX)
|
project(rocshmem VERSION 2.0.0 LANGUAGES CXX)
|
||||||
|
|
||||||
###############################################################################
|
|
||||||
# TEST SUBDIRECTORIES
|
|
||||||
###############################################################################
|
|
||||||
add_subdirectory(tests)
|
|
||||||
|
|
||||||
if (BUILD_EXAMPLES)
|
|
||||||
add_subdirectory(examples)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# CREATE ROCSHMEM LIBRARY
|
# CREATE ROCSHMEM LIBRARY
|
||||||
###############################################################################
|
###############################################################################
|
||||||
@@ -211,7 +202,18 @@ if (NOT BUILD_TESTS_ONLY)
|
|||||||
${IBVERBS_LIBRARIES}
|
${IBVERBS_LIBRARIES}
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# TEST SUBDIRECTORIES
|
||||||
|
###############################################################################
|
||||||
|
add_subdirectory(tests)
|
||||||
|
|
||||||
|
if (BUILD_EXAMPLES)
|
||||||
|
add_subdirectory(examples)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if (NOT BUILD_TESTS_ONLY)
|
||||||
#############################################################################
|
#############################################################################
|
||||||
# INSTALL
|
# INSTALL
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|||||||
@@ -33,5 +33,8 @@ cmake \
|
|||||||
-DUSE_HOST_SIDE_HDP_FLUSH=OFF \
|
-DUSE_HOST_SIDE_HDP_FLUSH=OFF \
|
||||||
-DBUILD_LOCAL_GPU_TARGET_ONLY=OFF \
|
-DBUILD_LOCAL_GPU_TARGET_ONLY=OFF \
|
||||||
-DBUILD_TESTS_ONLY=ON \
|
-DBUILD_TESTS_ONLY=ON \
|
||||||
|
-DBUILD_FUNCTIONAL_TESTS=ON \
|
||||||
|
-DBUILD_EXAMPLES=ON \
|
||||||
|
-DBUILD_UNIT_TESTS=OFF \
|
||||||
$src_path
|
$src_path
|
||||||
cmake --build . --parallel 8
|
cmake --build . --parallel 8
|
||||||
|
|||||||
Reference in New Issue
Block a user