redox/recipes/core/relibc/recipe.toml
Connor-GH 9d0e4f690a relibc: remove outdated workaround for cookbook jobs
Per willnode's words:
"I think it was a workaround that later discovered that it was actually nproc limits from podman. that can be removed now."
2026-03-30 17:02:29 -05:00

23 lines
520 B
TOML

[source]
git = "https://gitlab.redox-os.org/redox-os/relibc.git"
[build]
template = "custom"
script = """
# rustup workaround https://github.com/rust-lang/rustup/issues/988
if [ "${COOKBOOK_HOST_SYSROOT}" = "/usr" ]; then
if command -v rustup >/dev/null 2>&1; then
pushd ${COOKBOOK_SOURCE}
${RUSTUP:-rustup} install
popd
fi
fi
export CARGO=${CARGO:-env -u CARGO cargo}
"${COOKBOOK_MAKE}" \
-C "${COOKBOOK_SOURCE}" \
-j"${COOKBOOK_MAKE_JOBS}" \
DESTDIR="${COOKBOOK_STAGE}/usr" \
install
"""