From 575afee5deaca6c39c5d8b6ce4477de86213b909 Mon Sep 17 00:00:00 2001 From: gilbertlee-amd <44450918+gilbertlee-amd@users.noreply.github.com> Date: Wed, 18 Sep 2024 17:25:36 -0600 Subject: [PATCH] Fixing install.sh to properly accept spaces in ONLY_FUNCS (#1339) --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 8062e7bcb0..892f2bbee6 100755 --- a/install.sh +++ b/install.sh @@ -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