aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Labastie <pierre.labastie@neuf.fr>2023-11-21 10:40:52 +0100
committerPierre Labastie <pierre.labastie@neuf.fr>2023-11-21 10:40:52 +0100
commit10756d05d74b1faaa1609487c0aa77fc2a4253e5 (patch)
treeb3dbc187884dcab887aa0a0e765f455aa5bd59c2
parent9440e4ac6134b1407f7aab045ce956480aac9070 (diff)
Move the parallelism menu to "Build Settings"
Now that parallelism has been included into the book, this is no more an advanced configuration...
-rw-r--r--Config.in102
1 files changed, 51 insertions, 51 deletions
diff --git a/Config.in b/Config.in
index 1a36cb5779..e15ce8794d 100644
--- a/Config.in
+++ b/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"