diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-09-15 10:21:24 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-09-15 10:21:24 +0000 |
commit | be6f4376498d15b3465027bd78de3a878a862023 (patch) | |
tree | 1d3d8209907a82535a97acb7ae0efbc75b870112 /Config.in | |
parent | ed14ffc7da8f2e544c3af0c943e651510cf8341d (diff) | |
download | upstream-be6f4376498d15b3465027bd78de3a878a862023.tar.gz upstream-be6f4376498d15b3465027bd78de3a878a862023.tar.bz2 upstream-be6f4376498d15b3465027bd78de3a878a862023.zip |
build: add a config option for passing the top-level make jobserver to packages that have parallel build enabled, significantly improves parallelization and gets rid of CPU overcommit during intra-package parallel builds
SVN-Revision: 33414
Diffstat (limited to 'Config.in')
-rw-r--r-- | Config.in | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -311,12 +311,21 @@ menu "Global build settings" If you are unsure, select N. + config PKG_BUILD_USE_JOBSERVER + bool + prompt "Use top-level make jobserver for packages" + depends on PKG_BUILD_PARALLEL + default y + help + This passes the main make process jobserver fds to package builds, + enabling full parallelization across different packages + config PKG_BUILD_JOBS int prompt "Number of package submake jobs (2-512)" range 2 512 default 2 - depends on PKG_BUILD_PARALLEL + depends on PKG_BUILD_PARALLEL && !PKG_BUILD_USE_JOBSERVER help The number of jobs (-jX) to pass to packages submake. |