blender/build_files/build_environment/patches/level-zero.diff
Nikita Sirgienko 2dcebbdcec Deps: Upgrade DPC++ to 7.1.0 and update its dependency set
This upgrade of DPC++ and its dependencies is primarily routine
maintenance and preparation for the upcoming OpenImageDenoise
upgrades. Two backports are now obsolete with this release and have
been removed; three new ones are added for known problems. It also
adds Portable Hardware Locality (hwloc) as a new mandatory
dependency: it was previously optional for DPC++ v6.3, but it can no
longer be disabled, so it is now integrated into the build. In
addition, it adds the -Wno-sycl-undefined-func-in-image option, which
silences the "Undefined function ... found in ..." warning emitted at
device link time when the symbol is resolved at runtime.

Pull Request: https://projects.blender.org/blender/blender/pulls/163826
2026-09-15 13:34:55 +02:00

14 lines
545 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 95f2a77..4c0c182 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -172,9 +172,6 @@ if(MSVC)
${CMAKE_CXX_LINKER_WRAPPER_FLAG}/DEBUG \
${CMAKE_CXX_LINKER_WRAPPER_FLAG}/INCREMENTAL:NO")
- # enable CET shadow stack
- set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} ${CMAKE_CXX_LINKER_WRAPPER_FLAG}/CETCOMPAT")
-
#Use of sccache with MSVC requires workaround of replacing /Zi with /Z7
#https://github.com/mozilla/sccache
if(USE_Z7) #sccache