Skip to content

Commit

Permalink
od: Disable top-level concurrency
Browse files Browse the repository at this point in the history
Building with top-level concurrency is faster, but makes it near
impossible to understand a build failure by looking at the CI or even
when building manually.

Signed-off-by: Paul Cercueil <[email protected]>
  • Loading branch information
pcercuei committed Mar 15, 2024
1 parent 2783ccd commit 9399e91
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 6 deletions.
3 changes: 1 addition & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,8 @@ fi

# Perform the build.
echo "Starting build..."
PARALLELISM=$(getconf _NPROCESSORS_ONLN)
for target in $TARGETS; do
nice ${TOP_MAKE_COMMAND} "$target" BR2_SDK_PREFIX=${CONFIG}-toolchain O=output/${CONFIG} -j $PARALLELISM
nice ${TOP_MAKE_COMMAND} "$target" BR2_SDK_PREFIX=${CONFIG}-toolchain O=output/${CONFIG}
done

if [ "${TARGETS}" = sdk ] ; then
Expand Down
1 change: 0 additions & 1 deletion configs/od_gcw0_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ BR2_CCACHE=y
BR2_CCACHE_DIR="$(TOPDIR)/output/ccache/gcw0"
BR2_OPTIMIZE_2=y
BR2_GLOBAL_PATCH_DIR="$(TOPDIR)/board/opendingux/patches"
BR2_PER_PACKAGE_DIRECTORIES=y
# BR2_PIC_PIE is not set
BR2_RELRO_NONE=y
BR2_ROOTFS_SKELETON_CUSTOM=y
Expand Down
1 change: 0 additions & 1 deletion configs/od_installer_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,3 @@ BR2_TARGET_ROOTFS_INITRAMFS=y
# BR2_TARGET_ROOTFS_TAR is not set
BR2_PACKAGE_HOST_MKPASSWD=y
BR2_PACKAGE_ODBOOTD=y
BR2_PER_PACKAGE_DIRECTORIES=y
1 change: 0 additions & 1 deletion configs/od_lepus_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ BR2_CCACHE=y
BR2_CCACHE_DIR="$(TOPDIR)/output/ccache/lepus"
BR2_OPTIMIZE_2=y
BR2_GLOBAL_PATCH_DIR="$(TOPDIR)/board/opendingux/patches"
BR2_PER_PACKAGE_DIRECTORIES=y
# BR2_PIC_PIE is not set
BR2_SSP_NONE=y
BR2_RELRO_NONE=y
Expand Down
1 change: 0 additions & 1 deletion configs/od_rs90_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ BR2_CCACHE=y
BR2_CCACHE_DIR="$(TOPDIR)/output/ccache/rs90"
BR2_OPTIMIZE_2=y
BR2_GLOBAL_PATCH_DIR="$(TOPDIR)/board/opendingux/patches"
BR2_PER_PACKAGE_DIRECTORIES=y
# BR2_PIC_PIE is not set
BR2_SSP_NONE=y
BR2_RELRO_NONE=y
Expand Down

0 comments on commit 9399e91

Please sign in to comment.