/usr/share/boost-build/src/tools
NameSizeModeActions
doxygen/-0755rm
features/-0755rm
generators/-0755rm
types/-0755rm
xsltproc/-0755rm
acc.jam48000644editdlrm
asciidoctor.jam64800644editdlrm
auto-index.jam83240644editdlrm
bison.jam5890644editdlrm
boostbook-config.jam3890644editdlrm
boostbook.jam240560644editdlrm
borland.jam99920644editdlrm
builtin.jam30370644editdlrm
bzip2.jam80660644editdlrm
cast.jam32370644editdlrm
clang-darwin.jam67130644editdlrm
clang-linux.jam99840644editdlrm
clang-vxworks.jam40260644editdlrm
clang-win.jam60940644editdlrm
clang.jam23100644editdlrm
common.jam316790644editdlrm
como-linux.jam35280644editdlrm
como-win.jam42370644editdlrm
como.jam20630644editdlrm
convert.jam19870644editdlrm
cray.jam411280644editdlrm
cw-config.jam12830644editdlrm
cw.jam95490644editdlrm
cygwin.jam4030644editdlrm
darwin.jam221650644editdlrm
diab.jam43070644editdlrm
dmc.jam60940644editdlrm
docutils.jam34440644editdlrm
doxproc.py366210644editdlrm
doxygen-config.jam3880644editdlrm
doxygen.jam247450644editdlrm
embarcadero.jam214870644editdlrm
emscripten.jam37790644editdlrm
flags.jam45700644editdlrm
fop.jam16930644editdlrm
fortran.jam19890644editdlrm
gcc.jam552880644editdlrm
generate.jam33390644editdlrm
gettext.jam76630644editdlrm
gfortran.jam10080644editdlrm
hpfortran.jam9020644editdlrm
hp_cxx.jam80890644editdlrm
ifort.jam14950644editdlrm
intel-darwin.jam97850644editdlrm
intel-linux.jam91930644editdlrm
intel-vxworks.jam70850644editdlrm
intel-win.jam163960644editdlrm
intel.jam26260644editdlrm
lex.jam5590644editdlrm
libjpeg.jam73620644editdlrm
libpng.jam71040644editdlrm
libtiff.jam72080644editdlrm
link.jam150210644editdlrm
lzma.jam32770644editdlrm
make.jam22660644editdlrm
mc.jam13110644editdlrm
message.jam16670644editdlrm
midl.jam53670644editdlrm
mipspro.jam52910644editdlrm
mpi.jam218260644editdlrm
msvc-config.jam3930644editdlrm
msvc.jam846720644editdlrm
notfile.jam16540644editdlrm
openssl.jam36130644editdlrm
package.jam92810644editdlrm
pathscale.jam66290644editdlrm
pch.jam27190644editdlrm
pgi.jam48790644editdlrm
pkg-config.jam134430644editdlrm
python-config.jam8360644editdlrm
python.jam436790644editdlrm
qcc.jam108360644editdlrm
qt.jam5300644editdlrm
qt3.jam68100644editdlrm
qt4.jam239740644editdlrm
qt5.jam265170644editdlrm
quickbook-config.jam12660644editdlrm
quickbook.jam132770644editdlrm
rc.jam53640644editdlrm
sass.jam57020644editdlrm
saxonhe.jam13290644editdlrm
stage.jam285130644editdlrm
stlport.jam118800644editdlrm
sun.jam80540644editdlrm
symlink.jam43510644editdlrm
testing-aux.jam102380644editdlrm
testing.jam278890644editdlrm
unix.jam58470644editdlrm
vacpp.jam57250644editdlrm
vmsdecc.jam201850644editdlrm
whale.jam32530644editdlrm
xlcpp.jam61210644editdlrm
xlf.jam9000644editdlrm
xsltproc-config.jam8380644editdlrm
xsltproc.jam56030644editdlrm
zlib.jam69760644editdlrm
zstd.jam24460644editdlrm
Edit: /usr/share/boost-build/src/tools/intel-linux.jam (9193B)
# Copyright (c) 2003 Michael Stevens # Copyright (c) 2011 Bryce Lelbach # # Use, modification and distribution is subject to the Boost Software # License Version 1.0. (See accompanying file LICENSE_1_0.txt or # http://www.boost.org/LICENSE_1_0.txt) import toolset ; import feature ; import toolset : flags ; import intel ; import gcc ; import common ; import errors ; import generators ; import type ; import numbers ; feature.extend-subfeature toolset intel : platform : linux ; toolset.inherit-generators intel-linux intel linux : gcc : gcc.mingw.link gcc.mingw.link.dll ; generators.override intel-linux.prebuilt : builtin.lib-generator ; generators.override intel-linux.prebuilt : builtin.prebuilt ; generators.override intel-linux.searched-lib-generator : searched-lib-generator ; # Override default do-nothing generators. generators.override intel-linux.compile.c.pch : pch.default-c-pch-generator ; generators.override intel-linux.compile.c++.pch : pch.default-cpp-pch-generator ; type.set-generated-target-suffix PCH : intel linux : pchi ; toolset.inherit-rules intel-linux : gcc ; toolset.inherit-flags intel-linux : gcc : off on full space speed off all on extra pedantic off on ; if [ MATCH (--debug-configuration) : [ modules.peek : ARGV ] ] { .debug-configuration = true ; } # Initializes the intel-linux toolset # version in mandatory # name (default icpc) is used to invoke the specified intel-linux compiler # compile and link options allow you to specify addition command line options for each version rule init ( version ? : command * : options * ) { local condition = [ common.check-init-parameters intel-linux : version $(version) ] ; if $(.debug-configuration) { ECHO "notice: intel-linux version is" $(version) ; } local default_path ; # Intel C++ Composer XE 2011 for Linux, aka Intel C++ Compiler XE 12.0, # aka intel-linux-12.0. In this version, Intel thankfully decides to install # to a sane 'intel' folder in /opt. if [ MATCH "(12[.]0|12)" : $(version) ] { default_path = /opt/intel/bin ; } # Intel C++ Compiler 11.1. else if [ MATCH "(11[.]1)" : $(version) ] { default_path = /opt/intel_cce_11.1.064.x86_64/bin ; } # Intel C++ Compiler 11.0. else if [ MATCH "(11[.]0|11)" : $(version) ] { default_path = /opt/intel_cce_11.0.074.x86_64/bin ; } # Intel C++ Compiler 10.1. else if [ MATCH "(10[.]1)" : $(version) ] { default_path = /opt/intel_cce_10.1.013_x64/bin ; } # Intel C++ Compiler 9.1. else if [ MATCH "(9[.]1)" : $(version) ] { default_path = /opt/intel_cc_91/bin ; } # Intel C++ Compiler 9.0. else if [ MATCH "(9[.]0|9)" : $(version) ] { default_path = /opt/intel_cc_90/bin ; } # Intel C++ Compiler 8.1. else if [ MATCH "(8[.]1)" : $(version) ] { default_path = /opt/intel_cc_81/bin ; } # Intel C++ Compiler 8.0 - this used to be the default, so now it's the # fallback. else { default_path = /opt/intel_cc_80/bin ; } if $(.debug-configuration) { ECHO "notice: default search path for intel-linux is" $(default_path) ; } command = [ common.get-invocation-command intel-linux : icpc : $(command) : $(default_path) ] ; common.handle-options intel-linux : $(condition) : $(command) : $(options) ; local root = [ feature.get-values : $(options) ] ; local bin ; if $(command) || $(root) { bin ?= [ common.get-absolute-tool-path $(command[-1]) ] ; root ?= $(bin:D) ; local command-string = $(command:J=" ") ; local version-output = [ SHELL "$(command-string) --version" ] ; local real-version = [ MATCH "([0-9.]+)" : $(version-output) ] ; local major = [ MATCH "([0-9]+).*" : $(real-version) ] ; # If we failed to determine major version, use the behaviour for # the current compiler. if $(major) && [ numbers.less $(major) 10 ] { flags intel-linux.compile OPTIONS $(condition)/off : "-Ob0" ; flags intel-linux.compile OPTIONS $(condition)/on : "-Ob1" ; flags intel-linux.compile OPTIONS $(condition)/full : "-Ob2" ; flags intel-linux.compile OPTIONS $(condition)/space : "-O1" ; flags intel-linux.compile OPTIONS $(condition)/speed : "-O3 -ip" ; } else if $(major) && [ numbers.less $(major) 11 ] { flags intel-linux.compile OPTIONS $(condition)/off : "-inline-level=0" ; flags intel-linux.compile OPTIONS $(condition)/on : "-inline-level=1" ; flags intel-linux.compile OPTIONS $(condition)/full : "-inline-level=2" ; flags intel-linux.compile OPTIONS $(condition)/space : "-O1" ; flags intel-linux.compile OPTIONS $(condition)/speed : "-O3 -ip" ; } else # newer version of intel do have -Os (at least 11+, don't know about 10) { flags intel-linux.compile OPTIONS $(condition)/off : "-inline-level=0" ; flags intel-linux.compile OPTIONS $(condition)/on : "-inline-level=1" ; flags intel-linux.compile OPTIONS $(condition)/full : "-inline-level=2" ; flags intel-linux.compile OPTIONS $(condition)/space : "-Os" ; flags intel-linux.compile OPTIONS $(condition)/speed : "-O3 -ip" ; } if $(root) { # Libraries required to run the executable may be in either # $(root)/lib (10.1 and earlier) # or # $(root)/lib/architecture-name (11.0 and later: local lib_path = $(root)/lib $(root:P)/lib/$(bin:B) ; if $(.debug-configuration) { ECHO notice\: using intel libraries "::" $(condition) "::" $(lib_path) ; } flags intel-linux.link RUN_PATH $(condition) : $(lib_path) ; } } } SPACE = " " ; flags intel-linux.compile OPTIONS off : -w0 ; flags intel-linux.compile OPTIONS on : -w1 ; flags intel-linux.compile OPTIONS all : -w2 ; flags intel-linux.compile OPTIONS extra : -w3 ; flags intel-linux.compile OPTIONS pedantic : -w3 -Wcheck ; flags intel-linux.compile OPTIONS on : -Werror-all ; rule compile.c++ ( targets * : sources * : properties * ) { DEPENDS $(<) : [ on $(<) return $(PCH_FILE) ] ; } actions compile.c++ bind PCH_FILE { "$(CONFIG_COMMAND)" -c -xc++ $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -use-pch"$(PCH_FILE)" -c -o "$(<)" "$(>)" } rule compile.c ( targets * : sources * : properties * ) { DEPENDS $(<) : [ on $(<) return $(PCH_FILE) ] ; } actions compile.c bind PCH_FILE { "$(CONFIG_COMMAND)" -c -xc $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -use-pch"$(PCH_FILE)" -c -o "$(<)" "$(>)" } rule compile.c++.pch ( targets * : sources * : properties * ) { } # # Compiling a pch first deletes any existing *.pchi file, as Intel's compiler # won't over-write an existing pch: instead it creates filename$1.pchi, filename$2.pchi # etc - which appear not to do anything except take up disk space :-( # actions compile.c++.pch { rm -f "$(<)" && "$(CONFIG_COMMAND)" -x c++-header $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -c -pch-create "$(<)" "$(>)" } actions compile.fortran { "ifort" -c $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -c -o "$(<)" "$(>)" } rule compile.c.pch ( targets * : sources * : properties * ) { } actions compile.c.pch { rm -f "$(<)" && "$(CONFIG_COMMAND)" -x c-header $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -c -pch-create "$(<)" "$(>)" } rule link ( targets * : sources * : properties * ) { SPACE on $(targets) = " " ; JAM_SEMAPHORE on $(targets) = intel-linux-link-semaphore ; } actions link bind LIBRARIES { "$(CONFIG_COMMAND)" -L"$(LINKPATH)" -Wl,-R$(SPACE)-Wl,"$(RPATH)" -Wl,-rpath-link$(SPACE)-Wl,"$(RPATH_LINK)" -o "$(<)" "$(>)" "$(LIBRARIES)" -l$(FINDLIBS-SA) -l$(FINDLIBS-ST) $(OPTIONS) $(USER_OPTIONS) } rule link.dll ( targets * : sources * : properties * ) { SPACE on $(targets) = " " ; JAM_SEMAPHORE on $(targets) = intel-linux-link-semaphore ; } # Differ from 'link' above only by -shared. actions link.dll bind LIBRARIES { "$(CONFIG_COMMAND)" -L"$(LINKPATH)" -Wl,-R$(SPACE)-Wl,"$(RPATH)" -o "$(<)" -Wl,-soname$(SPACE)-Wl,$(<[1]:D=) -shared "$(>)" "$(LIBRARIES)" -l$(FINDLIBS-SA) -l$(FINDLIBS-ST) $(OPTIONS) $(USER_OPTIONS) }