Skip to content
Snippets Groups Projects
Verified Commit 999ce1cd authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Build bash recipe without parallel jobs

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