Skip to content

Commit 9fe166c

Browse files
authored
[SWDEV-534546] Disable building tests in default build (#141)
1 parent 8a266e6 commit 9fe166c

File tree

5 files changed

+10
-2
lines changed

5 files changed

+10
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ option(USE_SHARED_CTX "Request support for shared ctx between WG" OFF)
5656
option(USE_SINGLE_NODE "Enable single node support only." OFF)
5757
option(USE_HOST_SIDE_HDP_FLUSH "Use a polling thread to flush the HDP cache on the host." OFF)
5858

59-
option(BUILD_FUNCTIONAL_TESTS "Build the functional tests" ON)
59+
option(BUILD_FUNCTIONAL_TESTS "Build the functional tests" OFF)
6060
option(BUILD_EXAMPLES "Build the examples" ON)
61-
option(BUILD_UNIT_TESTS "Build the unit tests" ON)
61+
option(BUILD_UNIT_TESTS "Build the unit tests" OFF)
6262
option(BUILD_TESTS_ONLY "Build only tests. Used to link agains rocSHMEM in a ROCm Release" OFF)
6363

6464
option(BUILD_LOCAL_GPU_TARGET_ONLY "Build only for GPUs detected on this machine" OFF)

scripts/build_configs/ipc_single

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ cmake \
5151
-DUSE_SINGLE_NODE=ON \
5252
-DUSE_HOST_SIDE_HDP_FLUSH=OFF \
5353
-DBUILD_LOCAL_GPU_TARGET_ONLY=OFF \
54+
-DBUILD_FUNCTIONAL_TESTS=ON \
55+
-DBUILD_UNIT_TESTS=ON \
5456
$src_path
5557
cmake --build . --parallel 8
5658
cmake --install .

scripts/build_configs/ro_ipc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ cmake \
5050
-DUSE_HOST_SIDE_HDP_FLUSH=OFF\
5151
-DUSE_MANAGED_HEAP=OFF \
5252
-DUSE_RO=ON \
53+
-DBUILD_FUNCTIONAL_TESTS=ON \
54+
-DBUILD_UNIT_TESTS=ON \
5355
$src_path
5456
cmake --build . --parallel 8
5557
cmake --install .

scripts/build_configs/ro_net

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ cmake \
5050
-DUSE_HOST_SIDE_HDP_FLUSH=OFF\
5151
-DUSE_MANAGED_HEAP=OFF \
5252
-DUSE_RO=ON \
53+
-DBUILD_FUNCTIONAL_TESTS=ON \
54+
-DBUILD_UNIT_TESTS=ON \
5355
$src_path
5456
cmake --build . --parallel 8
5557
cmake --install .

scripts/build_configs/ro_net_debug

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ cmake \
4848
-DUSE_HOST_SIDE_HDP_FLUSH=OFF\
4949
-DUSE_MANAGED_HEAP=OFF \
5050
-DUSE_RO=ON \
51+
-DBUILD_FUNCTIONAL_TESTS=ON \
52+
-DBUILD_UNIT_TESTS=ON \
5153
$src_path
5254
cmake --build . --parallel 8
5355
cmake --install .

0 commit comments

Comments
 (0)