By default will not build test program

[ROCm/rccl commit: e517dbed5c]
This commit is contained in:
Wenkai Du
2019-05-20 16:51:14 +00:00
parent 2215ef431d
commit d42406be17
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ include(ROCMSetupVersion)
include(ROCMInstallSymlinks)
include(ROCMCreatePackage)
option(BUILD_TESTS "Build test programs" ON)
option(BUILD_TESTS "Build test programs" OFF)
# In order to support function calls within the kernel, we must use hcc as the
# compiler
+4
View File
@@ -60,7 +60,11 @@ while true; do
rm -rf build
mkdir build
cd build
if ($run_tests); then
CXX=$ROCM_PATH/hcc cmake -DBUILD_TESTS=ON -DCMAKE_INSTALL_PREFIX=$RCCL_INSTALL ..
else
CXX=$ROCM_PATH/hcc cmake -DCMAKE_INSTALL_PREFIX=$RCCL_INSTALL ..
fi
make -j 8 install
if ($run_tests); then