Move the parallelism menu to "Build Settings"
Now that parallelism has been included into the book, this is no more an advanced configuration...
This commit is contained in:
parent
9440e4ac61
commit
10756d05d7
1 changed files with 51 additions and 51 deletions
102
Config.in
102
Config.in
|
@ -449,6 +449,57 @@ endmenu
|
|||
menu "Build Settings"
|
||||
depends on !BOOK_BLFS
|
||||
|
||||
#--- Parallelism
|
||||
menu "Parallelism settings"
|
||||
if HAVE_NPROC
|
||||
config ALL_CORES
|
||||
bool "Use all cores as in new books (say n for old books)"
|
||||
default y
|
||||
help
|
||||
Use book instructions as written for parallelism since version
|
||||
r12.0-87 included. If you answer no, then jhalfs will fall back
|
||||
to a static number of cores, defined below. If you answer y, and
|
||||
your system supports it, you'll be asked for a cpu set to use.
|
||||
There is no detection of book version. If the book version
|
||||
is lower than r12.0-87, say no!
|
||||
|
||||
if ALL_CORES && HAVE_CGROUP
|
||||
config CPUSET
|
||||
string "set of cpus to use, or 'all' for all cpus"
|
||||
default "all"
|
||||
help
|
||||
See "List format" in cpuset(7). Choosing cpus depend
|
||||
on the topology of your processors. Sometimes two
|
||||
hyperthreads on the same core are numbered consecutively.
|
||||
For example for using all cores and no hyperthreading on
|
||||
a Haswell, use "0,2,4,6". Other brands may have a different
|
||||
topology, and may require e.g. "0-3" to use the first 4 cores.
|
||||
If not sure, keep the default.
|
||||
endif
|
||||
|
||||
endif # HAVE_NPROC
|
||||
if !HAVE_NPROC
|
||||
config ALL_CORES
|
||||
bool
|
||||
default n
|
||||
endif
|
||||
|
||||
config N_PARALLEL
|
||||
int "Number of parallel `make' jobs"
|
||||
depends on !ALL_CORES
|
||||
default 1
|
||||
help
|
||||
#-- The usual recommandation is (number of CPU cores)+1
|
||||
# Do not set for meaningful SBU calculations.
|
||||
|
||||
config REALSBU
|
||||
bool "Build Binutils pass1 without parallelism (Real SBU)"
|
||||
default n
|
||||
help
|
||||
#-- Use -j1 in make invokation for Binutils pass1 to
|
||||
# get a valid SBU value.
|
||||
endmenu # parallelism
|
||||
|
||||
#--- Test Suites
|
||||
config CONFIG_TESTS
|
||||
bool "Run testsuites"
|
||||
|
@ -758,57 +809,6 @@ endmenu #--- System configuration
|
|||
menu "Advanced Features"
|
||||
depends on !BOOK_BLFS
|
||||
|
||||
#--- Parallelism
|
||||
menu "Parallelism settings"
|
||||
if HAVE_NPROC
|
||||
config ALL_CORES
|
||||
bool "Use all cores as in new books (say n for old books)"
|
||||
default y
|
||||
help
|
||||
Use book instructions as written for parallelism since version
|
||||
r12.0-87 included. If you answer no, then jhalfs will fall back
|
||||
to a static number of cores, defined below. If you answer y, and
|
||||
your system supports it, you'll be asked for a cpu set to use.
|
||||
There is no detection of book version. If the book version
|
||||
is lower than r12.0-87, say no!
|
||||
|
||||
if ALL_CORES && HAVE_CGROUP
|
||||
config CPUSET
|
||||
string "set of cpus to use, or 'all' for all cpus"
|
||||
default "all"
|
||||
help
|
||||
See "List format" in cpuset(7). Choosing cpus depend
|
||||
on the topology of your processors. Sometimes two
|
||||
hyperthreads on the same core are numbered consecutively.
|
||||
For example for using all cores and no hyperthreading on
|
||||
a Haswell, use "0,2,4,6". Other brands may have a different
|
||||
topology, and may require e.g. "0-3" to use the first 4 cores.
|
||||
If not sure, keep the default.
|
||||
endif
|
||||
|
||||
endif # HAVE_NPROC
|
||||
if !HAVE_NPROC
|
||||
config ALL_CORES
|
||||
bool
|
||||
default n
|
||||
endif
|
||||
|
||||
config N_PARALLEL
|
||||
int "Number of parallel `make' jobs"
|
||||
depends on !ALL_CORES
|
||||
default 1
|
||||
help
|
||||
#-- The usual recommandation is (number of CPU cores)+1
|
||||
# Do not set for meaningful SBU calculations.
|
||||
|
||||
config REALSBU
|
||||
bool "Build Binutils pass1 without parallelism (Real SBU)"
|
||||
default n
|
||||
help
|
||||
#-- Use -j1 in make invokation for Binutils pass1 to
|
||||
# get a valid SBU value.
|
||||
endmenu # parallelism
|
||||
|
||||
#--- Optimizations
|
||||
config CONFIG_OPTIMIZE
|
||||
bool "Optimization"
|
||||
|
|
Reference in a new issue