Limit relibc jobs

This commit is contained in:
Wildan M 2025-12-31 16:52:16 +07:00
parent 6eb4618c82
commit 395b9867d1
No known key found for this signature in database
GPG Key ID: 01AC53185C679C79

View File

@ -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}" \