/
usr
/
share
/
boost-build
/
src
/
tools
/
/usr/share/boost-build/src/tools
mkdir
upload
Name
Size
Mode
Actions
doxygen/
-
0755
rm
features/
-
0755
rm
generators/
-
0755
rm
types/
-
0755
rm
xsltproc/
-
0755
rm
acc.jam
4800
0644
edit
dl
rm
asciidoctor.jam
6480
0644
edit
dl
rm
auto-index.jam
8324
0644
edit
dl
rm
bison.jam
589
0644
edit
dl
rm
boostbook-config.jam
389
0644
edit
dl
rm
boostbook.jam
24056
0644
edit
dl
rm
borland.jam
9992
0644
edit
dl
rm
builtin.jam
3037
0644
edit
dl
rm
bzip2.jam
8066
0644
edit
dl
rm
cast.jam
3237
0644
edit
dl
rm
clang-darwin.jam
6713
0644
edit
dl
rm
clang-linux.jam
9984
0644
edit
dl
rm
clang-vxworks.jam
4026
0644
edit
dl
rm
clang-win.jam
6094
0644
edit
dl
rm
clang.jam
2310
0644
edit
dl
rm
common.jam
31679
0644
edit
dl
rm
como-linux.jam
3528
0644
edit
dl
rm
como-win.jam
4237
0644
edit
dl
rm
como.jam
2063
0644
edit
dl
rm
convert.jam
1987
0644
edit
dl
rm
cray.jam
41128
0644
edit
dl
rm
cw-config.jam
1283
0644
edit
dl
rm
cw.jam
9549
0644
edit
dl
rm
cygwin.jam
403
0644
edit
dl
rm
darwin.jam
22165
0644
edit
dl
rm
diab.jam
4307
0644
edit
dl
rm
dmc.jam
6094
0644
edit
dl
rm
docutils.jam
3444
0644
edit
dl
rm
doxproc.py
36621
0644
edit
dl
rm
doxygen-config.jam
388
0644
edit
dl
rm
doxygen.jam
24745
0644
edit
dl
rm
embarcadero.jam
21487
0644
edit
dl
rm
emscripten.jam
3779
0644
edit
dl
rm
flags.jam
4570
0644
edit
dl
rm
fop.jam
1693
0644
edit
dl
rm
fortran.jam
1989
0644
edit
dl
rm
gcc.jam
55288
0644
edit
dl
rm
generate.jam
3339
0644
edit
dl
rm
gettext.jam
7663
0644
edit
dl
rm
gfortran.jam
1008
0644
edit
dl
rm
hpfortran.jam
902
0644
edit
dl
rm
hp_cxx.jam
8089
0644
edit
dl
rm
ifort.jam
1495
0644
edit
dl
rm
intel-darwin.jam
9785
0644
edit
dl
rm
intel-linux.jam
9193
0644
edit
dl
rm
intel-vxworks.jam
7085
0644
edit
dl
rm
intel-win.jam
16396
0644
edit
dl
rm
intel.jam
2626
0644
edit
dl
rm
lex.jam
559
0644
edit
dl
rm
libjpeg.jam
7362
0644
edit
dl
rm
libpng.jam
7104
0644
edit
dl
rm
libtiff.jam
7208
0644
edit
dl
rm
link.jam
15021
0644
edit
dl
rm
lzma.jam
3277
0644
edit
dl
rm
make.jam
2266
0644
edit
dl
rm
mc.jam
1311
0644
edit
dl
rm
message.jam
1667
0644
edit
dl
rm
midl.jam
5367
0644
edit
dl
rm
mipspro.jam
5291
0644
edit
dl
rm
mpi.jam
21826
0644
edit
dl
rm
msvc-config.jam
393
0644
edit
dl
rm
msvc.jam
84672
0644
edit
dl
rm
notfile.jam
1654
0644
edit
dl
rm
openssl.jam
3613
0644
edit
dl
rm
package.jam
9281
0644
edit
dl
rm
pathscale.jam
6629
0644
edit
dl
rm
pch.jam
2719
0644
edit
dl
rm
pgi.jam
4879
0644
edit
dl
rm
pkg-config.jam
13443
0644
edit
dl
rm
python-config.jam
836
0644
edit
dl
rm
python.jam
43679
0644
edit
dl
rm
qcc.jam
10836
0644
edit
dl
rm
qt.jam
530
0644
edit
dl
rm
qt3.jam
6810
0644
edit
dl
rm
qt4.jam
23974
0644
edit
dl
rm
qt5.jam
26517
0644
edit
dl
rm
quickbook-config.jam
1266
0644
edit
dl
rm
quickbook.jam
13277
0644
edit
dl
rm
rc.jam
5364
0644
edit
dl
rm
sass.jam
5702
0644
edit
dl
rm
saxonhe.jam
1329
0644
edit
dl
rm
stage.jam
28513
0644
edit
dl
rm
stlport.jam
11880
0644
edit
dl
rm
sun.jam
8054
0644
edit
dl
rm
symlink.jam
4351
0644
edit
dl
rm
testing-aux.jam
10238
0644
edit
dl
rm
testing.jam
27889
0644
edit
dl
rm
unix.jam
5847
0644
edit
dl
rm
vacpp.jam
5725
0644
edit
dl
rm
vmsdecc.jam
20185
0644
edit
dl
rm
whale.jam
3253
0644
edit
dl
rm
xlcpp.jam
6121
0644
edit
dl
rm
xlf.jam
900
0644
edit
dl
rm
xsltproc-config.jam
838
0644
edit
dl
rm
xsltproc.jam
5603
0644
edit
dl
rm
zlib.jam
6976
0644
edit
dl
rm
zstd.jam
2446
0644
edit
dl
rm
Edit:
/usr/share/boost-build/src/tools/pathscale.jam
(6629B)
# Copyright 2006 Noel Belcourt # 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 property ; import generators ; import toolset : flags ; import feature ; import type ; import os ; import common ; import fortran ; feature.extend toolset : pathscale ; toolset.inherit pathscale : unix ; generators.override pathscale.prebuilt : builtin.prebuilt ; generators.override pathscale.searched-lib-generator : searched-lib-generator ; # Documentation and toolchain description located # http://www.pathscale.com/docs.html rule init ( version ? : command * : options * ) { command = [ common.get-invocation-command pathscale : pathCC : $(command) : /opt/ekopath/bin ] ; # Determine the version local command-string = $(command:J=" ") ; if $(command) { version ?= [ MATCH "^([0-9.]+)" : [ SHELL "$(command-string) -dumpversion" ] ] ; } local condition = [ common.check-init-parameters pathscale : version $(version) ] ; common.handle-options pathscale : $(condition) : $(command) : $(options) ; toolset.flags pathscale.compile.fortran90 OPTIONS $(condition) : [ feature.get-values <fflags> : $(options) ] : unchecked ; command_c = $(command_c[1--2]) $(command[-1]:B=pathcc) ; toolset.flags pathscale CONFIG_C_COMMAND $(condition) : $(command_c) ; # fortran support local f-command = [ common.get-invocation-command pathscale : pathf90 : $(command) ] ; local command_f = $(command_f[1--2]) $(f-command[-1]:B=pathf90) ; local command_f90 = $(command_f[1--2]) $(f-command[-1]:B=pathf90) ; toolset.flags pathscale CONFIG_F_COMMAND $(condition) : $(command_f) ; toolset.flags pathscale CONFIG_F90_COMMAND $(condition) : $(command_f90) ; # always link lib rt to resolve clock_gettime() flags pathscale.link FINDLIBS-SA : rt : unchecked ; switch [ os.name ] { case SOLARIS : toolset.flags pathscale.link RPATH_OPTION $(condition) : -Wl,-R, -Wl, : unchecked ; case * : # GNU toolset.flags pathscale.link RPATH_OPTION $(condition) : -Wl,-rpath= : unchecked ; } } # Declare generators generators.register-c-compiler pathscale.compile.c : C : OBJ : <toolset>pathscale ; generators.register-c-compiler pathscale.compile.c++ : CPP : OBJ : <toolset>pathscale ; generators.register-fortran-compiler pathscale.compile.fortran : FORTRAN : OBJ : <toolset>pathscale ; generators.register-fortran90-compiler pathscale.compile.fortran90 : FORTRAN90 : OBJ : <toolset>pathscale ; # Declare flags and actions for compilation flags pathscale.compile OPTIONS <optimization>off : -O0 ; flags pathscale.compile OPTIONS <optimization>speed : -O3 ; flags pathscale.compile OPTIONS <optimization>space : -Os ; flags pathscale.compile OPTIONS <inlining>off : -noinline ; flags pathscale.compile OPTIONS <inlining>on : -inline ; flags pathscale.compile OPTIONS <inlining>full : -inline ; flags pathscale.compile OPTIONS <warnings>off : -woffall ; flags pathscale.compile OPTIONS <warnings>on : -Wall ; flags pathscale.compile OPTIONS <warnings>all : -Wall ; flags pathscale.compile OPTIONS <warnings>extra : -Wall -Wextra ; flags pathscale.compile OPTIONS <warnings>pedantic : -Wall -Wextra -pedantic ; flags pathscale.compile OPTIONS <warnings-as-errors>on : -Werror ; flags pathscale.compile OPTIONS <debug-symbols>on : -ggdb ; flags pathscale.compile OPTIONS <profiling>on : -pg ; flags pathscale.compile OPTIONS <link>shared : -fPIC ; flags pathscale.compile USER_OPTIONS <cflags> ; flags pathscale.compile.c++ USER_OPTIONS <cxxflags> ; flags pathscale.compile DEFINES <define> ; flags pathscale.compile INCLUDES <include> ; flags pathscale.compile.fortran USER_OPTIONS <fflags> ; flags pathscale.compile.fortran90 USER_OPTIONS <fflags> ; actions compile.c { "$(CONFIG_C_COMMAND)" $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -c -o "$(<)" "$(>)" } actions compile.c++ { "$(CONFIG_COMMAND)" $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -c -o "$(<)" "$(>)" } actions compile.fortran { "$(CONFIG_F_COMMAND)" $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -c -o "$(<)" "$(>)" } rule compile.fortran90 ( targets * : sources * : properties * ) { # the space rule inserts spaces between targets and it's necessary SPACE on $(targets) = " " ; # Serialize execution of the compile.fortran90 action # F90 source must be compiled in a particular order so we # serialize the build as a parallel F90 compile might fail JAM_SEMAPHORE on $(targets) = <s>pathscale-f90-semaphore ; } actions compile.fortran90 { "$(CONFIG_F90_COMMAND)" $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -module $(<[1]:D) -c -o "$(<)" "$(>)" } # Declare flags and actions for linking flags pathscale.link OPTIONS <debug-symbols>on : -ggdb -rdynamic ; # Strip the binary when no debugging is needed flags pathscale.link OPTIONS <debug-symbols>off : -g0 ; flags pathscale.link OPTIONS <profiling>on : -pg ; flags pathscale.link USER_OPTIONS <linkflags> ; flags pathscale.link LINKPATH <library-path> ; flags pathscale.link FINDLIBS-ST <find-static-library> ; flags pathscale.link FINDLIBS-SA <find-shared-library> ; flags pathscale.link FINDLIBS-SA <threading>multi : pthread ; flags pathscale.link LIBRARIES <library-file> ; flags pathscale.link LINK-RUNTIME <runtime-link>static : static ; flags pathscale.link LINK-RUNTIME <runtime-link>shared : dynamic ; flags pathscale.link RPATH <dll-path> ; # On gcc, there are separate options for dll path at runtime and # link time. On Solaris, there's only one: -R, so we have to use # it, even though it's bad idea. flags pathscale.link RPATH <xdll-path> ; rule link ( targets * : sources * : properties * ) { SPACE on $(targets) = " " ; } actions link bind LIBRARIES { "$(CONFIG_COMMAND)" $(OPTIONS) $(USER_OPTIONS) -L"$(LINKPATH)" $(RPATH_OPTION:E=-Wl,-rpath=)"$(RPATH)" -o "$(<)" "$(>)" "$(LIBRARIES)" -l$(FINDLIBS-SA) -l$(FINDLIBS-ST) } # Slight mods for dlls rule link.dll ( targets * : sources * : properties * ) { SPACE on $(targets) = " " ; } actions link.dll bind LIBRARIES { "$(CONFIG_COMMAND)" $(OPTIONS) $(USER_OPTIONS) -L"$(LINKPATH)" $(RPATH_OPTION:E=-Wl,-rpath=)"$(RPATH)" -o "$(<)" -Wl,-soname$(SPACE)-Wl,$(<[1]:D=) -shared "$(>)" "$(LIBRARIES)" -l$(FINDLIBS-SA) -l$(FINDLIBS-ST) } # Declare action for creating static libraries # "$(CONFIG_COMMAND)" -ar -o "$(<)" "$(>)" actions piecemeal archive { ar $(ARFLAGS) ru "$(<)" "$(>)" }
Save
cmd:
run