mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Set stack-size to 16MB for darwin clang.
By default Apple's clang defines a stack size of 8MB, some tests require more.
This commit is contained in:
parent
5437457f46
commit
d9c51f9ca1
@ -94,6 +94,11 @@ if (("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU") OR ("${CMAKE_CXX_COMPILER_ID}" MA
|
||||
add_compile_options(-Wno-unused-function)
|
||||
add_compile_options(-Wno-dangling-else)
|
||||
|
||||
if ("${CMAKE_SYSTEM_NAME}" MATCHES "Darwin")
|
||||
# Set stack size to 16MB - by default Apple's clang defines a stack size of 8MB, some tests require more.
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-stack_size -Wl,0x1000000")
|
||||
endif()
|
||||
|
||||
# Some Linux-specific Clang settings. We don't want these for OS X.
|
||||
if ("${CMAKE_SYSTEM_NAME}" MATCHES "Linux")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user