Compare commits
554
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e1bec985cc | ||
|
|
632a4067b0 | ||
|
|
fa584eccb7 | ||
|
|
29287cbd7a | ||
|
|
5fcaf7cdbd | ||
|
|
ad42389aa3 | ||
|
|
79fbd7a926 | ||
|
|
a95ece600a | ||
|
|
c3b03e716b | ||
|
|
4067f149fd | ||
|
|
f71a61d026 | ||
|
|
b81c769176 | ||
|
|
15406b17ca | ||
|
|
c0e3ffa693 | ||
|
|
9abd473adc | ||
|
|
53f1b50d66 | ||
|
|
c8e2282472 | ||
|
|
e61d179aca | ||
|
|
3d3ec2704e | ||
|
|
50c2545a10 | ||
|
|
b9daf2abea | ||
|
|
fde525dab7 | ||
|
|
b3d34efa70 | ||
|
|
62493e9f55 | ||
|
|
5e70a37ea4 | ||
|
|
15bc9d06d2 | ||
|
|
bab8995b3b | ||
|
|
59b0f12fef | ||
|
|
15591fa5da | ||
|
|
1b55c4ffb7 | ||
|
|
3ebdab0a3c | ||
|
|
bbfaf7ebb2 | ||
|
|
93734a8169 | ||
|
|
a1aca30f6e | ||
|
|
b4457c6979 | ||
|
|
1ff5c3c09a | ||
|
|
dcc06e7c9a | ||
|
|
161b97a7c3 | ||
|
|
f8a6e57c8f | ||
|
|
fe5cc16734 | ||
|
|
62807a5098 | ||
|
|
86cdb08a6a | ||
|
|
38022eb5e5 | ||
|
|
4736fd77d6 | ||
|
|
12cb335e47 | ||
|
|
ea6981c2d5 | ||
|
|
d9eb271c30 | ||
|
|
48507b0b85 | ||
|
|
3ae94d2071 | ||
|
|
3aeb8f8945 | ||
|
|
cb8b8a4a25 | ||
|
|
189cc00b85 | ||
|
|
e5dc003fdb | ||
|
|
efb441cda9 | ||
|
|
f773ca6a6a | ||
|
|
02c0a07091 | ||
|
|
b0e94e8d99 | ||
|
|
55d547d6e6 | ||
|
|
de7af0eecc | ||
|
|
70f607ddc1 | ||
|
|
6eeb9a6b7f | ||
|
|
74b117756a | ||
|
|
47b7dad93d | ||
|
|
e60dd07cec | ||
|
|
d0e98e16ec | ||
|
|
dcc8e930d1 | ||
|
|
245ec0a1a4 | ||
|
|
9e6fabb27c | ||
|
|
dd439db567 | ||
|
|
c8fc66daca | ||
|
|
35bb787ff7 | ||
|
|
0bc462db6e | ||
|
|
4414e1791f | ||
|
|
3e1786b34b | ||
|
|
8fdb4413a1 | ||
|
|
3e7110bf89 | ||
|
|
25dd4d7159 | ||
|
|
89488776d8 | ||
|
|
83c6ace500 | ||
|
|
48d700f1a7 | ||
|
|
13303a1dbc | ||
|
|
6f76cbbdcd | ||
|
|
cdaeb4511c | ||
|
|
e0bf21fd2a | ||
|
|
82147eff2b | ||
|
|
db770983c2 | ||
|
|
03c98d8cb8 | ||
|
|
a6aeb073f8 | ||
|
|
fa7921eeef | ||
|
|
7204c4780d | ||
|
|
1d722bd10c | ||
|
|
674e83bffb | ||
|
|
6511a37b64 | ||
|
|
ad5d581018 | ||
|
|
78477a0bd3 | ||
|
|
7a61fed3b7 | ||
|
|
dcc7c19430 | ||
|
|
6a1d293bee | ||
|
|
f1e6ce1eff | ||
|
|
53c32d7d0f | ||
|
|
ab80768188 | ||
|
|
080183e38f | ||
|
|
bb278d2da2 | ||
|
|
bd55754ab6 | ||
|
|
b10eec10e7 | ||
|
|
6b2ebc3c0a | ||
|
|
001b78c814 | ||
|
|
2d25746c5e | ||
|
|
5133aa2d87 | ||
|
|
f901305f5c | ||
|
|
f9fcd37bbb | ||
|
|
458c4c388a | ||
|
|
0bddf9ee68 | ||
|
|
0478b70b5a | ||
|
|
d3c9028968 | ||
|
|
aed827bd3e | ||
|
|
96edf5ff5d | ||
|
|
f630ee37f2 | ||
|
|
d857bebdca | ||
|
|
05103fa2e8 | ||
|
|
954fd52a4a | ||
|
|
b097d43590 | ||
|
|
9de0989e5e | ||
|
|
e294d862e1 | ||
|
|
321ea372d1 | ||
|
|
e36f44c282 | ||
|
|
913e10a8c0 | ||
|
|
de4e8ba644 | ||
|
|
933a23e76c | ||
|
|
cef236b3f5 | ||
|
|
5e9e548291 | ||
|
|
513ccf2f3d | ||
|
|
488d69fa2a | ||
|
|
acae5e87a6 | ||
|
|
901e36d133 | ||
|
|
f33fd7895b | ||
|
|
a59bf8ce37 | ||
|
|
4d07c9f3d5 | ||
|
|
227b9a841c | ||
|
|
60c14232c1 | ||
|
|
8da5dd5aaa | ||
|
|
5087b8449e | ||
|
|
9c17dd13b7 | ||
|
|
729513a30c | ||
|
|
c46a62abf5 | ||
|
|
c639049105 | ||
|
|
5c43175bd3 | ||
|
|
4d0a436c4d | ||
|
|
048cf32b15 | ||
|
|
f323c0c1a6 | ||
|
|
b8475e2f14 | ||
|
|
b2bb51bb18 | ||
|
|
902055111a | ||
|
|
213092a241 | ||
|
|
5cf639d825 | ||
|
|
3cdb51b023 | ||
|
|
651a3df15f | ||
|
|
be257afd18 | ||
|
|
04e73c16b2 | ||
|
|
4108830c01 | ||
|
|
147f00bab2 | ||
|
|
3072e010df | ||
|
|
618fc9ef90 | ||
|
|
6deda43079 | ||
|
|
8dd90d7f73 | ||
|
|
b15b22a743 | ||
|
|
9bf4baac3f | ||
|
|
e286cb38ad | ||
|
|
4fb8d0bfba | ||
|
|
5f34152ee3 | ||
|
|
7674f208bd | ||
|
|
ab3c195ca4 | ||
|
|
14c1431c7f | ||
|
|
9312ed8538 | ||
|
|
e02ec9f428 | ||
|
|
94eb740178 | ||
|
|
715d091789 | ||
|
|
16d82eb90a | ||
|
|
bad80f063a | ||
|
|
328d49ad2a | ||
|
|
062dea3784 | ||
|
|
c49082ae56 | ||
|
|
4c673592a1 | ||
|
|
b8848d0dbe | ||
|
|
d9758b3149 | ||
|
|
9f83f36fc9 | ||
|
|
6c0db8b8c7 | ||
|
|
b0d52311d5 | ||
|
|
175ac0fe85 | ||
|
|
7e9bf38d52 | ||
|
|
31f1966eb1 | ||
|
|
91bbd0d473 | ||
|
|
03566008ff | ||
|
|
651034a0ee | ||
|
|
e88da6df46 | ||
|
|
82215814f4 | ||
|
|
236a0b5390 | ||
|
|
14cf224991 | ||
|
|
940c81be3a | ||
|
|
148de91b4a | ||
|
|
4698dcdb97 | ||
|
|
850fcaba09 | ||
|
|
330fca93f0 | ||
|
|
089ad9f2c7 | ||
|
|
03440b3eb6 | ||
|
|
588b1efc6a | ||
|
|
cf7787ea80 | ||
|
|
19ad9ce11b | ||
|
|
2fd0d32a82 | ||
|
|
f09c0aad07 | ||
|
|
be8822c8f7 | ||
|
|
ae0fa3eece | ||
|
|
a07c83f2fc | ||
|
|
d77dc61631 | ||
|
|
87d3556c4f | ||
|
|
90d4b4db0b | ||
|
|
915464fca5 | ||
|
|
81dc6ad902 | ||
|
|
6c65b79abe | ||
|
|
fceb1b0579 | ||
|
|
1e70888e9c | ||
|
|
375a4e31c9 | ||
|
|
9512bd63c8 | ||
|
|
4517221424 | ||
|
|
977ab2ca82 | ||
|
|
1b96b18c72 | ||
|
|
aa8d3c69c9 | ||
|
|
f8d41ca2c0 | ||
|
|
b5fc22abac | ||
|
|
72f108d1b1 | ||
|
|
21cd0efd52 | ||
|
|
ff982bcdae | ||
|
|
7d4f3745a5 | ||
|
|
e87b54f631 | ||
|
|
f7c4b853ac | ||
|
|
0c4ac4a413 | ||
|
|
c43622327e | ||
|
|
deb50e6fde | ||
|
|
9048c473d1 | ||
|
|
062640f62c | ||
|
|
5e2aac9679 | ||
|
|
1ad6d8249f | ||
|
|
2378a56a75 | ||
|
|
4d2f79a60d | ||
|
|
c5454f6e32 | ||
|
|
6bd00da174 | ||
|
|
5c58286d32 | ||
|
|
787ee4c89b | ||
|
|
485a63438b | ||
|
|
f710637497 | ||
|
|
a82b2c8ea1 | ||
|
|
6bc65435dc | ||
|
|
d3d5bacb05 | ||
|
|
cb293f2545 | ||
|
|
a743b32718 | ||
|
|
ffaff0ec40 | ||
|
|
3e3525f4c1 | ||
|
|
78038e473b | ||
|
|
e004abfe91 | ||
|
|
168eae2433 | ||
|
|
736e0f6723 | ||
|
|
c0f1c7a54a | ||
|
|
b7a2748342 | ||
|
|
2426f6b913 | ||
|
|
bbd22df5a6 | ||
|
|
03ae198f71 | ||
|
|
d5d68ec1e1 | ||
|
|
5afa2ab1b2 | ||
|
|
64306cb993 | ||
|
|
39810275b0 | ||
|
|
2d50221045 | ||
|
|
e136f664e9 | ||
|
|
5f1f7121e7 | ||
|
|
57e33587be | ||
|
|
0f31d2f639 | ||
|
|
993bfba4ee | ||
|
|
5aac5f3246 | ||
|
|
93e5ffa340 | ||
|
|
451eb4a639 | ||
|
|
5a93733794 | ||
|
|
7b58359e29 | ||
|
|
213f4fc3b8 | ||
|
|
0bc30d2afd | ||
|
|
6377d1f670 | ||
|
|
bd02a0af83 | ||
|
|
099a9abeaa | ||
|
|
d00ff58b40 | ||
|
|
be28db18f6 | ||
|
|
8c24792d5b | ||
|
|
a8b74fe11a | ||
|
|
7f1d868eeb | ||
|
|
2a14ee5b05 | ||
|
|
6586a80277 | ||
|
|
439bdf6b3d | ||
|
|
91d81f336f | ||
|
|
eab58ce084 | ||
|
|
6e59d29bec | ||
|
|
998f438e0e | ||
|
|
572e8784e4 | ||
|
|
30ba037a58 | ||
|
|
1f76964270 | ||
|
|
038d105050 | ||
|
|
304c1cbb2e | ||
|
|
52df061ef2 | ||
|
|
0b54487e48 | ||
|
|
f13fefae3a | ||
|
|
9ebe68f394 | ||
|
|
83e10ea226 | ||
|
|
7d85f01624 | ||
|
|
3819e649aa | ||
|
|
f5b6286aad | ||
|
|
cd9138e4c3 | ||
|
|
c9fc442271 | ||
|
|
b6a11d898d | ||
|
|
7e33772979 | ||
|
|
418cf84af8 | ||
|
|
117875fe2f | ||
|
|
b50a57615b | ||
|
|
e66ae41862 | ||
|
|
90a82bf217 | ||
|
|
e67acd6217 | ||
|
|
29cbfa61cd | ||
|
|
be67440d45 | ||
|
|
d8f4cbc61a | ||
|
|
34ec610d0b | ||
|
|
8f21824c60 | ||
|
|
c9b118a5a3 | ||
|
|
9d1f75b6a6 | ||
|
|
bd37686ec7 | ||
|
|
6dc0473efa | ||
|
|
ab46618d9e | ||
|
|
0fea031f59 | ||
|
|
0faafe7650 | ||
|
|
5c61e821d5 | ||
|
|
c9caafc777 | ||
|
|
a0e429c627 | ||
|
|
dd9f531e03 | ||
|
|
fce7ca9248 | ||
|
|
931c22c9a2 | ||
|
|
2b9f306d4f | ||
|
|
68824e3a40 | ||
|
|
f390041d13 | ||
|
|
c3c3b6165e | ||
|
|
d0b0f2a11c | ||
|
|
e74c4bc880 | ||
|
|
df8378bccf | ||
|
|
c508fe76f4 | ||
|
|
ab7835da42 | ||
|
|
0b5846303f | ||
|
|
274c996534 | ||
|
|
83ecf394f6 | ||
|
|
e0b1f1a237 | ||
|
|
105f3b7852 | ||
|
|
f90d2d32f2 | ||
|
|
08264388f8 | ||
|
|
5c4ac57d11 | ||
|
|
7c3ac60d06 | ||
|
|
84ac54a9d3 | ||
|
|
daf6fc4cf7 | ||
|
|
003091472d | ||
|
|
afd3349c7b | ||
|
|
1b6dfe5863 | ||
|
|
3b4d26e785 | ||
|
|
5efd1a6df1 | ||
|
|
5d6809bc1f | ||
|
|
b9939318a9 | ||
|
|
68c361ba24 | ||
|
|
1261cc681d | ||
|
|
30669ec1c5 | ||
|
|
9db205b570 | ||
|
|
03bb569e56 | ||
|
|
40f2436f2e | ||
|
|
e0f09eb8ef | ||
|
|
e9e8686b20 | ||
|
|
d8680a9350 | ||
|
|
2401fd7f9d | ||
|
|
b1b9520606 | ||
|
|
f358bcc3c6 | ||
|
|
8734425353 | ||
|
|
77c4de8af1 | ||
|
|
4f974be8f9 | ||
|
|
93df6da48b | ||
|
|
4ca457a732 | ||
|
|
1391fae398 | ||
|
|
940852ce0e | ||
|
|
9abe2c2ee8 | ||
|
|
b8cd6e9945 | ||
|
|
48d6575dc7 | ||
|
|
bea9fb2ccd | ||
|
|
99cd962ca2 | ||
|
|
21032442c6 | ||
|
|
c84831a448 | ||
|
|
1c9c04de4a | ||
|
|
afe61935b7 | ||
|
|
5fe55b6ac3 | ||
|
|
d54788d105 | ||
|
|
597c4d0177 | ||
|
|
5b5391c7c5 | ||
|
|
35ee57890c | ||
|
|
2a32d8a44c | ||
|
|
4752a772b2 | ||
|
|
5d91c5817d | ||
|
|
d9045c368e | ||
|
|
1624b60f30 | ||
|
|
6fcd81dcf1 | ||
|
|
f05eb57267 | ||
|
|
33ad2ec751 | ||
|
|
04b2ac548f | ||
|
|
e1e0e0e74c | ||
|
|
9b0bdc1a53 | ||
|
|
dde7029655 | ||
|
|
895a0435b3 | ||
|
|
7664e25487 | ||
|
|
49727f9a86 | ||
|
|
bab27c8a69 | ||
|
|
4d747e036d | ||
|
|
0dc183e567 | ||
|
|
ca1364c99a | ||
|
|
8056012011 | ||
|
|
826b437ce6 | ||
|
|
fd4d13ca16 | ||
|
|
048fc8c6e5 | ||
|
|
3d124afa5c | ||
|
|
213424740e | ||
|
|
329cc98dd6 | ||
|
|
432c2c1fe2 | ||
|
|
2c995830ae | ||
|
|
b2c5613e4f | ||
|
|
2ce9816cab | ||
|
|
d6674cb53b | ||
|
|
15c685e425 | ||
|
|
1aa1e99164 | ||
|
|
cc817a3323 | ||
|
|
a9f00a9586 | ||
|
|
943d29713b | ||
|
|
b3c8899439 | ||
|
|
7072f10898 | ||
|
|
4b8807e24f | ||
|
|
661f3b16f5 | ||
|
|
61f171c249 | ||
|
|
cad45d0bba | ||
|
|
944c5da6c5 | ||
|
|
21a4c7335f | ||
|
|
df8cee80ae | ||
|
|
2852b121b3 | ||
|
|
ae7be0421d | ||
|
|
0d1a770abb | ||
|
|
6a28696c41 | ||
|
|
d8f815b560 | ||
|
|
13ac47938a | ||
|
|
f0c6de37d0 | ||
|
|
068d5e62ae | ||
|
|
93904e141d | ||
|
|
ac9e6304d6 | ||
|
|
a4b9d2f026 | ||
|
|
20713a9b33 | ||
|
|
e89e8cbae6 | ||
|
|
e5a606ee24 | ||
|
|
e36de981a4 | ||
|
|
6d0f1cb988 | ||
|
|
ae008e3a6f | ||
|
|
55d7861be9 | ||
|
|
5425df746e | ||
|
|
87ec67ac86 | ||
|
|
6899190b2c | ||
|
|
84b5ac3d7f | ||
|
|
49aa1a2756 | ||
|
|
c316b6eb64 | ||
|
|
04175a1aa3 | ||
|
|
6c656ef547 | ||
|
|
2fe68bc5b5 | ||
|
|
c2ec9ffcde | ||
|
|
b06a48a474 | ||
|
|
73ede25e37 | ||
|
|
fa36a2fe90 | ||
|
|
67e60855a5 | ||
|
|
655565000b | ||
|
|
b0cf9c13d8 | ||
|
|
19ffcbdd73 | ||
|
|
a7a2ef66c6 | ||
|
|
1dbccc91f3 | ||
|
|
50d70628a2 | ||
|
|
38a5a9131b | ||
|
|
572616b873 | ||
|
|
8e8449195b | ||
|
|
f3bf993b12 | ||
|
|
55c32f7257 | ||
|
|
b5f16a44ad | ||
|
|
da68ff9db6 | ||
|
|
ee40ca083d | ||
|
|
aeccfd67ed | ||
|
|
6aee2d9c25 | ||
|
|
3303bfb64b | ||
|
|
fb18ef5160 | ||
|
|
cefa6cd2bd | ||
|
|
8e83f49848 | ||
|
|
5a366c3d6a | ||
|
|
840079c0b3 | ||
|
|
3879c4ada7 | ||
|
|
7050e5eeca | ||
|
|
b1f2728eb3 | ||
|
|
9d1c2ab07b | ||
|
|
5cd15373e3 | ||
|
|
4156904357 | ||
|
|
0db2503e47 | ||
|
|
7b7106ed37 | ||
|
|
999c606fec | ||
|
|
5334df52cc | ||
|
|
77bfeda0d6 | ||
|
|
9e2a6b3a4a | ||
|
|
56a2f9c7af | ||
|
|
827a4dd5c5 | ||
|
|
57cc0b233c | ||
|
|
986d031547 | ||
|
|
1c5a0a2d18 | ||
|
|
a3f755d244 | ||
|
|
aa52103c51 | ||
|
|
a840ed6828 | ||
|
|
80cb18e13f | ||
|
|
31f1f8850a | ||
|
|
01ce07a58f | ||
|
|
fa4fd61a04 | ||
|
|
86919b2609 | ||
|
|
44d8690a66 | ||
|
|
0af6b88ca9 | ||
|
|
5cb18617cc | ||
|
|
ed8225d062 | ||
|
|
7af140f834 | ||
|
|
dcbada0d29 | ||
|
|
bd41613f86 | ||
|
|
22841766c7 | ||
|
|
457736ab3b | ||
|
|
c5a328100c | ||
|
|
e7fe3ef93d | ||
|
|
8f259c0bd4 | ||
|
|
5868f1385f | ||
|
|
a0cb54c9b0 | ||
|
|
20c8530c71 | ||
|
|
7f0125b716 | ||
|
|
fa772df643 | ||
|
|
49b59ff2db | ||
|
|
64c98c0ec0 | ||
|
|
29bf487476 | ||
|
|
e4c9c42f06 | ||
|
|
0f518a9cc3 | ||
|
|
f98ac1c5eb | ||
|
|
1927a15490 | ||
|
|
d2526d9789 | ||
|
|
45918171af | ||
|
|
dcc39401b7 | ||
|
|
61a26e018e | ||
|
|
eea271c335 | ||
|
|
abc99bc7b6 | ||
|
|
223bb67052 |
+620
-467
File diff suppressed because it is too large
Load Diff
@@ -9,6 +9,7 @@ branches:
|
||||
only:
|
||||
- master
|
||||
- develop
|
||||
- /feature\/.*/
|
||||
|
||||
dist: trusty
|
||||
|
||||
|
||||
@@ -19,23 +19,28 @@
|
||||
# ======= configured locations (below).
|
||||
#
|
||||
# --prefix=<PREFIX> Install architecture independent files here.
|
||||
# Default; C:\Boost on Win32
|
||||
# Default; /usr/local on Unix. Linux, etc.
|
||||
# Default: C:\Boost on Windows
|
||||
# Default: /usr/local on Unix, Linux, etc.
|
||||
#
|
||||
# --exec-prefix=<EPREFIX> Install architecture dependent files here.
|
||||
# Default; <PREFIX>
|
||||
# Default: <PREFIX>
|
||||
#
|
||||
# --libdir=<DIR> Install library files here.
|
||||
# Default; <EPREFIX>/lib
|
||||
# --libdir=<LIBDIR> Install library files here.
|
||||
# Default: <EPREFIX>/lib
|
||||
#
|
||||
# --includedir=<HDRDIR> Install header files here.
|
||||
# Default; <PREFIX>/include
|
||||
# Default: <PREFIX>/include
|
||||
#
|
||||
# --cmakedir=<CMAKEDIR> Install CMake configuration files here.
|
||||
# Default: <LIBDIR>/cmake
|
||||
#
|
||||
# --no-cmake-config Do not install CMake configuration files.
|
||||
#
|
||||
# stage Build and install only compiled library files to the
|
||||
# ===== stage directory.
|
||||
#
|
||||
# --stagedir=<STAGEDIR> Install library files here
|
||||
# Default; ./stage
|
||||
# Default: ./stage
|
||||
#
|
||||
# Other Options:
|
||||
#
|
||||
@@ -135,9 +140,10 @@ import "class" : new ;
|
||||
import property-set ;
|
||||
import threadapi-feature ;
|
||||
import option ;
|
||||
import tools/boost_install/boost-install ;
|
||||
|
||||
path-constant BOOST_ROOT : . ;
|
||||
constant BOOST_VERSION : 1.69.0 ;
|
||||
constant BOOST_VERSION : 1.70.0 ;
|
||||
constant BOOST_JAMROOT_MODULE : $(__name__) ;
|
||||
|
||||
boostcpp.set-version $(BOOST_VERSION) ;
|
||||
@@ -179,6 +185,7 @@ project boost
|
||||
: usage-requirements <include>.
|
||||
: default-build
|
||||
<visibility>hidden
|
||||
<threading>multi
|
||||
: build-dir bin.v2
|
||||
;
|
||||
|
||||
@@ -244,7 +251,7 @@ explicit-alias serialization : libs/serialization/build//boost_serialization ;
|
||||
explicit-alias wserialization : libs/serialization/build//boost_wserialization ;
|
||||
for local l in $(all-libraries)
|
||||
{
|
||||
if ! $(l) in test graph serialization
|
||||
if ! $(l) in test graph serialization headers
|
||||
{
|
||||
explicit-alias $(l) : libs/$(l)/build//boost_$(l) ;
|
||||
}
|
||||
@@ -286,31 +293,18 @@ if [ path.exists $(BOOST_ROOT)/libs/wave/tool/build ]
|
||||
use-project /boost/libs/wave/tool : libs/wave/tool/build ;
|
||||
}
|
||||
|
||||
# Make the boost-install rule visible in subprojects
|
||||
|
||||
# This rule should be called from libraries' Jamfiles and will create two
|
||||
# targets, "install" and "stage", that will install or stage that library. The
|
||||
# --prefix option is respected, but --with and --without options, naturally, are
|
||||
# ignored.
|
||||
#
|
||||
# - libraries -- list of library targets to install.
|
||||
#
|
||||
|
||||
rule boost-install ( libraries * )
|
||||
{
|
||||
package.install install
|
||||
: <dependency>/boost//install-proper-headers $(install-requirements)
|
||||
: # No binaries
|
||||
: $(libraries)
|
||||
: # No headers, it is handled by the dependency.
|
||||
;
|
||||
|
||||
local stage-locate = [ option.get stagedir : $(BOOST_ROOT)/stage ] ;
|
||||
|
||||
install stage : $(libraries) : <location>$(stage-locate)/lib ;
|
||||
|
||||
module [ CALLER_MODULE ]
|
||||
{
|
||||
explicit stage ;
|
||||
explicit install ;
|
||||
}
|
||||
boost-install.boost-install $(libraries) ;
|
||||
}
|
||||
|
||||
# Creates a library target, adding autolink support and also creates
|
||||
@@ -329,14 +323,6 @@ rule boost-lib ( name : sources * : requirements * : default-build * : usage-req
|
||||
}
|
||||
|
||||
|
||||
headers =
|
||||
# The .SUNWCCh files are present in tr1 include directory and have to be
|
||||
# installed (see http://lists.boost.org/Archives/boost/2007/05/121430.php).
|
||||
[ path.glob-tree $(BOOST_ROOT)/boost : *.hpp *.ipp *.h *.inc *.SUNWCCh : CVS .svn ]
|
||||
[ path.glob-tree $(BOOST_ROOT)/boost/compatibility/cpp_c_headers : c* : CVS .svn ]
|
||||
[ path.glob $(BOOST_ROOT)/boost/tr1/tr1 : * : bcc32 sun CVS .svn ]
|
||||
;
|
||||
|
||||
# Declare special top-level targets that build and install the desired variants
|
||||
# of the libraries.
|
||||
boostcpp.declare-targets $(all-libraries) : $(headers) : $(all-headers) ;
|
||||
boostcpp.declare-targets $(all-libraries) ;
|
||||
|
||||
+40
-119
@@ -109,7 +109,16 @@ if $(layout) = system && $(build-type) = complete
|
||||
|
||||
# Possible stage only location.
|
||||
stage-locate = [ option.get stagedir ] ;
|
||||
stage-locate ?= stage ;
|
||||
|
||||
if $(stage-locate)
|
||||
{
|
||||
stage-locate = [ path.root [ path.make $(stage-locate) ] [ path.pwd ] ] ;
|
||||
}
|
||||
else
|
||||
{
|
||||
stage-locate = $(BOOST_ROOT)/stage ;
|
||||
}
|
||||
|
||||
BOOST_STAGE_LOCATE = $(stage-locate) ;
|
||||
|
||||
# Custom build ID.
|
||||
@@ -213,9 +222,27 @@ rule tag ( name : type ? : property-set )
|
||||
rule python-tag ( name : type ? : property-set )
|
||||
{
|
||||
local result = $(name) ;
|
||||
if $(type) in STATIC_LIB SHARED_LIB IMPORT_LIB && $(PYTHON_ID)
|
||||
|
||||
if $(type) in STATIC_LIB SHARED_LIB IMPORT_LIB
|
||||
{
|
||||
result = $(result)-$(PYTHON_ID) ;
|
||||
# Add Python version suffix
|
||||
|
||||
local version = [ $(property-set).get <python> ] ;
|
||||
|
||||
local major-minor = [ MATCH "^([0-9]+)\.([0-9]+)" : $(version) ] ;
|
||||
local suffix = $(major-minor:J="") ;
|
||||
|
||||
if $(suffix)
|
||||
{
|
||||
result = $(result)$(suffix) ;
|
||||
}
|
||||
|
||||
# Add PYTHON_ID if supplied
|
||||
|
||||
if $(PYTHON_ID)
|
||||
{
|
||||
result = $(result)-$(PYTHON_ID) ;
|
||||
}
|
||||
}
|
||||
|
||||
# forward to the boost tagging rule
|
||||
@@ -231,118 +258,14 @@ rule python-tag ( name : type ? : property-set )
|
||||
#
|
||||
################################################################################
|
||||
|
||||
rule filtered-target ( name : message + : sources + : requirements * )
|
||||
{
|
||||
message $(name)-message : warning\: $(message) ;
|
||||
alias $(name) : $(sources) : $(requirements) ;
|
||||
alias $(name) : $(name)-message ;
|
||||
|
||||
local p = [ project.current ] ;
|
||||
$(p).mark-target-as-explicit $(name) ;
|
||||
$(p).mark-target-as-explicit $(name)-message ;
|
||||
}
|
||||
|
||||
rule declare_install_and_stage_proper_targets ( libraries * : headers * : modular-headers * )
|
||||
rule declare_install_and_stage_proper_targets ( libraries * )
|
||||
{
|
||||
local p = [ project.current ] ;
|
||||
for local l in $(libraries)
|
||||
{
|
||||
if $(l) = locale
|
||||
{
|
||||
filtered-target $(l)-for-install :
|
||||
Skipping Boost.Locale library with threading=single. :
|
||||
libs/$(l)/build : <threading>multi ;
|
||||
}
|
||||
else if $(l) = wave
|
||||
{
|
||||
filtered-target $(l)-for-install :
|
||||
Skipping Boost.Wave library with threading=single. :
|
||||
libs/$(l)/build : <threading>multi ;
|
||||
}
|
||||
else if $(l) = thread
|
||||
{
|
||||
filtered-target $(l)-for-install :
|
||||
Skipping Boost.Thread library with threading=single. :
|
||||
libs/$(l)/build : <threading>multi ;
|
||||
}
|
||||
else
|
||||
{
|
||||
alias $(l)-for-install : libs/$(l)/build ;
|
||||
$(p).mark-target-as-explicit $(l)-for-install ;
|
||||
}
|
||||
}
|
||||
local library-targets = $(libraries)-for-install ;
|
||||
|
||||
local install-requirements ;
|
||||
|
||||
if $(layout-versioned)
|
||||
{
|
||||
install-requirements +=
|
||||
<install-header-subdir>boost-$(BOOST_VERSION_TAG)/boost ;
|
||||
}
|
||||
else
|
||||
{
|
||||
install-requirements += <install-header-subdir>boost ;
|
||||
}
|
||||
|
||||
if [ os.name ] = NT
|
||||
{
|
||||
install-requirements += <install-default-prefix>C:/Boost ;
|
||||
}
|
||||
else
|
||||
{
|
||||
install-requirements += <install-default-prefix>/usr/local ;
|
||||
}
|
||||
|
||||
p = [ project.current ] ;
|
||||
|
||||
# These headers will be installed from the modular
|
||||
# layout, and should be ignored in the global boost/
|
||||
local skip-headers ;
|
||||
# Install modular headers.
|
||||
for local lib in $(modular-headers)
|
||||
{
|
||||
local header-root = $(BOOST_ROOT)/libs/$(lib)/include/boost ;
|
||||
local lib-headers =
|
||||
[ path.glob-tree $(header-root) : *.hpp *.ipp *.h *.inc *.SUNWCCh : CVS .svn ]
|
||||
[ path.glob-tree $(header-root)/compatibility/cpp_c_headers : c* : CVS .svn ]
|
||||
[ path.glob $(header-root)/tr1/tr1 : * : bcc32 sun CVS .svn ]
|
||||
;
|
||||
skip-headers += [ sequence.transform path.relative-to [ path.make $(header-root) ] : $(lib-headers) ] ;
|
||||
package.install install-$(lib)-headers
|
||||
: <install-source-root>$(header-root)
|
||||
$(install-requirements)
|
||||
<install-no-version-symlinks>on
|
||||
: # binaries
|
||||
: # libraries
|
||||
: $(lib-headers)
|
||||
;
|
||||
$(p).mark-target-as-explicit install-$(lib)-headers ;
|
||||
}
|
||||
|
||||
# Filter out headers that were created by b2 headers
|
||||
local header-root = [ path.make $(BOOST_ROOT)/boost ] ;
|
||||
headers = [ set.difference $(headers) : $(header-root)/$(skip-headers) ] ;
|
||||
|
||||
# Complete install.
|
||||
package.install install-proper
|
||||
: <install-source-root>$(BOOST_ROOT)/boost
|
||||
$(install-requirements)
|
||||
<install-no-version-symlinks>on
|
||||
|
||||
:
|
||||
: $(libraries)-for-install
|
||||
: $(headers)
|
||||
;
|
||||
alias install-proper : libs/$(libraries)/build//install ;
|
||||
$(p).mark-target-as-explicit install-proper ;
|
||||
|
||||
# Install just library.
|
||||
install stage-proper
|
||||
: $(libraries)-for-install
|
||||
: <location>$(stage-locate)/lib
|
||||
<install-dependencies>on <install-type>LIB
|
||||
<install-no-version-symlinks>on
|
||||
;
|
||||
alias stage-proper : libs/$(libraries)/build//stage ;
|
||||
$(p).mark-target-as-explicit stage-proper ;
|
||||
}
|
||||
|
||||
@@ -488,13 +411,13 @@ class top-level-target : alias-target-class
|
||||
}
|
||||
}
|
||||
|
||||
rule declare_top_level_targets ( libraries * : headers * : modular-headers * )
|
||||
rule declare_top_level_targets ( libraries * )
|
||||
{
|
||||
declare_install_and_stage_proper_targets $(libraries) : $(headers) : $(modular-headers) ;
|
||||
declare_install_and_stage_proper_targets $(libraries) ;
|
||||
|
||||
targets.create-metatarget top-level-target : [ project.current ]
|
||||
: install
|
||||
: install-$(modular-headers)-headers install-proper
|
||||
: install-proper
|
||||
;
|
||||
targets.create-metatarget top-level-target : [ project.current ]
|
||||
: stage
|
||||
@@ -513,9 +436,6 @@ rule declare_top_level_targets ( libraries * : headers * : modular-headers * )
|
||||
}
|
||||
|
||||
|
||||
stage-abs = [ path.native [ path.root $(stage-locate)/lib [ path.pwd ] ] ] ;
|
||||
|
||||
|
||||
################################################################################
|
||||
#
|
||||
# 4. Add hook to report configuration before the build, and confirmation with
|
||||
@@ -542,7 +462,6 @@ rule pre-build ( )
|
||||
IMPORT $(__name__) : pre-build : : $(__name__).pre-build ;
|
||||
build-system.set-pre-build-hook $(__name__).pre-build ;
|
||||
|
||||
# FIXME: Revise stage_abs.
|
||||
rule post-build ( ok ? )
|
||||
{
|
||||
if forward in [ modules.peek : top-level-targets ]
|
||||
@@ -550,6 +469,8 @@ rule post-build ( ok ? )
|
||||
if $(ok)
|
||||
{
|
||||
local include-path = [ path.native $(BOOST_ROOT) ] ;
|
||||
local stage-abs = [ path.native $(stage-locate)/lib ] ;
|
||||
|
||||
ECHO "
|
||||
|
||||
The Boost C++ Libraries were successfully built!
|
||||
@@ -623,7 +544,7 @@ rule libraries-to-install ( existing-libs * )
|
||||
}
|
||||
}
|
||||
|
||||
rule declare-targets ( all-libraries * : headers * : modular-headers * )
|
||||
rule declare-targets ( all-libraries * )
|
||||
{
|
||||
configure.register-components $(all-libraries) ;
|
||||
|
||||
@@ -641,7 +562,7 @@ rule declare-targets ( all-libraries * : headers * : modular-headers * )
|
||||
EXIT ;
|
||||
}
|
||||
|
||||
declare_top_level_targets $(libraries) : $(headers) : $(modular-headers) ;
|
||||
declare_top_level_targets $(libraries) ;
|
||||
}
|
||||
|
||||
# Returns the properties identifying the toolset. We'll use them
|
||||
|
||||
-459
@@ -1,459 +0,0 @@
|
||||
# Boost.Build support specific for the Boost C++ Libraries.
|
||||
# Copyright Vladimir Prus 2002-2010.
|
||||
# Copyright Dave Abrahams 2005-2006.
|
||||
# Copyright Rene Rivera 2005-2007.
|
||||
# Copyright Douglas Gregor 2005.
|
||||
#
|
||||
# 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 b2.util.option as option
|
||||
import b2.build.feature as feature
|
||||
import b2.build.virtual_target as virtual_target
|
||||
import b2.build.targets as targets
|
||||
import b2.build.property_set as property_set
|
||||
import b2.build_system as build_system
|
||||
import b2.build.configure as configure
|
||||
import b2.tools.stage as stage
|
||||
import b2.tools.package as package
|
||||
|
||||
import b2.util.regex as regex
|
||||
import b2.util.set as set
|
||||
|
||||
from b2.build.alias import AliasTarget, alias
|
||||
from b2.tools.message import message
|
||||
|
||||
from b2.manager import get_manager
|
||||
from b2.util import bjam_signature, value_to_jam
|
||||
from b2.util.sequence import unique
|
||||
|
||||
|
||||
|
||||
import sys
|
||||
import os
|
||||
|
||||
# FIXME: temporary fix until I port the xsltproc module
|
||||
feature.feature("xsl:param", [], ["free"])
|
||||
|
||||
|
||||
##############################################################################
|
||||
#
|
||||
# 0. General setup. Parse options, check them.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
BOOST_ROOT = get_manager().projects().loaded_tool_module_path_[__name__]
|
||||
|
||||
print "HERE I AM"
|
||||
@bjam_signature((["version"],))
|
||||
def set_version(version):
|
||||
global BOOST_VERSION, BOOST_VERSION_TAG
|
||||
|
||||
BOOST_VERSION = version
|
||||
pieces = version.split(".")
|
||||
if pieces[2] == "0":
|
||||
pieces = pieces[0:2]
|
||||
|
||||
|
||||
BOOST_VERSION_TAG = "_".join(pieces)
|
||||
|
||||
# Option to choose how many variants to build. The default is "minimal".
|
||||
build_type = option.get("build-type", "minimal")
|
||||
if not build_type in ["minimal", "complete"]:
|
||||
get_manager().errors()("The value of the --build-type option should be either 'complete' or 'minimal'")
|
||||
|
||||
# What kind of layout are we doing?
|
||||
layout = option.get("layout")
|
||||
# On Windows, we used versioned layout by default in order to
|
||||
# be compatible with autolink. On other systems, we use system
|
||||
# layout which is what every other program uses. Note that windows
|
||||
# check is static, and won't
|
||||
if not layout:
|
||||
if os.name == "nt":
|
||||
layout = "versioned"
|
||||
else:
|
||||
layout = "system"
|
||||
|
||||
if layout == "system" and build_type == "complete":
|
||||
get_manager().errors()(
|
||||
"Cannot use --layout=system with --build-type complete.\n"
|
||||
"Please used either --layout=versioned or --layout=tagged\n"
|
||||
"if you wish to build multiple variants.")
|
||||
|
||||
# Possible stage only location.
|
||||
stage_locate = option.get("stagedir", "stage")
|
||||
BOOST_STAGE_LOCATE = stage_locate
|
||||
|
||||
# Custom build ID.
|
||||
build_id = option.get("buildid")
|
||||
if build_id:
|
||||
BUILD_ID = re.sub("[*\\/:.\"\' ]", "_", build_id)
|
||||
|
||||
# Python build id (only for Python libraries)
|
||||
python_id = option.get("python-buildid")
|
||||
if python_id:
|
||||
PYTHON_ID = re.sub("[*\\/:.\"\' ]", "_", python_id)
|
||||
|
||||
##############################################################################
|
||||
#
|
||||
# 1. The 'tag' function that adds decoration suitable to the properties if
|
||||
# versioned or tagged layout is requested. This function is called from
|
||||
# Jamroot
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
def tag(name, type, ps):
|
||||
if type in ["STATIC_LIB", "SHARED_LIB", "IMPORT_LIB"]:
|
||||
|
||||
pass
|
||||
|
||||
|
||||
## FIXME
|
||||
## if $(layout) = versioned
|
||||
## {
|
||||
## result = [ common.format-name
|
||||
## <base> <toolset> <threading> <runtime> -$(BOOST_VERSION_TAG)
|
||||
## -$(BUILD_ID)
|
||||
## : $(name) : $(type) : $(property-set) ] ;
|
||||
## }
|
||||
## else if $(layout) = tagged
|
||||
## {
|
||||
## result = [ common.format-name
|
||||
## <base> <threading> <runtime>
|
||||
## -$(BUILD_ID)
|
||||
## : $(name) : $(type) : $(property-set) ] ;
|
||||
## }
|
||||
## else if $(layout) = system
|
||||
## {
|
||||
## result = [ common.format-name
|
||||
## <base>
|
||||
## -$(BUILD_ID)
|
||||
## : $(name) : $(type) : $(property-set) ] ;
|
||||
## }
|
||||
## else
|
||||
## {
|
||||
## ECHO "error: invalid layout '$(layout:E=)'" ;
|
||||
## EXIT ;
|
||||
## }
|
||||
|
||||
## # Optionally add version suffix. On NT, library with version suffix
|
||||
## # will not be recognized by linkers. On CYGWIN, we get strage
|
||||
## # duplicate symbol errors when library is generated with version
|
||||
## # suffix. On OSX, version suffix is not needed -- the linker expects
|
||||
## # the libFoo.1.2.3.dylib format. AIX linkers do not accept version
|
||||
## # suffixes either. Pgi compilers can not accept library with version
|
||||
## # suffix.
|
||||
## if $(type) = SHARED_LIB &&
|
||||
## ( ! ( [ $(property-set).get <target-os> ] in windows cygwin darwin aix ) &&
|
||||
## ! ( [ $(property-set).get <toolset> ] in pgi ) )
|
||||
## {
|
||||
## result = $(result).$(BOOST_VERSION) ;
|
||||
## }
|
||||
|
||||
## return $(result) ;
|
||||
## }
|
||||
|
||||
|
||||
##############################################################################
|
||||
#
|
||||
# 2. Declare targets that build and install all libraries. Specifically:
|
||||
#
|
||||
# - 'stage-proper' that puts all libraries in stage/lib
|
||||
# - 'install-proper' that install libraries and headers to system location
|
||||
# - 'stage-unversioned' that creates links to libraries without boost veriosn
|
||||
# in name
|
||||
# - 'install-unversioned' which creates unversioned linked to installed
|
||||
# libraries.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
# Worker function suitable to the 'generate' metatarget. Creates a link
|
||||
# to 'source', striping any version number from the name.
|
||||
def make_unversioned_links(project, name, ps, sources):
|
||||
|
||||
result = []
|
||||
filtered = []
|
||||
nt = os.name == "nt"
|
||||
|
||||
# Collect the libraries that have the version number in 'filtered'.
|
||||
for s in sources:
|
||||
if nt:
|
||||
m = s.name().endswith(".lib")
|
||||
else:
|
||||
m = re.match("(.*[.]so[.0-9]+)" "(.*[.]dylib)" "(.*[.]a)", s.name())
|
||||
|
||||
if m:
|
||||
filtered.append(s)
|
||||
|
||||
# Create links without version.
|
||||
for s in filtered:
|
||||
a = virtual_target.NonScanningAction(s, "symlink.ln", s.action().properties())
|
||||
name = s.name()
|
||||
|
||||
if nt:
|
||||
m = re.match("(.*)-[0-9_]+(.*[.]lib)", name)
|
||||
else:
|
||||
m = re.match("(.*)-[0-9_]+(.*[.]so)[.0-9]*", name)
|
||||
if not m:
|
||||
m = re.match("(.*)-[0-9_]+(.*[.]dylib)", name)
|
||||
if not m:
|
||||
m = re.match("(.*)-[0-9_]+(.*[.]a)", name)
|
||||
if not m:
|
||||
m = re.match("(.*)-[0-9_]+(.*[.]dll[.]a)", name)
|
||||
|
||||
new_name = m.group(1) + m.group(2)
|
||||
result.append(virtual_target.FileTarget(new_name, s.type(), project, a,
|
||||
exact=True))
|
||||
|
||||
return result
|
||||
|
||||
def declare_install_and_stage_proper_targets(libraries, headers):
|
||||
|
||||
install_requirements = ["<install-source-root>" + BOOST_ROOT + "/boost"]
|
||||
if layout == "versioned":
|
||||
install_requirements.append("<install-header-subdir>boost-" + BOOST_VERSION_TAG + "/boost")
|
||||
else:
|
||||
install_requirements.append("<install-header-subdir>boost")
|
||||
|
||||
if os.name == "nt":
|
||||
default_prefix = "C:/Boost"
|
||||
else:
|
||||
default_prefix = "/usr/local"
|
||||
|
||||
install_requirements.append("<install-default-prefix>" + default_prefix)
|
||||
|
||||
p = get_manager().projects().current()
|
||||
package.install("install-proper",
|
||||
install_requirements + ["<install-no-version-symlinks>on"],
|
||||
[],
|
||||
["libs/%s/build" % l for l in libraries],
|
||||
headers)
|
||||
p.mark_targets_as_explicit(["install-proper"])
|
||||
|
||||
stage.install("stage-proper",
|
||||
["libs/%s/build" % l for l in libraries],
|
||||
["<location>" + stage_locate + "/lib",
|
||||
"<install-dependencies>on", "<install-type>LIB",
|
||||
"<install-no-version-symlinks>on"])
|
||||
p.mark_targets_as_explicit(["stage-proper"])
|
||||
|
||||
gr = value_to_jam(make_unversioned_links)
|
||||
gr = "<generating-rule>" + gr
|
||||
|
||||
|
||||
if layout == "versioned":
|
||||
generate("stage-unversioned", ["stage-proper"], [gr])
|
||||
generate("install-unversioned", ["install-proper"], [gr])
|
||||
else:
|
||||
# Create do-nothing aliases.
|
||||
alias("stage-unversioned")
|
||||
alias("install-unversioned")
|
||||
|
||||
p.mark_targets_as_explicit(["stage-unversioned", "install-unversioned"])
|
||||
|
||||
|
||||
##############################################################################
|
||||
#
|
||||
# 3. Declare top-level targets 'stage' and 'install'. These examine
|
||||
# the --build-type option and, in case it's 'complete', build the
|
||||
# 'install-proper' and 'stage-proper' targets with a number of
|
||||
# property sets.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
# The names of all top-level targets that were built.
|
||||
top_level_targets = []
|
||||
|
||||
class TopLevelTarget(AliasTarget):
|
||||
|
||||
def __init__(self, name, project, sources, requirements, default_build,
|
||||
usage_requirements):
|
||||
|
||||
AliasTarget.__init__(self, name, project, sources, requirements, default_build,
|
||||
usage_requirements)
|
||||
|
||||
# On Linux, we build release variant by default, since few users will
|
||||
# ever want to debug C++ Boost libraries, and there's no ABI
|
||||
# incompatibility between debug and release variants. We build
|
||||
# shared and static libraries since that's what most packages
|
||||
# seem to provide (.so in libfoo and .a in libfoo-dev).
|
||||
self.minimal_properties = property_set.create([
|
||||
"<variant>release", "<threading>multi", "<link>shared", "<link>static",
|
||||
"<runtime-link>shared"])
|
||||
# On Windows, new IDE projects use:
|
||||
#
|
||||
# runtime-link=dynamic, threading=multi, variant=(debug|release)
|
||||
#
|
||||
# and in addition, C++ Boost's autolink defaults to static linking.
|
||||
self.minimal_properties_win = property_set.create([
|
||||
"<variant>debug", "<variant>release", "<threading>multi", "<link>static",
|
||||
"<runtime-link>shared"])
|
||||
|
||||
self.complete_properties = property_set.create([
|
||||
"<variant>debug", "<variant>release",
|
||||
"<threading>single", "<threading>multi"
|
||||
"<link>shared", "<link>static",
|
||||
"<runtime-link>shared", "<runtime-link>static"])
|
||||
|
||||
def generate(self, ps):
|
||||
global top_level_targets
|
||||
top_level_targets.append(self.name())
|
||||
|
||||
if build_type == "minimal":
|
||||
|
||||
os = ps.get('target-os')
|
||||
# Because we completely override parent's 'generate'
|
||||
# we need to check for default value of feature ourself.
|
||||
if not os:
|
||||
os = feature.get('target-os').default()
|
||||
|
||||
if os == "windows":
|
||||
expanded = targets.apply_default_build(ps, self.minimal_properties_win)
|
||||
else:
|
||||
expanded = targets.apply_default_build(ps, self.minimal_properties)
|
||||
return self.build_multiple(expanded)
|
||||
|
||||
elif build_type == "complete":
|
||||
|
||||
expanded = targets.apply_default_build(ps, self.complete_properties)
|
||||
|
||||
# Filter inappopriate combinations
|
||||
filtered = []
|
||||
for p in expanded:
|
||||
|
||||
# See comment in handle-static-runtime regarding this logic.
|
||||
if ps.get("link") == ["shared"] and p.get("runtime-link") == ["static"] \
|
||||
and p.get("toolset") != ["cw"]:
|
||||
# Skip this
|
||||
pass
|
||||
else:
|
||||
filtered.append(p)
|
||||
|
||||
return build_multiple(filtered)
|
||||
|
||||
else:
|
||||
|
||||
get_manager().errors("Unknown build type")
|
||||
|
||||
def build_multiple(self, property_sets):
|
||||
|
||||
usage_requirements = property_set.empty()
|
||||
result = []
|
||||
for p in property_sets:
|
||||
r = AliasTarget.generate(self, p)
|
||||
if r:
|
||||
usage_requirements = usage_requirements.add(r.usage_requirements())
|
||||
result.extend(r.targets())
|
||||
|
||||
return targets.GenerateResult(usage_requirements, unique(result))
|
||||
|
||||
|
||||
def declare_top_level_targets(libraries, headers):
|
||||
|
||||
declare_install_and_stage_proper_targets(libraries, headers)
|
||||
|
||||
targets.create_metatarget(TopLevelTarget,
|
||||
"install",
|
||||
["install-proper", "install-unversioned"])
|
||||
targets.create_metatarget(TopLevelTarget,
|
||||
"stage",
|
||||
["stage-proper", "stage-unversioned"])
|
||||
|
||||
message("explain", "\nBuilding the Boost C++ Libraries.\n\n")
|
||||
|
||||
get_manager().projects().current().mark_targets_as_explicit(
|
||||
["install", "stage", "explain"])
|
||||
|
||||
# This target is built by default, and will forward to 'stage'
|
||||
# after producing some explanations.
|
||||
targets.create_metatarget(TopLevelTarget,
|
||||
"forward",
|
||||
["explain", "stage"])
|
||||
|
||||
|
||||
stage_abs = os.path.abspath(os.path.join(stage_locate, "lib"))
|
||||
|
||||
##############################################################################
|
||||
#
|
||||
# 4. Add hook to report configuration before the build, and confirmation
|
||||
# with setup instructions after the build
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
def pre_build():
|
||||
if "stage" in top_level_targets or "install" in top_level_targets:
|
||||
configure.print_component_configuration()
|
||||
|
||||
build_system.add_pre_build_hook(pre_build)
|
||||
|
||||
def post_build(ok):
|
||||
if "forward" in top_level_targets and ok:
|
||||
print """\n\nThe Boost C++ Libraries were successfully built!
|
||||
|
||||
The following directory should be added to compiler include paths:
|
||||
|
||||
%s
|
||||
|
||||
The following directory should be added to linker library paths:
|
||||
|
||||
%s
|
||||
""" % (BOOST_ROOT, stage_abs)
|
||||
|
||||
build_system.set_post_build_hook(post_build)
|
||||
|
||||
##############################################################################
|
||||
#
|
||||
# 5. Top-level setup
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
|
||||
def libraries_to_install(existing_libraries):
|
||||
# Decides which libraries are to be installed by looking at --with-<library>
|
||||
# --without-<library> arguments. Returns the list of directories under "libs"
|
||||
# which must be built and installed.
|
||||
|
||||
with_parameter = regex.transform(sys.argv, "--with-(.*)")
|
||||
without_parameter = regex.transform(sys.argv, "--without-(.*)")
|
||||
|
||||
if not with_parameter and not without_parameter:
|
||||
# Nothing is specified on command line. See if maybe
|
||||
# project-config.jam has some choices.
|
||||
project_config_libs = bjam.call("peek", "project-config", "libraries")
|
||||
with_parameter = regex.transform(project_config_libs, "--with-(.*)")
|
||||
without_parameter = regex.transform(project_config_libs, "--without-(.*)")
|
||||
|
||||
# Do some checks.
|
||||
if with_parameter and without_parameter:
|
||||
get_manager().errors()("both --with-<library> and --without-<library> specified")
|
||||
|
||||
wrong = set.difference(with_parameter, existing_libraries)
|
||||
if wrong:
|
||||
get_manager().errors()("wrong library name '" + wrong[0] + "' in the --with-<library> option.")
|
||||
|
||||
wrong = set.difference(without_parameter, existing_libraries)
|
||||
if wrong:
|
||||
get_manager().errors()("wrong library name '" + wrong[0] + "' in the --without-<library> option.")
|
||||
|
||||
if with_parameter:
|
||||
return set.intersection(existing_libraries, with_parameter)
|
||||
else:
|
||||
return set.difference(existing_libraries, without_parameter)
|
||||
|
||||
def declare_targets(all_libraries, headers):
|
||||
|
||||
configure.register_components(all_libraries)
|
||||
|
||||
# Select the libraries to install.
|
||||
libraries = libraries_to_install(all_libraries)
|
||||
configure.components_building(libraries)
|
||||
|
||||
if option.get("show-libraries", None, True):
|
||||
|
||||
print "The following libraries require building:"
|
||||
for l in libraries:
|
||||
print " - " + l
|
||||
sys.exit(0)
|
||||
|
||||
declare_top_level_targets(libraries, headers)
|
||||
+2
-2
@@ -52,7 +52,7 @@ IF "%1"=="vc14" SET TOOLSET=msvc : 14.0
|
||||
IF "%1"=="vc141" SET TOOLSET=msvc : 14.1
|
||||
|
||||
ECHO.
|
||||
ECHO Generating Boost.Build configuration in project-config.jam for %TOOLSET%..."
|
||||
ECHO Generating Boost.Build configuration in project-config.jam for %TOOLSET%...
|
||||
ECHO # Boost.Build Configuration > project-config.jam
|
||||
ECHO # Automatically generated by bootstrap.bat >> project-config.jam
|
||||
ECHO. >> project-config.jam
|
||||
@@ -82,7 +82,7 @@ ECHO - Getting started guide:
|
||||
ECHO http://boost.org/more/getting_started/windows.html
|
||||
ECHO.
|
||||
ECHO - Boost.Build documentation:
|
||||
ECHO http://www.boost.org/build/doc/html/index.html
|
||||
ECHO http://www.boost.org/build/
|
||||
ECHO.
|
||||
|
||||
goto :end
|
||||
|
||||
+1
-1
@@ -412,6 +412,6 @@ Further information:
|
||||
http://www.boost.org/more/getting_started/unix-variants.html
|
||||
|
||||
- Boost.Build documentation:
|
||||
http://www.boost.org/build/doc/html/index.html
|
||||
http://www.boost.org/build/
|
||||
|
||||
EOF
|
||||
|
||||
+2
-3
@@ -1,5 +1,5 @@
|
||||
# Copyright (c) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
|
||||
# Copyright (c) 2016 Rene Rivera
|
||||
# Copyright (c) 2016-2018 Rene Rivera
|
||||
#
|
||||
# Distributed under the Boost Software License, Version 1.0.
|
||||
# (See accompanying file LICENSE_1_0.txt or copy at
|
||||
@@ -24,7 +24,7 @@ import "class" : is-a ;
|
||||
|
||||
path-constant BOOST_DOC : . ;
|
||||
|
||||
local lib-docs = [ path.glob [ path.glob $(BOOST_DOC)/../libs : */doc ]
|
||||
local lib-docs = [ path.glob [ path.glob $(BOOST_DOC)/../libs $(BOOST_DOC)/../tools : */doc ]
|
||||
: [ modules.peek project : JAMFILE ] ] ;
|
||||
|
||||
local rule find-target-of-class-or-type ( root-target : klass ? : type ? )
|
||||
@@ -180,7 +180,6 @@ explicit libraries ;
|
||||
xinclude tools :
|
||||
../tools/quickbook/doc//quickbook
|
||||
../tools/boostbook/doc/boostbook.xml
|
||||
../tools/build/doc//boostdoc
|
||||
;
|
||||
explicit tools ;
|
||||
|
||||
|
||||
+1
-1
Submodule libs/accumulators updated: b133840d2b...fdabe512f4
+1
-1
Submodule libs/algorithm updated: 6763d75683...1cbe285841
+1
-1
Submodule libs/align updated: 9075cb46e4...25b1b0afd8
+1
-1
Submodule libs/any updated: 2a9a35e9c9...780b140264
+1
-1
Submodule libs/asio updated: fbe86d86b1...a6008b6427
+1
-1
Submodule libs/assert updated: dbe3f8c641...dc90d0afb3
+1
-1
Submodule libs/assign updated: 8f60fca45e...2d5f5f96de
+1
-1
Submodule libs/atomic updated: 2b1dff067e...605cb8b153
+1
-1
Submodule libs/beast updated: f4c3e52a8c...c4813a5ac7
+1
-1
Submodule libs/chrono updated: 1041434dc8...1f590d694b
+1
-1
Submodule libs/circular_buffer updated: 2433adc0ec...b07fbd056a
+1
-1
Submodule libs/concept_check updated: 0d65b45953...7dbaa85413
+1
-1
Submodule libs/config updated: ce370332ce...eb5d4bd834
+1
-1
Submodule libs/container updated: 76b181f024...43c0257871
+1
-1
Submodule libs/context updated: ef4fc2159e...ed0e1bd58d
+1
-1
Submodule libs/conversion updated: e8d104f34d...6b3395e57d
+1
-1
Submodule libs/convert updated: 114a47fa89...bf7a8f64e2
+1
-1
Submodule libs/core updated: a5c891441c...9d123dc9a3
+1
-1
Submodule libs/coroutine updated: 6115da1f21...f226f9ba27
+1
-1
Submodule libs/coroutine2 updated: b029799da7...0233d35081
+1
-1
Submodule libs/date_time updated: dc5ce19c27...c18805c4ba
+1
-1
Submodule libs/detail updated: b29edf18cb...622c7c4ee6
+1
-1
Submodule libs/disjoint_sets updated: b322618c09...4980fe2a87
+1
-1
Submodule libs/dll updated: 8c641504e9...b317d65068
+1
-1
Submodule libs/dynamic_bitset updated: 8e265c49f8...a580c496fa
+1
-1
Submodule libs/endian updated: bde5937912...dafb9b1795
+1
-1
Submodule libs/fiber updated: 1b14248f8a...2c89fbd775
+1
-1
Submodule libs/filesystem updated: 30f56bdb99...015d414fca
+1
-1
Submodule libs/flyweight updated: 0ce2a43087...9dd0c57f46
+1
-1
Submodule libs/format updated: a1c613764d...1d347079b1
+1
-1
Submodule libs/function updated: 755d3c2001...3f46081c59
+1
-1
Submodule libs/geometry updated: 01b6a0e7c4...92fb762a2c
+1
-1
Submodule libs/gil updated: 52cbffd661...5340a352c4
+1
-1
Submodule libs/graph updated: fa7fe4d622...174ed2ed11
+1
-1
Submodule libs/hana updated: ccd6e14a66...24b9779721
Submodule
+1
Submodule libs/headers added at 2a9bb36fbf
+1
-1
Submodule libs/heap updated: 1ad098b275...aba8d59290
+1
-1
Submodule libs/integer updated: 1c586d6dd0...eaf2561e95
+1
-1
Submodule libs/interprocess updated: b962143350...2fff651f25
+1
-1
Submodule libs/intrusive updated: 2ab3421b17...c02f485281
+1
-1
Submodule libs/io updated: 560bbb84e3...cc27047270
+1
-1
Submodule libs/iostreams updated: 8c8069bd28...29a831798e
+1
-1
Submodule libs/iterator updated: 3cc4107d01...bb1efd3370
+1
-1
Submodule libs/locale updated: 3a69c81ccd...ccb8fbb9a1
+1
-1
Submodule libs/lockfree updated: ffd91db458...e075a281c5
+1
-1
Submodule libs/log updated: a95dc575a1...b222110738
+1
-1
Submodule libs/logic updated: c305a4a1e4...fd021e5eb7
@@ -47,11 +47,11 @@ dynamic_bitset Jeremy Siek <jeremy.siek -at- gmail.com>
|
||||
endian Beman Dawes <bdawes -at- acm.org>
|
||||
exception Emil Dotchevski <emil -at- revergestudios.com>
|
||||
fiber Oliver Kowalke <oliver.kowalke -at- gmail.com>
|
||||
filesystem Beman Dawes <bdawes -at- acm.org>
|
||||
filesystem Beman Dawes <bdawes -at- acm.org>, Andrey Semashev <andrey.semashev -at- gmail.com>
|
||||
flyweight Joaquin M Lopez Munoz <joaquin.lopezmunoz -at- gmail.com>
|
||||
foreach Eric Niebler <eric -at- boostpro.com>
|
||||
format Samuel Krempp <krempp -at- crans.ens-cachan.fr>, James E. King III <jking -at- apache.org>
|
||||
function Douglas Gregor <dgregor -at- cs.indiana.edu>
|
||||
function Peter Dimov <pdimov -at- pdimov.com>
|
||||
function_types Tobias Schwinger <tschwinger -at- isonews2.com>
|
||||
functional
|
||||
functional/factory Tobias Schwinger <tschwinger -at- isonews2.com>
|
||||
@@ -67,7 +67,7 @@ hana Louis Dionne <ldionne.2 -at- gmail.com>
|
||||
heap Tim Blechmann <tim -at- klingt.org>
|
||||
hof Paul Fultz II <pfultz2 -at- yahoo.com>
|
||||
icl Joachim Faulhaber <afojgo -at- gmail.com>
|
||||
integer Daryle Walker <darylew -at- hotmail.com>
|
||||
integer Daryle Walker <darylew -at- hotmail.com>, Andrey Semashev <andrey.semashev -at- gmail.com>
|
||||
interprocess Ion Gaztanaga <igaztanaga -at- gmail.com>
|
||||
intrusive Ion Gaztanaga <igaztanaga -at- gmail.com>
|
||||
io Daryle Walker <darylew -at- hotmail.com>
|
||||
@@ -133,7 +133,7 @@ statechart Andreas Huber <ahd6974-boostorg -at- yahoo.com>
|
||||
static_assert John Maddock <john -at- johnmaddock.co.uk>
|
||||
sync Tim Blechmann <tim -at- klingt.org>, Andrey Semashev <andrey.semashev -at- gmail.com>, Vicente J. Botet Escriba <vicente.botet -at- wanadoo.fr>
|
||||
test Gennadiy Rozental <rogeeff -at- gmail.com>, Raffi Enficiaud <raffi.enficiaud -at- free.fr>
|
||||
thread Vicente J. Botet Escriba <vicente.botet -at- wanadoo.fr>, Niall Douglas <niall -at- nedprod.com>
|
||||
thread Vicente J. Botet Escriba <vicente.botet -at- wanadoo.fr>
|
||||
throw_exception Emil Dotchevski <emil -at- revergestudios.com>
|
||||
timer Beman Dawes <bdawes -at- acm.org>
|
||||
tokenizer John R. Bandela <jbandela -at- ufl.edu>
|
||||
|
||||
+1
-1
Submodule libs/math updated: 83513935aa...5b57659e49
+1
-1
Submodule libs/move updated: 3ce9452f93...1decc552eb
+1
-1
Submodule libs/mp11 updated: dbe0378d65...0c07170150
+1
-1
Submodule libs/mpi updated: 228b1d00c5...1a138a402e
+1
-1
Submodule libs/mpl updated: 95733a1c45...ac67f5952e
+1
-1
Submodule libs/multiprecision updated: 59a9bc4de8...68671aa03e
+1
-1
Submodule libs/numeric/conversion updated: b900379a74...a8467a8723
+1
-1
Submodule libs/numeric/interval updated: 88944ea2e4...aa46846917
+1
-1
Submodule libs/numeric/ublas updated: 44e7d7d853...48ad2104dd
+1
-1
Submodule libs/optional updated: fae2791f45...545fd9a72f
+1
-1
Submodule libs/parameter updated: 1f25e851bc...28efddc033
+1
-1
Submodule libs/parameter_python updated: 787d8d38d9...112183135b
+1
-1
Submodule libs/pool updated: 11d320fc25...e4b44b276c
+1
-1
Submodule libs/predef updated: 32d4581c16...d58fcca2d5
+1
-1
Submodule libs/preprocessor updated: 87fd89a7db...8d26689387
+1
-1
Submodule libs/process updated: 498055bc8d...97f08ba0b3
+1
-1
Submodule libs/property_map updated: b184900dcd...c9b86a852b
+1
-1
Submodule libs/proto updated: 2e0bce8946...de6f407533
+1
-1
Submodule libs/ptr_container updated: 67915a7f86...601ca9d0f6
+1
-1
Submodule libs/random updated: 60c43db293...c7b6f42a5a
+1
-1
Submodule libs/rational updated: 2c7fe1aae7...3fc4192167
+1
-1
Submodule libs/regex updated: 38afecb48b...4e0eadc11b
+1
-1
Submodule libs/safe_numerics updated: f46f0ff078...be981a0628
+1
-1
Submodule libs/serialization updated: e1893dd28c...6e3d1a89f7
+1
-1
Submodule libs/signals2 updated: 0c51b5dcbf...19bf287ee7
+1
-1
Submodule libs/smart_ptr updated: 04f0847af4...2e57ddb953
+1
-1
Submodule libs/sort updated: 32c476fce4...852273a163
+1
-1
Submodule libs/spirit updated: 4be6e2d033...865a6a3de4
+1
-1
Submodule libs/stacktrace updated: 4123beb4af...d946b124ba
+1
-1
Submodule libs/statechart updated: 066189ef55...dc794c0ab2
+1
-1
Submodule libs/sync updated: d89a2f0936...afb02e3659
+1
-1
Submodule libs/system updated: 054c0caf60...3a4fff686e
+1
-1
Submodule libs/test updated: 90d577a620...980ec7bbc7
+1
-1
Submodule libs/thread updated: f1d464d0d5...dfe6cc3c49
+1
-1
Submodule libs/timer updated: cb59c5cff1...39c8ee92f7
+1
-1
Submodule libs/tokenizer updated: 22e8e35069...c79bd24027
+1
-1
Submodule libs/type_index updated: f3da852bca...a2de6a56f3
+1
-1
Submodule libs/type_traits updated: af1f17cd15...19bc3525a3
+1
-1
Submodule libs/utility updated: db05c11f50...05dda09fd3
+1
-1
Submodule libs/uuid updated: 496c0c8ee5...14a90261c7
+1
-1
Submodule libs/vmd updated: 9a31758d1b...c939f908ab
+1
-1
Submodule libs/winapi updated: cb0f6ed2a5...b7118001c8
+1
-1
Submodule libs/yap updated: 3e0eca8d49...0563001697
@@ -5,8 +5,8 @@
|
||||
.. This file contains all the definitions that need to be updated
|
||||
.. for each new release of Boost.
|
||||
|
||||
.. |boost-version-number| replace:: 69
|
||||
.. |boost_ver| replace:: ``boost_1_69_0``
|
||||
.. |boost_ver-bold| replace:: **boost_1_69_0**
|
||||
.. |boost-version-number| replace:: 70
|
||||
.. |boost_ver| replace:: ``boost_1_70_0``
|
||||
.. |boost_ver-bold| replace:: **boost_1_70_0**
|
||||
|
||||
.. _sf-download: http://www.boost.org/users/history/version_1_69_0.html
|
||||
.. _sf-download: http://www.boost.org/users/history/version_1_70_0.html
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user