Nimbin[12]?Mirrors & Forks / jhalfs / commits / 10756d0

jhalfs git · trunk

jhalfs LFS build automation (mirror)

lfs mirror bash · first commit 2005-09-11 · last commit 2024-02-13 (2 years ago) · synced 3 days ago · upstream: git.linuxfromscratch.org/jhalfs

Python 78.4% Shell 19.8% Makefile 1.8%
git clone https://git.christianimmanuel.de/mirrors-forks/jhalfs.gitwget https://git.christianimmanuel.de/mirrors-forks/jhalfs/archive/jhalfs.tar.gz

Move the parallelism menu to "Build Settings"

Pierre Labastie · 2023-11-21 09:40 · 10756d05d74b1faaa1609487c0aa77fc2a4253e5

Now that parallelism has been included into the book, this is no
more an advanced configuration...
 Config.in | 102 +++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 51 insertions(+), 51 deletions(-)

diff --git a/Config.in b/Config.in
index 1a36cb5..e15ce87 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"