Windows: Disable TBB_MALLOC_PROXY on ARM64
Currently, every time blender starts on one of these platforms, we get the following warning (doesn't affect how it runs, all tests pass anyway): ``` TBBmalloc: skip allocation functions replacement in ucrtbase.dll: unknown prologue for function free ``` This is due to TBB_MALLOC_PROXY not working on these platforms (happens with emulated x64 too). I suspect it is fixed in the newer oneTBB releases that have proper support for Windows on Arm, rather than the patch I made to enable 2020u3. This can be revisited once the TBB version is updated. Pull Request: https://projects.blender.org/blender/blender/pulls/124148
This commit is contained in:
parent
af089bee98
commit
08d3c247c8
@ -794,7 +794,7 @@ Enable multi-threading. TBB is also required for features such as Cycles, OpenVD
|
||||
)
|
||||
|
||||
# TBB malloc is only supported on for windows currently
|
||||
if(WIN32)
|
||||
if(WIN32 AND NOT CMAKE_SYSTEM_PROCESSOR STREQUAL "ARM64")
|
||||
option(WITH_TBB_MALLOC_PROXY "Enable the TBB malloc replacement" ON)
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user