[Bf-blender-cvs] [7e25ad60517] cycles_embree: Set thread stack size on macOS to 1MB for Embree builds.

Stefan Werner noreply at git.blender.org
Thu Aug 2 16:04:24 CEST 2018


Commit: 7e25ad60517bb0e526fb19cf691c01bb3a6d2c5c
Author: Stefan Werner
Date:   Thu Aug 2 16:04:21 2018 +0200
Branches: cycles_embree
https://developer.blender.org/rB7e25ad60517bb0e526fb19cf691c01bb3a6d2c5c

Set thread stack size on macOS to 1MB for Embree builds.

===================================================================

M	build_files/cmake/platform/platform_apple.cmake

===================================================================

diff --git a/build_files/cmake/platform/platform_apple.cmake b/build_files/cmake/platform/platform_apple.cmake
index 020d775470e..234e66a8b96 100644
--- a/build_files/cmake/platform/platform_apple.cmake
+++ b/build_files/cmake/platform/platform_apple.cmake
@@ -386,6 +386,7 @@ endif()
 
 if(WITH_CYCLES_EMBREE)
 	find_package(embree 3.2 REQUIRED)
+	set(PLATFORM_LINKFLAGS "${PLATFORM_LINKFLAGS} -Xlinker -stack_size -Xlinker 0x100000")
 endif()
 
 if(WITH_OPENMP)



More information about the Bf-blender-cvs mailing list