Confg.in: fix help for ALL_CORES

The settings don't depend on book version, and you can answer y even
with old books.
This commit is contained in:
Pierre Labastie 2023-11-21 11:51:29 +01:00
parent 10756d05d7
commit 6ffc37b902

View file

@ -453,15 +453,20 @@ depends on !BOOK_BLFS
menu "Parallelism settings" menu "Parallelism settings"
if HAVE_NPROC if HAVE_NPROC
config ALL_CORES config ALL_CORES
bool "Use all cores as in new books (say n for old books)" bool "Use all cores"
default y default y
help help
Use book instructions as written for parallelism since version If you answer y, MAKEFLAGS will be set to "-j$(nproc)" at the
r12.0-87 included. If you answer no, then jhalfs will fall back beginning of each package script, and book instructions will not
to a static number of cores, defined below. If you answer y, and be changed otherwise. This will run the scripts with the same
your system supports it, you'll be asked for a cpu set to use. settings as in the book since version r12.0-87 included. Before
There is no detection of book version. If the book version that version, this will run the builds with all cores, but some
is lower than r12.0-87, say no! test suites may still be run sequentially. You'll be asked for
a CPU set to use, so that the number of jobs can still be limited
in this way (useful for measuring SBU values at -j4, for
example).
If you answer n, then jhalfs will fall back to a static number
of cores, defined below.
if ALL_CORES && HAVE_CGROUP if ALL_CORES && HAVE_CGROUP
config CPUSET config CPUSET