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