mirror of
https://github.com/ziglang/zig.git
synced 2025-12-20 13:13:16 +00:00
Allocate enough memory when building zig2
This commit is contained in:
parent
4e6518badb
commit
9356cb1475
@ -970,6 +970,10 @@ if(NOT "${ZIG_TARGET_DYNAMIC_LINKER}" STREQUAL "")
|
|||||||
list(APPEND ZIG_BUILD_ARGS "-Ddynamic-linker=${ZIG_TARGET_DYNAMIC_LINKER}")
|
list(APPEND ZIG_BUILD_ARGS "-Ddynamic-linker=${ZIG_TARGET_DYNAMIC_LINKER}")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(MINGW AND "${ZIG_HOST_TARGET_ARCH}" STREQUAL "x86")
|
||||||
|
list(APPEND ZIG_BUILD_ARGS --maxrss 7000000000)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
||||||
add_custom_target(stage3 ALL
|
add_custom_target(stage3 ALL
|
||||||
DEPENDS "${PROJECT_BINARY_DIR}/stage3/bin/zig"
|
DEPENDS "${PROJECT_BINARY_DIR}/stage3/bin/zig"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user