From 395b9867d1203e889715610258eaec263e160234 Mon Sep 17 00:00:00 2001 From: Wildan M Date: Wed, 31 Dec 2025 16:52:16 +0700 Subject: [PATCH] Limit relibc jobs --- recipes/core/relibc/recipe.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipes/core/relibc/recipe.toml b/recipes/core/relibc/recipe.toml index 04647941..47895258 100644 --- a/recipes/core/relibc/recipe.toml +++ b/recipes/core/relibc/recipe.toml @@ -4,6 +4,9 @@ git = "https://gitlab.redox-os.org/redox-os/relibc.git" [build] template = "custom" script = """ +# obscure crash if jobs number is too much +COOKBOOK_MAKE_JOBS="$(( ${COOKBOOK_MAKE_JOBS} > 8 ? 8 : ${COOKBOOK_MAKE_JOBS} ))" + export CARGO=${CARGO:-env -u CARGO cargo} "${COOKBOOK_MAKE}" \ -C "${COOKBOOK_SOURCE}" \