/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/clang-win.jam (6094B)
# Copyright Vladimir Prus 2004. # Copyright Peter Dimov 2018 # # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE_1_0.txt # or copy at http://www.boost.org/LICENSE_1_0.txt) import common ; import errors ; import feature ; import clang ; import msvc ; import os ; import toolset ; import generators ; import path ; import regex ; feature.extend-subfeature toolset clang : platform : win ; toolset.inherit-generators clang-win clang win : msvc : msvc.compile.c.pch msvc.compile.c++.pch ; toolset.inherit-flags clang-win : msvc ; toolset.inherit-rules clang-win : msvc ; # Override default do-nothing generators. generators.override clang-win.compile.rc : rc.compile.resource ; generators.override clang-win.compile.mc : mc.compile ; if [ MATCH (--debug-(clang-(win-)?)?configuration) : [ modules.peek : ARGV ] ] { local rule .notice ( messages * ) { ECHO "notice: [clang-win]" $(messages) ; } } else { local rule .notice ( messages * ) { } } # [ get-option archiver : 32 : $(options) ] # # returns , or local rule get-option ( option : addr : options * ) { local r = [ feature.get-values "<$(option)-$(addr)>" : $(options) ] ; r ?= [ feature.get-values "<$(option)>" : $(options) ] ; return $(r) ; } # init # # options: # # ml.exe (or , or ) # lib.exe # mt.exe # rc.exe # mc.exe # midl.exe rule init ( version ? : command * : options * ) { command = [ common.get-invocation-command-nodefault clang-win : clang-cl.exe : $(command) ] ; if ! $(command) { errors.error "Cannot configure toolset clang-win: no 'clang-cl.exe' command found or given" ; } local compiler = "\"$(command)\"" ; compiler = "$(compiler:J= )" ; version ?= [ MATCH "version ([0-9.]+)" : [ SHELL "$(compiler) -v 2>&1" ] ] ; .notice "using compiler '$(compiler)', version '$(version)'" ; local condition = [ common.check-init-parameters clang-win : version $(version) ] ; common.handle-options clang-win : $(condition) : $(command) : $(options) ; for local addr in 32 64 { local config = [ SPLIT_BY_CHARACTERS [ SHELL "$(compiler) -m$(addr) -### foo.obj /link 2>&1" ] : "\n" ] ; local match = 1 ; local items ; while $(match) { match = [ MATCH "^ *(\"[^\"]*\")(.*)" : $(config) ] ; if $(match) { items += $(match[1]) ; config = $(match[2]) ; } } local ml ; if $(items) { ml = [ regex.replace $(items[1]) "x64\\\\+link\\.exe" "x64\\ml64.exe" ] ; ml = [ regex.replace $(ml) "x86\\\\+link\\.exe" "x86\\ml.exe" ] ; if ! [ MATCH "(ml\\.exe)" "(ml64\\.exe)" : $(ml) ] { ml = ; } } local assembler = [ get-option "assembler" : $(addr) : $(options) ] ; assembler ?= $(ml) ; if $(addr) = 32 { assembler ?= ml.exe ; } else { assembler ?= ml64.exe ; } local link ; if $(items) { link = [ regex.replace $(items[1]) "\\\\+HostX64\\\\+x86\\\\+" "\\HostX86\\x86\\" ] ; } local archiver = [ get-option "archiver" : $(addr) : $(options) ] ; if $(link) { archiver ?= "$(link) /lib" ; } archiver ?= lib.exe ; .notice "$(addr):" "using assembler '$(assembler)'" ; .notice "$(addr):" "using archiver '$(archiver)'" ; local manifest-tool = [ get-option "manifest-tool" : $(addr) : $(options) ] ; local resource-compiler = [ get-option "resource-compiler" : $(addr) : $(options) ] ; local mc-compiler = [ get-option "mc-compiler" : $(addr) : $(options) ] ; local idl-compiler = [ get-option "idl-compiler" : $(addr) : $(options) ] ; for local item in $(items) { match = [ MATCH "\"-libpath:(.*)\\\\+Lib\\\\.*\\\\um\\\\+x(.*)\"" : $(item) ] ; if $(match) { local sdk-path = "$(match[1])\\bin\\x$(match[2])" ; .notice "$(addr):" "using SDK path '$(sdk-path)'" ; manifest-tool ?= "\"$(sdk-path)\\mt.exe\"" ; resource-compiler ?= "\"$(sdk-path)\\rc.exe\"" ; mc-compiler ?= "\"$(sdk-path)\\mc.exe\"" ; idl-compiler ?= "\"$(sdk-path)\\midl.exe\"" ; } } manifest-tool ?= mt.exe ; resource-compiler ?= rc.exe ; mc-compiler ?= mc.exe ; idl-compiler ?= midl.exe ; .notice "$(addr):" "using manifest-tool '$(manifest-tool)'" ; .notice "$(addr):" "using resource-compiler '$(resource-compiler)'" ; .notice "$(addr):" "using mc-compiler '$(mc-compiler)'" ; .notice "$(addr):" "using idl-compiler '$(idl-compiler)'" ; local cond = "$(condition)//$(addr)" "$(condition)/x86/$(addr)" ; if $(addr) = 32 { cond += "$(condition)//" ; } toolset.flags clang-win.compile .CC $(cond) : $(compiler) -m$(addr) ; toolset.flags clang-win.link .LD $(cond) : $(compiler) -m$(addr) /link "/incremental:no" "/manifest" ; toolset.flags clang-win.compile .ASM $(cond) : $(assembler) -nologo -c -Zp4 -Cp -Cx ; toolset.flags clang-win.compile .ASM_OUTPUT $(cond) : -Fo ; toolset.flags clang-win.archive .LD $(cond) : $(archiver) /nologo ; toolset.flags clang-win.link .MT $(cond) : $(manifest-tool) -nologo ; toolset.flags clang-win.compile .MC $(cond) : $(mc-compiler) ; toolset.flags clang-win.compile .RC $(cond) : $(resource-compiler) ; toolset.flags clang-win.compile .IDL $(cond) : $(idl-compiler) ; } toolset.flags clang-win.link LIBRARY_OPTION clang-win : "" : unchecked ; }