Nimbin[12]?Mirrors & Forks / jhalfs / optimize/opt_config

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
optimize/opt_config 1.7 KB · 45 lines raw
#####
#
# optimization configuration file
#
#####

#--- List of packages that have issues with parallelization.
## As of December 21st, 2019, there seems to be none...
#    This list may be different for you.
#BLACK_LIST="attr autoconf coreutils dejagnu gettext gperf groff man-db vim"
#    Rationale for attr, coreutils, gperf: the tests do not pass with -jX

#--- Default optimization mode
#    This mode is overridden by definitions in opt_override;
#    in this way, packages can be tuned independently.  For example,
#    if you have trouble building a package in the mode set here, add
#    the package to opt_override with a different mode.
#
#    Not set here combined modes of form defOpt_myMode.
#    Combined modes of form modeA_modeB can be set here.
DEF_OPT_MODE=noOpt


#--- Active optimization variables
#    Variables listed here will be set as defined in the appropriate
#    file in opt_config.d/; others will be ignored.
ACTIVE_OPT_VARS="CFLAGS CXXFLAGS LDFLAGS \
                 OTHER_CFLAGS OTHER_CXXFLAGS OTHER_LDFLAGS"

#--- Load optimization modes
#    To add modes, create a working template..
#      cp opt_config.d/O3pipe opt_config.d/newMode
#    ..and edit it as desired.
#
#    To inherit another mode and add to it, see opt_config.d/O3pipe_march
#    or opt_config.d/defOpt_fPIC as examples for two different ways of
#    doing it.  Given opt_config.d/modeA_modeB_modeC, modeB inherits
#    the optimizations of modeA by sourcing it, and modeC inherits those
#    of modeB (which includes those of modeA).
#
#    Add packages that are to use this mode to opt_override with:
#      echo 'myPkg  newMode' >> opt_override
for mode in optimize/opt_config.d/* ; do
  source $mode
done