source: optimize/opt_config

trunk
Last change on this file was 0fa52f2, checked in by Pierre Labastie <pierre.labastie@…>, 2 years ago

Remove legacy: Remove almost all occurrences of CLFS/clfs

  • Property mode set to 100644
File size: 1.7 KB
Line 
1#####
2#
3# optimization configuration file
4#
5#####
6
7#--- List of packages that have issues with parallelization.
8## As of December 21st, 2019, there seems to be none...
9# This list may be different for you.
10#BLACK_LIST="attr autoconf coreutils dejagnu gettext gperf groff man-db vim"
11# Rationale for attr, coreutils, gperf: the tests do not pass with -jX
12
13#--- Default optimization mode
14# This mode is overridden by definitions in opt_override;
15# in this way, packages can be tuned independently. For example,
16# if you have trouble building a package in the mode set here, add
17# the package to opt_override with a different mode.
18#
19# Not set here combined modes of form defOpt_myMode.
20# Combined modes of form modeA_modeB can be set here.
21DEF_OPT_MODE=noOpt
22
23
24#--- Active optimization variables
25# Variables listed here will be set as defined in the appropriate
26# file in opt_config.d/; others will be ignored.
27ACTIVE_OPT_VARS="CFLAGS CXXFLAGS LDFLAGS \
28 OTHER_CFLAGS OTHER_CXXFLAGS OTHER_LDFLAGS"
29
30#--- Load optimization modes
31# To add modes, create a working template..
32# cp opt_config.d/O3pipe opt_config.d/newMode
33# ..and edit it as desired.
34#
35# To inherit another mode and add to it, see opt_config.d/O3pipe_march
36# or opt_config.d/defOpt_fPIC as examples for two different ways of
37# doing it. Given opt_config.d/modeA_modeB_modeC, modeB inherits
38# the optimizations of modeA by sourcing it, and modeC inherits those
39# of modeB (which includes those of modeA).
40#
41# Add packages that are to use this mode to opt_override with:
42# echo 'myPkg newMode' >> opt_override
43for mode in optimize/opt_config.d/* ; do
44 source $mode
45done
Note: See TracBrowser for help on using the repository browser.