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:
Eric Joldasov
2023-12-12 20:35:44 +06:00
committed by Florian Schmaus
parent 05a44653f0
commit ff13cba4ed

View File

@@ -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