Re-enable multicore make
This commit is contained in:
@@ -13,9 +13,9 @@ Build and deploy OpenWRT images using shell-style device profiles, via source co
|
|||||||
--release,-r,--version,-v RELEASE ("snapshot", "22.03.3")
|
--release,-r,--version,-v RELEASE ("snapshot", "22.03.3")
|
||||||
--buildroot,-b PATH (Default: script directory)
|
--buildroot,-b PATH (Default: script directory)
|
||||||
--source
|
--source
|
||||||
Build image from source code, not from Image Builder
|
Build image from source code, not from Image Builder.
|
||||||
Allows make config options to be passed in profile
|
Allows make config options to be passed in profile.
|
||||||
Uses git worktree for multi-profile deduplication
|
Uses git worktree for multi-profile deduplication.
|
||||||
--ssh-upgrade HOST
|
--ssh-upgrade HOST
|
||||||
Example: root@192.168.1.1
|
Example: root@192.168.1.1
|
||||||
--ssh-backup SSH_PATH
|
--ssh-backup SSH_PATH
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
# Build and deploy OpenWRT images using shell-style device profiles, via source code or the official Image Builder.
|
# Build and deploy OpenWRT images using shell-style device profiles, via source code or the official Image Builder.
|
||||||
# Copyright 2022-25 Bryan C. Roessler
|
# Copyright 2022-25 Bryan C. Roessler
|
||||||
# Apache 2.0 License
|
# Apache 2.0 License
|
||||||
# See README and profiles for device configuration
|
# See README and ./profiles for device configuration
|
||||||
|
|
||||||
# Set default release
|
# Set default release
|
||||||
: "${RELEASE:="24.10.2"}"
|
: "${RELEASE:="24.10.2"}"
|
||||||
@@ -637,8 +637,8 @@ from_source() {
|
|||||||
|
|
||||||
execute bash -c "yes '' | make ${make_opts[*]} -j1 oldconfig"
|
execute bash -c "yes '' | make ${make_opts[*]} -j1 oldconfig"
|
||||||
|
|
||||||
# make_opts+=("-j$(($(nproc)-2))")
|
make_opts+=("-j$(($(nproc)-2))")
|
||||||
((DEBUG)) && make_opts+=("-j1") || make_opts+=("-j$(($(nproc)-2))")
|
#((DEBUG)) && make_opts+=("-j1") || make_opts+=("-j$(($(nproc)-2))")
|
||||||
|
|
||||||
# Make image
|
# Make image
|
||||||
if ! execute ionice -c 3 chrt --idle 0 nice -n19 make "${make_opts[@]}" download world; then
|
if ! execute ionice -c 3 chrt --idle 0 nice -n19 make "${make_opts[@]}" download world; then
|
||||||
|
|||||||
4
profiles
4
profiles
@@ -6,10 +6,10 @@
|
|||||||
default_packages=(nano htop diffutils tar iperf3 zsh rsync curl
|
default_packages=(nano htop diffutils tar iperf3 zsh rsync curl
|
||||||
openssh-sftp-server luci luci-ssl luci-proto-wireguard luci-app-statistics
|
openssh-sftp-server luci luci-ssl luci-proto-wireguard luci-app-statistics
|
||||||
collectd-mod-sensors collectd-mod-thermal collectd-mod-conntrack collectd-mod-cpu
|
collectd-mod-sensors collectd-mod-thermal collectd-mod-conntrack collectd-mod-cpu
|
||||||
-libpfring) # unmaintained and causes compilation issues 8/11/25
|
-libpfring -kmod-pf-ring) # unmaintained and causes compilation issues 8/11/25
|
||||||
|
|
||||||
# Default (but optional) kernel configs
|
# Default (but optional) kernel configs
|
||||||
default_configs=("CONFIG_BUILDBOT=n")
|
default_configs=("CONFIG_BUILDBOT=n" "CONFIG_PACKAGE_kmod-pf-ring=n")
|
||||||
|
|
||||||
# Current devices
|
# Current devices
|
||||||
declare -Ag r4s=(
|
declare -Ag r4s=(
|
||||||
|
|||||||
Reference in New Issue
Block a user