By default will not build test program

このコミットが含まれているのは:
Wenkai Du committed 2019-05-20 18:37:58 +00:00
1 親 c57ab960ff
コミット e517dbed5c
2ファイル変更
+5 -1

検索条件に一致するファイルはありません

+1 -1
ファイルの表示
@@ -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
ファイルの表示
@@ -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