[SWDEV-534546] Disable building tests in default build (#141)

[ROCm/rocshmem commit: 9fe166c8e1]
This commit is contained in:
Yiltan
2025-05-26 16:50:22 -04:00
committato da GitHub
parent 8fbb892cc1
commit 92bb6aeaaa
5 ha cambiato i file con 10 aggiunte e 2 eliminazioni
+2 -2
Vedi File
@@ -56,9 +56,9 @@ option(USE_SHARED_CTX "Request support for shared ctx between WG" OFF)
option(USE_SINGLE_NODE "Enable single node support only." OFF)
option(USE_HOST_SIDE_HDP_FLUSH "Use a polling thread to flush the HDP cache on the host." OFF)
option(BUILD_FUNCTIONAL_TESTS "Build the functional tests" ON)
option(BUILD_FUNCTIONAL_TESTS "Build the functional tests" OFF)
option(BUILD_EXAMPLES "Build the examples" ON)
option(BUILD_UNIT_TESTS "Build the unit tests" ON)
option(BUILD_UNIT_TESTS "Build the unit tests" OFF)
option(BUILD_TESTS_ONLY "Build only tests. Used to link agains rocSHMEM in a ROCm Release" OFF)
option(BUILD_LOCAL_GPU_TARGET_ONLY "Build only for GPUs detected on this machine" OFF)
@@ -51,6 +51,8 @@ cmake \
-DUSE_SINGLE_NODE=ON \
-DUSE_HOST_SIDE_HDP_FLUSH=OFF \
-DBUILD_LOCAL_GPU_TARGET_ONLY=OFF \
-DBUILD_FUNCTIONAL_TESTS=ON \
-DBUILD_UNIT_TESTS=ON \
$src_path
cmake --build . --parallel 8
cmake --install .
@@ -50,6 +50,8 @@ cmake \
-DUSE_HOST_SIDE_HDP_FLUSH=OFF\
-DUSE_MANAGED_HEAP=OFF \
-DUSE_RO=ON \
-DBUILD_FUNCTIONAL_TESTS=ON \
-DBUILD_UNIT_TESTS=ON \
$src_path
cmake --build . --parallel 8
cmake --install .
@@ -50,6 +50,8 @@ cmake \
-DUSE_HOST_SIDE_HDP_FLUSH=OFF\
-DUSE_MANAGED_HEAP=OFF \
-DUSE_RO=ON \
-DBUILD_FUNCTIONAL_TESTS=ON \
-DBUILD_UNIT_TESTS=ON \
$src_path
cmake --build . --parallel 8
cmake --install .
@@ -48,6 +48,8 @@ cmake \
-DUSE_HOST_SIDE_HDP_FLUSH=OFF\
-DUSE_MANAGED_HEAP=OFF \
-DUSE_RO=ON \
-DBUILD_FUNCTIONAL_TESTS=ON \
-DBUILD_UNIT_TESTS=ON \
$src_path
cmake --build . --parallel 8
cmake --install .