mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-07 13:06:59 +02:00
fix(scripts): Add --load-average to MAKEOPTS
Already did this for catalyst builds but might as well do it for all. With this competing builds on the same host should be a little friendlier to each other.
This commit is contained in:
parent
4bc1c512b1
commit
09203453dd
@ -87,7 +87,8 @@ _create_host_setup() {
|
||||
_make_conf_fetchcommand "$fetchtype"
|
||||
_make_conf_private "$fetchtype"
|
||||
_make_conf_prebuilt
|
||||
echo 'MAKEOPTS="-j'${NUM_JOBS}'"' ) | sudo_clobber "$host_setup"
|
||||
echo "MAKEOPTS='--jobs=${NUM_JOBS} --load-average=${NUM_JOBS}'"
|
||||
) | sudo_clobber "$host_setup"
|
||||
sudo chmod 644 "$host_setup"
|
||||
}
|
||||
|
||||
|
@ -300,7 +300,7 @@ sudo_clobber "${BOARD_SETUP}" <<EOF
|
||||
CHOST="${FLAGS_toolchain}"
|
||||
ROOT="${BOARD_ROOT}/"
|
||||
BOARD_OVERLAY="${BOARD_OVERLAY_LIST}"
|
||||
MAKEOPTS="-j${NUM_JOBS}"
|
||||
MAKEOPTS="--jobs=${NUM_JOBS} --load-average=${NUM_JOBS}"
|
||||
PKG_CONFIG="pkg-config-${BOARD_VARIANT}"
|
||||
BOARD_USE="${BOARD_VARIANT}"
|
||||
${SAVED_VERSION}
|
||||
|
Loading…
Reference in New Issue
Block a user