Changeset 33582


Ignore:
Timestamp:
2012-09-28T20:09:41+02:00 (5 years ago)
Author:
nbd
Message:

build: turn on package parallel builds by default and fix descriptions.

By default, this is only used when building with make -j.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.in

    r33497 r33582  
    297297                bool 
    298298                prompt "Compile certain packages parallelized" 
    299                 default n 
     299                default y 
    300300                help 
    301301                  This adds a -jX option to certain packages that are known to 
    302                   behave well for parallel build. 
    303  
    304                   Note that this may overcommit CPU resources depending on the 
     302                  behave well for parallel build. By default the package make processes 
     303                  use the main jobserver, in which case this option only takes effect 
     304                  when you add -jX to the make command. 
     305 
     306                  If you are unsure, select N. 
     307 
     308        config PKG_BUILD_USE_JOBSERVER 
     309                bool 
     310                prompt "Use top-level make jobserver for packages" 
     311                depends on PKG_BUILD_PARALLEL 
     312                default y 
     313                help 
     314                  This passes the main make process jobserver fds to package builds, 
     315                  enabling full parallelization across different packages 
     316 
     317                  Note that disabling this may overcommit CPU resources depending on the 
    305318                  -j level of the main make process, the number of package 
    306319                  submake jobs selected below and the number of actual CPUs present. 
     
    309322                  in the worst case. 
    310323 
    311                   You get maximum build performance, if you set the package build 
    312                   jobs to the number of CPUs (cores) available and also start the main 
    313                   make process with -jX, where X is the number of CPUs (cores). 
    314                   However, make sure you have enough RAM available for 
    315                   NR_CPUS to the power of two (NR_CPUS^2) make jobs. 
    316  
    317                   If you are unsure, select N. 
    318  
    319         config PKG_BUILD_USE_JOBSERVER 
    320                 bool 
    321                 prompt "Use top-level make jobserver for packages" 
    322                 depends on PKG_BUILD_PARALLEL 
    323                 default y 
    324                 help 
    325                   This passes the main make process jobserver fds to package builds, 
    326                   enabling full parallelization across different packages 
    327324 
    328325        config PKG_BUILD_JOBS 
Note: See TracChangeset for help on using the changeset viewer.