Merge remote-tracking branch 'rccl/develop' into 2.8.3
This commit is contained in:
+4
-5
@@ -23,9 +23,8 @@ function display_help()
|
||||
# #################################################
|
||||
# global variables
|
||||
# #################################################
|
||||
default_path=/opt/rocm
|
||||
build_package=false
|
||||
install_prefix=$default_path
|
||||
ROCM_PATH=${ROCM_PATH:="/opt/rocm"}
|
||||
build_tests=false
|
||||
run_tests=false
|
||||
run_tests_all=false
|
||||
@@ -103,7 +102,7 @@ while true; do
|
||||
esac
|
||||
done
|
||||
|
||||
rocm_path=/opt/rocm/bin
|
||||
ROCM_BIN_PATH=$ROCM_PATH/bin
|
||||
|
||||
# /etc/*-release files describe the system
|
||||
if [[ -e "/etc/os-release" ]]; then
|
||||
@@ -177,9 +176,9 @@ fi
|
||||
check_exit_code "$?"
|
||||
|
||||
if ($build_tests) || (($run_tests) && [[ ! -f ./test/UnitTests ]]); then
|
||||
CXX=$rocm_path/$compiler $cmake_executable $cmake_common_options -DBUILD_TESTS=ON -DCMAKE_INSTALL_PREFIX=$install_prefix ../../.
|
||||
CXX=$ROCM_BIN_PATH/$compiler $cmake_executable $cmake_common_options -DBUILD_TESTS=ON -DCMAKE_INSTALL_PREFIX=$ROCM_PATH ../../.
|
||||
else
|
||||
CXX=$rocm_path/$compiler $cmake_executable $cmake_common_options -DBUILD_TESTS=OFF -DCMAKE_INSTALL_PREFIX=$install_prefix ../../.
|
||||
CXX=$ROCM_BIN_PATH/$compiler $cmake_executable $cmake_common_options -DBUILD_TESTS=OFF -DCMAKE_INSTALL_PREFIX=$ROCM_PATH ../../.
|
||||
fi
|
||||
check_exit_code "$?"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user