File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -543,7 +543,8 @@ if(build_runtimes)
543543 CMAKE_ARGS -DBUILD_SHARED_LIBS=ON
544544 -DCMAKE_PREFIX_PATH=${CMAKE_BINARY_DIR} /lib/cmake
545545 -DIMAGE_SUPPORT=OFF
546- -DLLVM_RUNTIME_OPENMP=ON )
546+ -DLLVM_RUNTIME_OPENMP=ON
547+ ${extra_cmake_args} )
547548 set (HSA_DEP rocr-runtime)
548549 endif ()
549550
@@ -559,15 +560,17 @@ if(build_runtimes)
559560 CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${ROCM_DEVICE_LIBS_INSTALL_PREFIX_PATH}
560561 -DCMAKE_PREFIX_PATH=${CMAKE_BINARY_DIR} /lib/cmake
561562 -DROCM_DEVICE_LIBS_BITCODE_INSTALL_LOC_NEW=${ROCM_DEVICE_LIBS_BITCODE_INSTALL_LOC}
562- -DROCM_DEVICE_LIBS_BITCODE_INSTALL_LOC_OLD=amdgcn)
563+ -DROCM_DEVICE_LIBS_BITCODE_INSTALL_LOC_OLD=amdgcn
564+ ${extra_cmake_args} )
563565 else ()
564566 ExternalProject_Add(rocm-device-libs
565567 SOURCE_DIR ${LIBOMPTARGET_EXTERNAL_PROJECT_ROCM_DEVICE_LIBS_PATH}
566568 DEPENDS clang llvm-link lld opt llvm-objcopy
567569 INSTALL_COMMAND ""
568570 CMAKE_ARGS -DCMAKE_PREFIX_PATH=${CMAKE_BINARY_DIR} /lib/cmake
569571 -DROCM_DEVICE_LIBS_BITCODE_INSTALL_LOC_NEW=${ROCM_DEVICE_LIBS_BITCODE_INSTALL_LOC}
570- -DROCM_DEVICE_LIBS_BITCODE_INSTALL_LOC_OLD=amdgcn)
572+ -DROCM_DEVICE_LIBS_BITCODE_INSTALL_LOC_OLD=amdgcn
573+ ${extra_cmake_args} )
571574 endif ()
572575 endif ()
573576
You can’t perform that action at this time.
0 commit comments