Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey@blender.org>2022-06-23 17:32:42 +0300
committerSergey Sharybin <sergey@blender.org>2022-06-23 17:35:07 +0300
commite59b8c14a0cc82d370b9d102ce94b818e42ad397 (patch)
tree48d8c2dee59fdd259f6c7e7b4ab18875af0932d0 /build_files
parent751dde236b946d01f5ae046cb1e24f9309a86b3f (diff)
Build Deps: Only install SYCL related part of DPC++
Saves a lot of space, and we don't need the omitted parts anyway.
Diffstat (limited to 'build_files')
-rw-r--r--build_files/build_environment/cmake/dpcpp.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/build_files/build_environment/cmake/dpcpp.cmake b/build_files/build_environment/cmake/dpcpp.cmake
index 586bef16b13..1c7dd4c7c1c 100644
--- a/build_files/build_environment/cmake/dpcpp.cmake
+++ b/build_files/build_environment/cmake/dpcpp.cmake
@@ -80,6 +80,7 @@ ExternalProject_Add(external_dpcpp
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${LIBDIR}/dpcpp ${DEFAULT_CMAKE_FLAGS} ${DPCPP_EXTRA_ARGS}
#CONFIGURE_COMMAND ${PYTHON_BINARY} ${BUILD_DIR}/dpcpp/src/external_dpcpp/buildbot/configure.py ${DPCPP_CONFIGURE_ARGS}
#BUILD_COMMAND echo "." #${PYTHON_BINARY} ${BUILD_DIR}/dpcpp/src/external_dpcpp/buildbot/compile.py
+ INSTALL_COMMAND ${CMAKE_COMMAND} --build . -- deploy-sycl-toolchain
PATCH_COMMAND ${PATCH_CMD} -p 1 -d ${BUILD_DIR}/dpcpp/src/external_dpcpp < ${PATCH_DIR}/dpcpp.diff
INSTALL_DIR ${LIBDIR}/dpcpp
)