Fix: Deps: Fix building dpcpp on many core box
This applies upstream PR 13328 to our copy of dpcpp, which enables building dpcpp on a many core box. I Upgraded my build env and ran into this issue. No rebuilds required, build time fix only.
This commit is contained in:
@@ -108,7 +108,10 @@ ExternalProject_Add(external_dpcpp
|
||||
|
||||
PATCH_COMMAND ${PATCH_CMD} -p 1 -d
|
||||
${BUILD_DIR}/dpcpp/src/external_dpcpp <
|
||||
${PATCH_DIR}/dpcpp.diff
|
||||
${PATCH_DIR}/dpcpp.diff &&
|
||||
${PATCH_CMD} -p 1 -d
|
||||
${BUILD_DIR}/dpcpp/src/external_dpcpp <
|
||||
${PATCH_DIR}/dpcpp_13328.diff
|
||||
|
||||
INSTALL_DIR ${LIBDIR}/dpcpp
|
||||
)
|
||||
|
||||
12
build_files/build_environment/patches/dpcpp_13328.diff
Normal file
12
build_files/build_environment/patches/dpcpp_13328.diff
Normal file
@@ -0,0 +1,12 @@
|
||||
diff --git a/clang/lib/Driver/CMakeLists.txt b/clang/lib/Driver/CMakeLists.txt
|
||||
index bfeb4a763da84..94400f08154a2 100644
|
||||
--- a/clang/lib/Driver/CMakeLists.txt
|
||||
+++ b/clang/lib/Driver/CMakeLists.txt
|
||||
@@ -98,6 +98,7 @@ add_clang_library(clangDriver
|
||||
|
||||
DEPENDS
|
||||
ClangDriverOptions
|
||||
+ DeviceConfigFile
|
||||
|
||||
LINK_LIBS
|
||||
clangBasic
|
||||
Reference in New Issue
Block a user