Changeset 10756d0 for Config.in


Ignore:
Timestamp:
11/21/2023 09:40:52 AM (10 months ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
ablfs-more, trunk
Children:
6ffc37b
Parents:
9440e4a
Message:

Move the parallelism menu to "Build Settings"

Now that parallelism has been included into the book, this is no
more an advanced configuration...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Config.in

    r9440e4a r10756d0  
    449449menu "Build Settings"
    450450depends on !BOOK_BLFS
     451
     452    #--- Parallelism
     453    menu "Parallelism settings"
     454    if HAVE_NPROC
     455        config ALL_CORES
     456        bool "Use all cores as in new books (say n for old books)"
     457        default y
     458        help
     459              Use book instructions as written for parallelism since version
     460              r12.0-87 included. If you answer no, then jhalfs will fall back
     461              to a static number of cores, defined below. If you answer y, and
     462              your system supports it, you'll be asked for a cpu set to use.
     463                 There is no detection of book version. If the book version
     464              is lower than r12.0-87, say no!
     465
     466        if ALL_CORES && HAVE_CGROUP
     467            config CPUSET
     468            string "set of cpus to use, or 'all' for all cpus"
     469            default "all"
     470            help
     471                 See "List format" in cpuset(7). Choosing cpus depend
     472                 on the topology of your processors. Sometimes two
     473                 hyperthreads on the same core are numbered consecutively.
     474                 For example for using all cores and no hyperthreading on
     475                 a Haswell, use "0,2,4,6". Other brands may have a different
     476                 topology, and may require e.g. "0-3" to use the first 4 cores.
     477                 If not sure, keep the default.
     478        endif
     479
     480    endif # HAVE_NPROC
     481    if !HAVE_NPROC
     482        config ALL_CORES
     483        bool
     484        default n
     485    endif
     486
     487    config    N_PARALLEL
     488        int "Number of parallel `make' jobs"
     489        depends on !ALL_CORES
     490        default 1
     491        help
     492            #-- The usual recommandation is (number of CPU cores)+1
     493            #   Do not set for meaningful SBU calculations.
     494
     495    config    REALSBU
     496        bool    "Build Binutils pass1 without parallelism (Real SBU)"
     497        default    n
     498        help
     499           #-- Use -j1 in make invokation for Binutils pass1 to
     500           #   get a valid SBU value.
     501    endmenu # parallelism
    451502
    452503    #--- Test Suites
     
    759810depends on !BOOK_BLFS
    760811
    761     #--- Parallelism
    762     menu "Parallelism settings"
    763     if HAVE_NPROC
    764         config ALL_CORES
    765         bool "Use all cores as in new books (say n for old books)"
    766         default y
    767         help
    768               Use book instructions as written for parallelism since version
    769               r12.0-87 included. If you answer no, then jhalfs will fall back
    770               to a static number of cores, defined below. If you answer y, and
    771               your system supports it, you'll be asked for a cpu set to use.
    772                  There is no detection of book version. If the book version
    773               is lower than r12.0-87, say no!
    774 
    775         if ALL_CORES && HAVE_CGROUP
    776             config CPUSET
    777             string "set of cpus to use, or 'all' for all cpus"
    778             default "all"
    779             help
    780                  See "List format" in cpuset(7). Choosing cpus depend
    781                  on the topology of your processors. Sometimes two
    782                  hyperthreads on the same core are numbered consecutively.
    783                  For example for using all cores and no hyperthreading on
    784                  a Haswell, use "0,2,4,6". Other brands may have a different
    785                  topology, and may require e.g. "0-3" to use the first 4 cores.
    786                  If not sure, keep the default.
    787         endif
    788 
    789     endif # HAVE_NPROC
    790     if !HAVE_NPROC
    791         config ALL_CORES
    792         bool
    793         default n
    794     endif
    795 
    796     config    N_PARALLEL
    797         int "Number of parallel `make' jobs"
    798         depends on !ALL_CORES
    799         default 1
    800         help
    801             #-- The usual recommandation is (number of CPU cores)+1
    802             #   Do not set for meaningful SBU calculations.
    803 
    804     config    REALSBU
    805         bool    "Build Binutils pass1 without parallelism (Real SBU)"
    806         default    n
    807         help
    808            #-- Use -j1 in make invokation for Binutils pass1 to
    809            #   get a valid SBU value.
    810     endmenu # parallelism
    811 
    812812    #--- Optimizations
    813813    config    CONFIG_OPTIMIZE
Note: See TracChangeset for help on using the changeset viewer.