Verified Commit 999ce1cd authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Build bash recipe without parallel jobs

parent 6e25f348
......@@ -17,5 +17,6 @@ COOKBOOK_CONFIGURE_FLAGS+=(
--disable-readline
bash_cv_getenv_redef=no
)
COOKBOOK_MAKE_JOBS=1 # workaround for parallel make bugs
cookbook_configure
"""
......@@ -479,9 +479,10 @@ COOKBOOK_CONFIGURE_FLAGS=(
--enable-static
)
COOKBOOK_MAKE="make"
COOKBOOK_MAKE_JOBS="$(nproc)"
function cookbook_configure {
"${COOKBOOK_CONFIGURE}" "${COOKBOOK_CONFIGURE_FLAGS[@]}"
"${COOKBOOK_MAKE}" -j "$(nproc)"
"${COOKBOOK_MAKE}" -j "${COOKBOOK_MAKE_JOBS}"
"${COOKBOOK_MAKE}" install DESTDIR="${COOKBOOK_STAGE}"
}
"#;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment