By default will not build test program
Este cometimento está contido em:
1 ascendente
c57ab960ff
cometimento
e517dbed5c
2 ficheiros modificados
+5
-1
Não existem ficheiros que correspondam à sua pesquisa
+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
|
||||
|
||||
@@ -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
|
||||
|
||||
Criar uma nova questão referindo esta
Bloquear um utilizador