Fixing install.sh to properly accept spaces in ONLY_FUNCS (#1339)
这个提交包含在:
+2
-2
@@ -388,7 +388,7 @@ else
|
||||
fi
|
||||
|
||||
# Add common CMake options
|
||||
cmake_common_options="${cmake_common_options} -DROCM_PATH=${ROCM_PATH} -DONLY_FUNCS=${ONLY_FUNCS} ${enable_ninja}"
|
||||
cmake_common_options="${cmake_common_options} -DROCM_PATH=${ROCM_PATH} ${enable_ninja}"
|
||||
|
||||
# Build RCCL-UnitTests, if enabled
|
||||
if [[ "${build_tests}" == true ]] || ([[ "${run_tests}" == true ]] && [[ ! -x ./test/rccl-UnitTests ]]); then
|
||||
@@ -398,7 +398,7 @@ fi
|
||||
# Initiate RCCL CMake
|
||||
# Passing NPKIT_FLAGS separately (not as part of ${cmake_common_options}) as
|
||||
# ${npkit_options} need to be passed "as-is" i.e. with `-D` to CMakeLists.txt
|
||||
${cmake_executable} ${cmake_common_options} -DNPKIT_FLAGS="${npkit_options}" ../../.
|
||||
${cmake_executable} ${cmake_common_options} -DNPKIT_FLAGS="${npkit_options}" -DONLY_FUNCS="${ONLY_FUNCS}" ../../.
|
||||
check_exit_code "$?"
|
||||
|
||||
# Enable verbose output from Makefile
|
||||
|
||||
在新工单中引用
屏蔽一个用户