mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
dev-lang/zig: remove ".max_rss" fields initializers from build.zig in 9999
They are too high and cause errors like below: * https://www.github.com/ziglang/zig/issues/18263 Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> Closes: https://github.com/gentoo/gentoo/pull/34252 Signed-off-by: Florian Schmaus <flow@gentoo.org>
This commit is contained in:
committed by
Florian Schmaus
parent
05a44653f0
commit
ff13cba4ed
@@ -148,6 +148,11 @@ src_configure() {
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Remove "limit memory usage" flags, it's already verified by
|
||||
# CHECKREQS_MEMORY and causes unneccessary errors. Upstream set them
|
||||
# according to CI OOM failures, which are higher than during Gentoo build.
|
||||
sed -i -e '/\.max_rss = .*,/d' build.zig || die
|
||||
|
||||
if ! use llvm; then
|
||||
$(tc-getCC) -o bootstrap bootstrap.c || die "Zig's bootstrap.c compilation failed"
|
||||
edob ./bootstrap
|
||||
|
||||
Reference in New Issue
Block a user