Compare commits
454 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
50fc2b0fda | ||
|
|
4a0779ec8c | ||
|
|
5379719078 | ||
|
|
ec7383f6bd | ||
|
|
403199971d | ||
|
|
4a984a6238 | ||
|
|
2f2bd5aba3 | ||
|
|
bb27bd2d27 | ||
|
|
9784bfcbb7 | ||
|
|
bd0476d632 | ||
|
|
7e04e7d896 | ||
|
|
3cc264041a |
||
|
|
0d18786666 | ||
|
|
a893d9ada9 | ||
|
|
750fb0618c | ||
|
|
8a9a6c5073 | ||
|
|
74cf822853 | ||
|
|
531b5cfda3 | ||
|
|
e13a584ab7 | ||
|
|
dce3f3406f | ||
|
|
932a39a687 | ||
|
|
fe1d35be50 | ||
|
|
73e87aacff | ||
|
|
177b2b775d | ||
|
|
2dfe9ef974 | ||
|
|
56ec04471d | ||
|
|
d121d46377 | ||
|
|
bab1cef729 | ||
|
|
a9ff19d2d3 | ||
|
|
bffabb9a28 | ||
|
|
10a5ee96ff | ||
|
|
39785c3bbd | ||
|
|
33b1e83abc | ||
|
|
74826991aa | ||
|
|
fd721ad7d3 | ||
|
|
61dda027eb | ||
|
|
a4fcef0016 | ||
|
|
7d7a237052 | ||
|
|
393e648a01 | ||
|
|
6b80e21fd9 | ||
|
|
131ff2b1a6 | ||
|
|
1116a4d288 | ||
|
|
a496150aec | ||
|
|
3420df7244 | ||
|
|
571ebc8df1 | ||
|
|
8576ab076f | ||
|
|
1c4335a6e0 | ||
|
|
e938c8d9b3 | ||
|
|
bea3cff9ae | ||
|
|
af99b52501 | ||
|
|
6585f3fb6e | ||
|
|
2888982c28 | ||
|
|
b96dcf38c8 | ||
|
|
12bd4872ac | ||
|
|
19a004c283 | ||
|
|
36115b3780 | ||
|
|
5827653083 | ||
|
|
9c645e2838 | ||
|
|
efa25cfd81 | ||
|
|
83163cb5f7 | ||
|
|
3bd0a83d52 | ||
|
|
3c2829edfe | ||
|
|
9eaf760933 | ||
|
|
5eaac698fe | ||
|
|
bc37ceb79d | ||
|
|
0e92f1aa2e | ||
|
|
6502666126 | ||
|
|
6edfd32617 | ||
|
|
bba3a6c2a0 | ||
|
|
214bbadaf6 | ||
|
|
3824fb1903 | ||
|
|
0fc8825319 | ||
|
|
6a7ecd767d | ||
|
|
65b36067d5 | ||
|
|
03817f73cb | ||
|
|
ee1a4870ab | ||
|
|
dd07b4b21f | ||
|
|
7fd53e5641 | ||
|
|
237974a0ce | ||
|
|
582a02c7ab | ||
|
|
b796f2d0eb | ||
|
|
5f7b377f41 | ||
|
|
3eea468474 | ||
|
|
67e502ea95 | ||
|
|
8bed92113e | ||
|
|
aa5af673c5 | ||
|
|
394a768911 | ||
|
|
325ac22f96 | ||
|
|
cb5a05db6c | ||
|
|
5c328ce476 | ||
|
|
ddd384021b | ||
|
|
64d97f19ff | ||
|
|
8158d2d41c | ||
|
|
820bf32137 | ||
|
|
31a1406483 | ||
|
|
c570dcff0d | ||
|
|
cdb89c50f8 | ||
|
|
9e8114f822 | ||
|
|
f1058cd956 | ||
|
|
ddb9ecef4e | ||
|
|
3fcfdd32f8 | ||
|
|
8e6b263013 | ||
|
|
b594da2a28 | ||
|
|
a562db598b | ||
|
|
378d8d7e42 | ||
|
|
66b109b6e1 | ||
|
|
9e76353688 |
||
|
|
fb6db033ed | ||
|
|
1f2e448e09 | ||
|
|
b93614e906 | ||
|
|
ab7eefd18e | ||
|
|
5d6038484f | ||
|
|
434963c709 | ||
|
|
1a2264a222 | ||
|
|
0e0b60eac1 | ||
|
|
a0e9e6a602 | ||
|
|
c808f65625 | ||
|
|
eefba79672 | ||
|
|
d5a194094a | ||
|
|
193ea1c207 | ||
|
|
1ab43be260 | ||
|
|
0fc400a27f | ||
|
|
56941f6dac | ||
|
|
b9f2e3cc4a | ||
|
|
3458dcd53a | ||
|
|
8aafa09ef7 | ||
|
|
f5c0d413a7 | ||
|
|
0666fd79ba | ||
|
|
5f1c9ef7fa | ||
|
|
0f9795fc5c | ||
|
|
8e32c40a85 | ||
|
|
e7f763888a | ||
|
|
575500ddcb | ||
|
|
081b85cab4 | ||
|
|
419c3aba65 | ||
|
|
c424db8834 | ||
|
|
777ed71df5 | ||
|
|
f158da30f8 | ||
|
|
094f7ed60f | ||
|
|
aca49b6923 | ||
|
|
90fdd43d4d | ||
|
|
15eed98242 | ||
|
|
bf8dec78cc | ||
|
|
8e25e3cb3f | ||
|
|
dad36c9161 | ||
|
|
5fb7b5da8b | ||
|
|
a07a46867a | ||
|
|
811a3a3329 | ||
|
|
166218aed3 | ||
|
|
015b3a9f0a | ||
|
|
ae9f023f89 | ||
|
|
061d021ce1 | ||
|
|
557e21db14 | ||
|
|
c6c9a85f21 | ||
|
|
139c6b50e6 | ||
|
|
1499fdf972 | ||
|
|
6534bae05f | ||
|
|
3cee16030b | ||
|
|
af66f9c00c | ||
|
|
299d009cc0 | ||
|
|
32555bac58 | ||
|
|
a4629aecca | ||
|
|
e556fceb05 | ||
|
|
1a524340e6 | ||
|
|
9aae0c8a00 | ||
|
|
b4c96119f1 | ||
|
|
3946a4a4b0 | ||
|
|
dc827b0935 | ||
|
|
b59c4b6666 | ||
|
|
4c456d525c | ||
|
|
47b8c9cad1 | ||
|
|
d50c552e84 | ||
|
|
7387f7d55f | ||
|
|
90138276af | ||
|
|
747d6e8fe2 | ||
|
|
1885d22687 | ||
|
|
5c4a0e07d3 | ||
|
|
9497c27f10 | ||
|
|
4c79bb2181 | ||
|
|
b634b3b0c8 | ||
|
|
cc95da10da | ||
|
|
b9e2eb12e9 | ||
|
|
91d3fad8f3 | ||
|
|
83bcf8daf2 | ||
|
|
d04833457b | ||
|
|
d185c08009 | ||
|
|
efff732f4f | ||
|
|
6e3f05c5de | ||
|
|
c54b0a0c9e | ||
|
|
91387222f5 | ||
|
|
a4b6003a94 | ||
|
|
30150eaf49 | ||
|
|
a919cdd969 | ||
|
|
7ace5f0128 | ||
|
|
218cc61036 | ||
|
|
59415588c8 | ||
|
|
6d2d8199e5 | ||
|
|
3da9bab88b | ||
|
|
d2c3a27558 | ||
|
|
e1dabc540b | ||
|
|
51c6915fb4 | ||
|
|
b9ad2bf8a2 | ||
|
|
733a71ce66 | ||
|
|
eb5a2d18d6 | ||
|
|
92f6971ea7 | ||
|
|
22ace9c9e6 | ||
|
|
0b594070c7 | ||
|
|
f9cbc68d43 | ||
|
|
310c56bc25 | ||
|
|
4672342671 | ||
|
|
f9845a940f | ||
|
|
b0ac251dd9 | ||
|
|
c7e4b76204 | ||
|
|
c2efae682b | ||
|
|
263025eccd | ||
|
|
93bdb8dad9 | ||
|
|
92a4e21c1a | ||
|
|
faf2199734 | ||
|
|
3c75cd19c7 | ||
|
|
94638715d9 | ||
|
|
5effd9fcd9 | ||
|
|
66eafe3099 | ||
|
|
d8ec5cd0e8 | ||
|
|
a59457fcda | ||
|
|
20123c5e6f | ||
|
|
3d13bdbd4b | ||
|
|
fb630fe1a0 | ||
|
|
7d5037b77f | ||
|
|
51fe9e0ae4 | ||
|
|
c779362f9f | ||
|
|
b7bc8de355 | ||
|
|
e283993866 | ||
|
|
b86f78331a | ||
|
|
a1b6b50100 | ||
|
|
2665c69e3a | ||
|
|
49492cb891 | ||
|
|
71b2be77a7 | ||
|
|
b30dad1db5 | ||
|
|
bf768ffd04 | ||
|
|
3759032dd6 | ||
|
|
3c9c670991 | ||
|
|
19702186d2 | ||
|
|
7c71c91f42 | ||
|
|
3207465702 | ||
|
|
f910549691 | ||
|
|
e08f962e12 | ||
|
|
42069777a6 | ||
|
|
c2b3a56ca0 | ||
|
|
1d8ca55777 | ||
|
|
ef172f114f | ||
|
|
7a87d76794 | ||
|
|
76691c3d42 | ||
|
|
eccf21b3c1 | ||
|
|
d3623dd584 | ||
|
|
e8afd726c5 | ||
|
|
b9aa7fb633 | ||
|
|
8d05191663 | ||
|
|
bed0c816db | ||
|
|
59715f5c7f | ||
|
|
6d22343534 | ||
|
|
22e9f44fdd | ||
|
|
55426ac770 | ||
|
|
6afec2d8a5 | ||
|
|
a513817fc5 | ||
|
|
cb253a3d3f | ||
|
|
94c7ec494d | ||
|
|
db69547da6 | ||
|
|
f99fe16ac3 | ||
|
|
0f7ace626f | ||
|
|
da0e080e4c | ||
|
|
9f44c82afd | ||
|
|
a4fac06f4f | ||
|
|
c3593a1e32 | ||
|
|
830a7f44cf | ||
|
|
4c75e770a9 | ||
|
|
954d15ee43 | ||
|
|
5a207d1e4a | ||
|
|
f0abb10476 | ||
|
|
e7f22175bb | ||
|
|
60a15dfc84 | ||
|
|
dc683c9132 | ||
|
|
6f895a0fef | ||
|
|
084c523878 | ||
|
|
0d0ad94a52 | ||
|
|
b56c31ff13 | ||
|
|
7fa0ea18d9 | ||
|
|
255051da37 | ||
|
|
0494a65cc9 | ||
|
|
c5eabd4220 | ||
|
|
e50fa4d644 | ||
|
|
43e7bf1610 | ||
|
|
b2935ff7ac | ||
|
|
a84c8455d8 | ||
|
|
5605dc8747 | ||
|
|
ba877e7805 | ||
|
|
91de02f8db | ||
|
|
bcaac65465 | ||
|
|
2a146a567b | ||
|
|
de6a0f31f2 | ||
|
|
50c4b88ebf | ||
|
|
45355f8107 | ||
|
|
ea81f69c26 | ||
|
|
a84f7fd048 | ||
|
|
ba25f6b6bb | ||
|
|
6628b109d0 | ||
|
|
6d69081e38 | ||
|
|
b5f76d5add | ||
|
|
44a7aadaed | ||
|
|
0c64b73a16 | ||
|
|
cccfe7b394 | ||
|
|
9053e61361 | ||
|
|
216eea2217 | ||
|
|
2dcacf6f3c | ||
|
|
a28c89a3ed | ||
|
|
a2450339df | ||
|
|
4fa851e387 | ||
|
|
dcde8a7557 | ||
|
|
b88ee83322 | ||
|
|
f68c4dd925 | ||
|
|
e86e3c9db2 | ||
|
|
a18ee82f35 | ||
|
|
d6ae5d8d4d | ||
|
|
939bdf0202 | ||
|
|
bc9c5908b6 | ||
|
|
6b86fe4dc1 | ||
|
|
8aad81e67c | ||
|
|
3f6cbc89ed | ||
|
|
9fd0eee555 | ||
|
|
a80aba9a3a | ||
|
|
7af0b4e843 | ||
|
|
b8e37f1d07 | ||
|
|
3ff9d8346b | ||
|
|
979f500141 | ||
|
|
9f85852534 | ||
|
|
1a7f14244d | ||
|
|
0f5140e4c1 | ||
|
|
a7311be698 | ||
|
|
8cbc559305 | ||
|
|
a9044bc779 | ||
|
|
e222e6eb69 | ||
|
|
252cfe78cc | ||
|
|
39e2c15fd4 | ||
|
|
54ddcfc414 | ||
|
|
7a3ddc5eb8 | ||
|
|
76982ecb0f | ||
|
|
7e49cbd1ad | ||
|
|
3957a04980 | ||
|
|
d5ee7fce50 | ||
|
|
d7d96c8c27 | ||
|
|
aa86edc9c6 | ||
|
|
21495bb58e | ||
|
|
388db9a379 | ||
|
|
08909f63ae | ||
|
|
b00a03fd36 | ||
|
|
0d81224cf6 | ||
|
|
40072668be | ||
|
|
b3f5fc485e | ||
|
|
cb217512d7 | ||
|
|
8de4e80625 | ||
|
|
51023f006e | ||
|
|
6fa0acc376 | ||
|
|
646ad8dd4f | ||
|
|
787d07db37 | ||
|
|
50e7fa2daf | ||
|
|
5477eebe96 | ||
|
|
7e68ff5290 | ||
|
|
9865f92577 | ||
|
|
078021db91 | ||
|
|
7a52c341d7 | ||
|
|
d901bcf2c5 | ||
|
|
d43949dd22 | ||
|
|
121dc65949 | ||
|
|
540c65bbfc | ||
|
|
07dee9ca25 | ||
|
|
8bb6ea14c9 | ||
|
|
53e8e43e72 | ||
|
|
3b10e19284 | ||
|
|
b7e0ada0f9 | ||
|
|
9cc1979eb0 | ||
|
|
85e1b4dc59 | ||
|
|
5b821b0748 | ||
|
|
38b520ef67 | ||
|
|
143f670fa9 | ||
|
|
0de91b187b | ||
|
|
7344a3aedc | ||
|
|
80e381340c | ||
|
|
b098466e10 | ||
|
|
74756b504a | ||
|
|
d4a8798a99 | ||
|
|
ed95db05cd | ||
|
|
cb16edf393 | ||
|
|
74258ccf44 | ||
|
|
91d00b2225 | ||
|
|
99812266c6 | ||
|
|
63044e7881 | ||
|
|
a4e10f90e4 | ||
|
|
4e883bf349 | ||
|
|
145dbee405 | ||
|
|
b9bddec655 | ||
|
|
f3e80a3bfa | ||
|
|
462f3a66e2 | ||
|
|
ff2b899a33 | ||
|
|
d284b1b9f2 | ||
|
|
94bd2da100 | ||
|
|
3bfbaa6e4e | ||
|
|
281f2147cf | ||
|
|
3f89025bf6 | ||
|
|
a1891f493f | ||
|
|
71946ab51e | ||
|
|
53794d70d1 | ||
|
|
8bda291735 | ||
|
|
c6e3871a68 | ||
|
|
667c3698df | ||
|
|
324d6eb0cb | ||
|
|
e34999075e | ||
|
|
e45bd9c670 | ||
|
|
cba7e47852 | ||
|
|
c4b14f1243 | ||
|
|
721aded241 | ||
|
|
1891c7ba66 | ||
|
|
456c3cfce0 | ||
|
|
3ce89fee2e | ||
|
|
78eebed0cd | ||
|
|
bcb908e5d8 | ||
|
|
493985599d | ||
|
|
fdf885d144 | ||
|
|
00685e2127 | ||
|
|
8602a6ea49 | ||
|
|
99838fe19f | ||
|
|
662439cda1 | ||
|
|
ab7902e738 | ||
|
|
908d7d2963 | ||
|
|
da089f5ee9 | ||
|
|
b9e432f0f1 | ||
|
|
8493f2dec8 | ||
|
|
c99df9fbf7 | ||
|
|
d2ca7a19ed | ||
|
|
463220e7bb | ||
|
|
911173175d | ||
|
|
13d9b03b8b | ||
|
|
1b86749d19 | ||
|
|
43f1644f50 | ||
|
|
07bc794885 | ||
|
|
a59558692b | ||
|
|
ed00540465 | ||
|
|
408862e229 | ||
|
|
7bc91ee101 | ||
|
|
ac5861b705 | ||
|
|
eb542eb2e7 | ||
|
|
c693092601 | ||
|
|
73ed8a269d | ||
|
|
7bb17cb51c | ||
|
|
a94fed9eaf | ||
|
|
8b63e4c402 |
26 changed files with 3348 additions and 464 deletions
|
|
@ -1 +0,0 @@
|
|||
boost_1_34_1.tar.bz2
|
||||
1
.fmf/version
Normal file
1
.fmf/version
Normal file
|
|
@ -0,0 +1 @@
|
|||
1
|
||||
9
.gitignore
vendored
Normal file
9
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
boost*.tar.*
|
||||
boost-*.src.rpm
|
||||
clog
|
||||
.build*
|
||||
boost_*/
|
||||
*/*.rpm
|
||||
/boost_1_44_0.tar.bz2
|
||||
/cmakeify_boost_1440_2.patch
|
||||
/cmakeify_boost_1440_3.patch
|
||||
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: boost
|
||||
# $Id: Makefile,v 1.3 2005/08/19 17:39:58 bkoz Exp $
|
||||
NAME := boost
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attempt a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
||||
144
b2.1
Normal file
144
b2.1
Normal file
|
|
@ -0,0 +1,144 @@
|
|||
.TH "b2" 1 "Sat Nov 19 2011" "Doxygen" \" -*- nroff -*-
|
||||
.ad l
|
||||
.nh
|
||||
.SH NAME
|
||||
b2 \- Command-line utility to build Boost-related C++ projects with Boost\&.Build
|
||||
.SH "SYNOPSIS"
|
||||
.PP
|
||||
\fBb2\fP \fC[-a] [-dx] [-fx] [-jx] [-lx] [-n] [-ox] [-px] [-q] [-sx=y] [-tx] [-v] [--x]\fP
|
||||
.PP
|
||||
\fIb2\fP accepts the following options:
|
||||
.PP
|
||||
\fB-a\fP
|
||||
.br
|
||||
Build all targets, even if they are current
|
||||
.PP
|
||||
\fB-dx\fP
|
||||
.br
|
||||
Set the debug level to x (0-9)
|
||||
.PP
|
||||
\fB-fx\fP
|
||||
.br
|
||||
Read x instead of Jambase
|
||||
.PP
|
||||
\fB-jx\fP
|
||||
.br
|
||||
Run up to x shell commands concurrently
|
||||
.PP
|
||||
\fB-lx\fP
|
||||
.br
|
||||
Limit actions to x number of seconds after which they are stopped
|
||||
.PP
|
||||
\fB-n\fP
|
||||
.br
|
||||
Don't actually execute the updating actions
|
||||
.PP
|
||||
\fB-ox\fP
|
||||
.br
|
||||
Write the updating actions to file x
|
||||
.PP
|
||||
\fB-px\fP
|
||||
.br
|
||||
x=0, pipes action stdout and stderr merged into action output
|
||||
.PP
|
||||
\fB-q\fP
|
||||
.br
|
||||
Quit quickly as soon as a target fails
|
||||
.PP
|
||||
\fB-sx=y\fP
|
||||
.br
|
||||
Set variable x=y, overriding environment
|
||||
.PP
|
||||
\fB-tx\fP
|
||||
.br
|
||||
Rebuild x, even if it is up-to-date
|
||||
.PP
|
||||
\fB-v\fP
|
||||
.br
|
||||
Print the version of b2 and exit
|
||||
.PP
|
||||
\fB--x\fP
|
||||
.br
|
||||
Option is ignored
|
||||
.SH "DESCRIPTION"
|
||||
.PP
|
||||
This section provides the information necessary to create your own projects using \fIBoost\&.Build\fP The information provided here is relatively high-level, and Chapter 6, Reference as well as the on-line help system must be used to obtain low-level documentation (see --help)
|
||||
.PP
|
||||
\fIBoost\&.Build\fP actually consists of two parts - \fIBoost\&.Jam\fP, a build engine with its own interpreted language, and \fIBoost\&.Build\fP itself, implemented in \fIBoost\&.Jam's\fP language\&. The chain of events when you type b2 on the command line is as follows:
|
||||
.IP "\(bu" 2
|
||||
\fIBoost\&.Jam\fP tries to find \fIBoost\&.Build\fP and loads the top-level module\&. The exact process is described in the section called “Initialization”
|
||||
.PP
|
||||
.PP
|
||||
.IP "\(bu" 2
|
||||
The top-level module loads user-defined configuration files, \fIuser-config\&.jam\fP and \fIsite-config\&.jam\fP, which define available toolsets
|
||||
.PP
|
||||
.PP
|
||||
.IP "\(bu" 2
|
||||
The \fIJamfile\fP in the current directory is read That in turn might cause reading of further Jamfiles\&. As a result, a tree of projects is created, with targets inside projects
|
||||
.PP
|
||||
.PP
|
||||
.IP "\(bu" 2
|
||||
Finally, using the build request specified on the command line, \fIBoost\&.Build\fP decides which targets should be built and how\&. That information is passed back to \fIBoost\&.Jam\fP, which takes care of actually running the scheduled build action commands
|
||||
.PP
|
||||
.PP
|
||||
So, to be able to successfully use \fIBoost\&.Build\fP, you need to know only four things:
|
||||
.IP "\(bu" 2
|
||||
How to configure \fIBoost\&.Build\fP (http://www.boost.org/boost-build2/doc/html/bbv2/overview/configuration.html)
|
||||
.IP "\(bu" 2
|
||||
How to declare targets in Jamfiles (http://www.boost.org/boost-build2/doc/html/bbv2/overview/targets.html)
|
||||
.IP "\(bu" 2
|
||||
How the build process works (http://www.boost.org/boost-build2/doc/html/bbv2/overview/build_process.html)
|
||||
.PP
|
||||
.PP
|
||||
Some Basics about the \fIBoost\&.Jam\fP language\&. See the section called “Boost\&.Jam Language” (http://www.boost.org/boost-build2/doc/html/bbv2/overview/jam_language.html)
|
||||
.SH "CONCEPTS"
|
||||
.PP
|
||||
\fIBoost\&.Build\fP has a few unique concepts that are introduced in this section\&. The best way to explain the concepts is by comparison with more classical build tools
|
||||
.PP
|
||||
When using any flavour of make, you directly specify targets and commands that are used to create them from other target\&. The below example creates a\&.o from a\&.c using a hardcoded compiler invocation command
|
||||
.PP
|
||||
a\&.o: a\&.c
|
||||
.br
|
||||
g++ -o a\&.o -g a\&.c
|
||||
.PP
|
||||
This is rather low-level description mechanism and it is hard to adjust commands, options, and sets of created targets depending on the used compiler and operating system\&.
|
||||
.PP
|
||||
To improve portability, most modern build system provide a set of higher-level functions that can be used in build description files\&. Consider this example:
|
||||
.PP
|
||||
add_program ('a', 'a\&.c')
|
||||
.br
|
||||
.PP
|
||||
This is a function call that creates targets necessary to create executable file from source file a\&.c\&. Depending on configured properties, different commands line may be used\&. However, \fIadd_program\fP is higher-level, but rather thin level All targets are created immediately when build description is parsed, which makes it impossible to perform multi-variant builds\&. Often, change in any build property requires complete reconfiguration of the build tree
|
||||
.PP
|
||||
In order to support true multivariant builds, Boost\&.Build introduces the concept of metatarget—object that is created when build description is parsed and can be later called with specific build properties to generate actual targets
|
||||
.PP
|
||||
Consider an example:
|
||||
.PP
|
||||
exe a : a\&.cpp ;
|
||||
.br
|
||||
.PP
|
||||
When this declaration is parsed, \fIBoost\&.Build\fP creates a metatarget, but does not yet decides what files must be created, or what commands must be used\&. After all build files are parsed, Boost\&.Build considers properties requested on the command line\&. Supposed you have invoked \fIBoost\&.Build\fP with:
|
||||
.PP
|
||||
\fIb2\fP toolset=gcc toolset=msvc
|
||||
.br
|
||||
.PP
|
||||
In that case, the metatarget will be called twice, once with toolset=gcc and once with toolset=msvc\&. Both invocations will produce concrete targets, that will have different extensions and use different command lines\&. Another key concept is build property\&. Build property is a variable that affects the build process\&. It can be specified on the command line, and is passed when calling a metatarget
|
||||
.PP
|
||||
While all build tools have a similar mechanism, \fIBoost\&.Build\fP differs by requiring that all build properties are declared in advance, and providing a large set of properties with portable semantics
|
||||
.PP
|
||||
The final concept is property propagation\&. Boost\&.Build does not require that every metatarget is called with the same properties\&. Instead, the 'top-level' metatargets are called with the properties specified on the command line Each metatarget can elect to augment or override some properties (in particular, using the requirements mechanism, see the section called “Requirements”: http://www.boost.org/boost-build2/doc/html/bbv2/overview/targets.html#bbv2.overview.targets.requirements) Then, the dependency metatargets are called with modified properties and produce concrete targets that are then used in build process Of course, dependency metatargets maybe in turn modify build properties and have dependencies of their own\&.
|
||||
.PP
|
||||
For more in-depth treatment of the requirements and concepts, you may refer to SYRCoSE 2009 Boost\&.Build article (http://syrcose.ispras.ru/2009/files/04_paper.pdf)\&.
|
||||
.SH "SEE ALSO"
|
||||
.PP
|
||||
\fBboost-libraries\fP(3)
|
||||
.SH "SUPPORT"
|
||||
.PP
|
||||
Please report any bugs to https://svn.boost.org/trac/boost/
|
||||
.SH "COPYRIGHT"
|
||||
.PP
|
||||
Boost Software License - Version 1\&.0 - August 17th, 2003
|
||||
.PP
|
||||
See the LICENSE_1_0\&.txt file for more information on that license, or directly on Internet:
|
||||
.br
|
||||
http://www.boost.org/LICENSE_1_0.txt
|
||||
28
boost-1.73.0-cmakedir.patch
Normal file
28
boost-1.73.0-cmakedir.patch
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
--- boost_1_73_0/tools/boost_install/boost-install.jam~ 2020-04-24 20:21:50.330267122 +0100
|
||||
+++ boost_1_73_0/tools/boost_install/boost-install.jam 2020-04-24 20:22:16.818360540 +0100
|
||||
@@ -652,25 +652,6 @@
|
||||
"get_filename_component(_BOOST_CMAKEDIR \"${CMAKE_CURRENT_LIST_DIR}/../\" REALPATH)"
|
||||
: true ;
|
||||
|
||||
- if [ path.is-rooted $(cmakedir) ]
|
||||
- {
|
||||
- local cmakedir-native = [ path-native-fwd $(cmakedir) ] ;
|
||||
-
|
||||
- print.text
|
||||
-
|
||||
- ""
|
||||
- "# If the computed and the original directories are symlink-equivalent, use original"
|
||||
- "if(EXISTS \"$(cmakedir-native)\")"
|
||||
- " get_filename_component(_BOOST_CMAKEDIR_ORIGINAL \"$(cmakedir-native)\" REALPATH)"
|
||||
- " if(_BOOST_CMAKEDIR STREQUAL _BOOST_CMAKEDIR_ORIGINAL)"
|
||||
- " set(_BOOST_CMAKEDIR \"$(cmakedir-native)\")"
|
||||
- " endif()"
|
||||
- " unset(_BOOST_CMAKEDIR_ORIGINAL)"
|
||||
- "endif()"
|
||||
- ""
|
||||
- : true ;
|
||||
- }
|
||||
-
|
||||
get-dir "_BOOST_INCLUDEDIR" : $(includedir) ;
|
||||
|
||||
if $(library-type) = INTERFACE
|
||||
32
boost-1.76.0-fix-narrowing-conversions-for-ppc.patch
Normal file
32
boost-1.76.0-fix-narrowing-conversions-for-ppc.patch
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
From 0039878782516ea3313608f99f0d50e846151bc2 Mon Sep 17 00:00:00 2001
|
||||
From: Jonathan Wakely <jwakely@fedoraproject.org>
|
||||
Date: Mon, 31 Jan 2022 11:37:29 +0000
|
||||
Subject: [PATCH] Fix narrowing conversions for ppc
|
||||
|
||||
These constants are too large for `long long` so are unsigned,
|
||||
and then cannot be narrowed to the signed type.
|
||||
|
||||
Fixes #29
|
||||
---
|
||||
.../numeric/interval/detail/ppc_rounding_control.hpp | 8 ++++----
|
||||
1 file changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/include/boost/numeric/interval/detail/ppc_rounding_control.hpp b/include/boost/numeric/interval/detail/ppc_rounding_control.hpp
|
||||
index 87fe8ee..99f9986 100644
|
||||
--- boost_1_76_0/boost/numeric/interval/detail/ppc_rounding_control.hpp
|
||||
+++ boost_1_76_0/boost/numeric/interval/detail/ppc_rounding_control.hpp
|
||||
@@ -28,10 +28,10 @@ typedef union {
|
||||
double dmode;
|
||||
} rounding_mode_struct;
|
||||
|
||||
-static const rounding_mode_struct mode_upward = { 0xFFF8000000000002LL };
|
||||
-static const rounding_mode_struct mode_downward = { 0xFFF8000000000003LL };
|
||||
-static const rounding_mode_struct mode_to_nearest = { 0xFFF8000000000000LL };
|
||||
-static const rounding_mode_struct mode_toward_zero = { 0xFFF8000000000001LL };
|
||||
+static const rounding_mode_struct mode_upward = { (::boost::long_long_type)0xFFF8000000000002LL };
|
||||
+static const rounding_mode_struct mode_downward = { (::boost::long_long_type)0xFFF8000000000003LL };
|
||||
+static const rounding_mode_struct mode_to_nearest = { (::boost::long_long_type)0xFFF8000000000000LL };
|
||||
+static const rounding_mode_struct mode_toward_zero = { (::boost::long_long_type)0xFFF8000000000001LL };
|
||||
|
||||
struct ppc_rounding_control
|
||||
{
|
||||
25
boost-1.78.0-b2-build-flags.patch
Normal file
25
boost-1.78.0-b2-build-flags.patch
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
From 1ded9b9c219542442b3c10af815e5413a2a89c75 Mon Sep 17 00:00:00 2001
|
||||
From: Thomas W Rodgers <trodgers@redhat.com>
|
||||
Date: Tue, 1 Mar 2022 10:03:34 -0800
|
||||
Subject: [PATCH] Adjust b2 build flags for Fedora Packaging
|
||||
|
||||
---
|
||||
src/engine/build.sh | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tools/build/src/engine/build.sh b/tools/build/src/engine/build.sh
|
||||
index f1ad08cb..ab58deba 100755
|
||||
--- a/tools/build/src/engine/build.sh
|
||||
+++ b/tools/build/src/engine/build.sh
|
||||
@@ -323,7 +323,7 @@ case "${B2_TOOLSET}" in
|
||||
|
||||
gcc|gcc-*)
|
||||
CXX_VERSION_OPT=${CXX_VERSION_OPT:---version}
|
||||
- B2_CXXFLAGS_RELEASE="-O2 -s"
|
||||
+ B2_CXXFLAGS_RELEASE="${RPM_OPT_FLAGS} ${RPM_LD_FLAGS}"
|
||||
B2_CXXFLAGS_DEBUG="-O0 -g"
|
||||
;;
|
||||
|
||||
--
|
||||
2.35.1
|
||||
|
||||
70
boost-1.81.0-build-optflags.patch
Normal file
70
boost-1.81.0-build-optflags.patch
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
From ebc90bc3e372dc8e5db21f79d2a79e4f5c4d01ee Mon Sep 17 00:00:00 2001
|
||||
From: Patrick Palka <ppalka@redhat.com>
|
||||
Date: Mon, 4 Dec 2023 09:24:20 -0500
|
||||
Subject: [PATCH] Adjust options for Fedora package build
|
||||
|
||||
---
|
||||
tools/build/src/tools/gcc.jam | 30 +++++++++++++++---------------
|
||||
1 file changed, 15 insertions(+), 15 deletions(-)
|
||||
|
||||
diff --git a/tools/build/src/tools/gcc.jam b/tools/build/src/tools/gcc.jam
|
||||
index 834f5e1bf..c753afc23 100644
|
||||
--- a/tools/build/src/tools/gcc.jam
|
||||
+++ b/tools/build/src/tools/gcc.jam
|
||||
@@ -513,7 +513,7 @@ rule compile.fortran ( targets * : sources * : properties * )
|
||||
|
||||
actions compile.c++ bind PCH_FILE
|
||||
{
|
||||
- "$(CONFIG_COMMAND)" $(LANG) -ftemplate-depth-$(TEMPLATE_DEPTH) $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) $(INCLUDE-GCH)$(_)"$(PCH_FILE:S=)" $(INCLUDE-PCH)$(_)"$(PCH_FILE)" -I"$(INCLUDES)" -include$(_)"$(FORCE_INCLUDES)" -c -o "$(<)" "$(>:T)"
|
||||
+ "$(CONFIG_COMMAND)" $(LANG) $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) $(INCLUDE-GCH)$(_)"$(PCH_FILE:S=)" $(INCLUDE-PCH)$(_)"$(PCH_FILE)" -I"$(INCLUDES)" -include$(_)"$(FORCE_INCLUDES)" -c -o "$(<)" "$(>:T)"
|
||||
}
|
||||
|
||||
actions compile.c bind PCH_FILE
|
||||
@@ -523,7 +523,7 @@ actions compile.c bind PCH_FILE
|
||||
|
||||
actions compile.c++.preprocess bind PCH_FILE
|
||||
{
|
||||
- "$(CONFIG_COMMAND)" $(LANG) -ftemplate-depth-$(TEMPLATE_DEPTH) $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) $(INCLUDE-GCH)$(_)"$(PCH_FILE:S=)" $(INCLUDE-PCH)$(_)"$(PCH_FILE)" -I"$(INCLUDES)" -include$(_)"$(FORCE_INCLUDES)" "$(>:T)" -E >"$(<)"
|
||||
+ "$(CONFIG_COMMAND)" $(LANG) $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) $(INCLUDE-GCH)$(_)"$(PCH_FILE:S=)" $(INCLUDE-PCH)$(_)"$(PCH_FILE)" -I"$(INCLUDES)" -include$(_)"$(FORCE_INCLUDES)" "$(>:T)" -E >"$(<)"
|
||||
}
|
||||
|
||||
actions compile.c.preprocess bind PCH_FILE
|
||||
@@ -627,22 +627,22 @@ actions compile.c.pch
|
||||
###
|
||||
|
||||
# Declare flags and action for compilation.
|
||||
-toolset.flags gcc.compile OPTIONS <optimization>off : -O0 ;
|
||||
-toolset.flags gcc.compile OPTIONS <optimization>speed : -O3 ;
|
||||
-toolset.flags gcc.compile OPTIONS <optimization>space : -Os ;
|
||||
-toolset.flags gcc.compile OPTIONS <optimization>minimal : -O1 ;
|
||||
+toolset.flags gcc.compile OPTIONS <optimization>off : ;
|
||||
+toolset.flags gcc.compile OPTIONS <optimization>speed : ;
|
||||
+toolset.flags gcc.compile OPTIONS <optimization>space : ;
|
||||
+toolset.flags gcc.compile OPTIONS <optimization>minimal : ;
|
||||
toolset.flags gcc.compile OPTIONS <optimization>debug : -Og ;
|
||||
|
||||
-toolset.flags gcc.compile OPTIONS <inlining>off : -fno-inline ;
|
||||
-toolset.flags gcc.compile OPTIONS <inlining>on : -Wno-inline ;
|
||||
-toolset.flags gcc.compile OPTIONS <inlining>full : -finline-functions -Wno-inline ;
|
||||
+toolset.flags gcc.compile OPTIONS <inlining>off : ;
|
||||
+toolset.flags gcc.compile OPTIONS <inlining>on : ;
|
||||
+toolset.flags gcc.compile OPTIONS <inlining>full : ;
|
||||
|
||||
-toolset.flags gcc.compile OPTIONS <warnings>off : -w ;
|
||||
-toolset.flags gcc.compile OPTIONS <warnings>on : -Wall ;
|
||||
-toolset.flags gcc.compile OPTIONS <warnings>all : -Wall ;
|
||||
-toolset.flags gcc.compile OPTIONS <warnings>extra : -Wall -Wextra ;
|
||||
-toolset.flags gcc.compile OPTIONS <warnings>pedantic : -Wall -Wextra -pedantic ;
|
||||
-toolset.flags gcc.compile OPTIONS <warnings-as-errors>on : -Werror ;
|
||||
+toolset.flags gcc.compile OPTIONS <warnings>off : ;
|
||||
+toolset.flags gcc.compile OPTIONS <warnings>on : ;
|
||||
+toolset.flags gcc.compile OPTIONS <warnings>all : ;
|
||||
+toolset.flags gcc.compile OPTIONS <warnings>extra : ;
|
||||
+toolset.flags gcc.compile OPTIONS <warnings>pedantic : ;
|
||||
+toolset.flags gcc.compile OPTIONS <warnings-as-errors>on : ;
|
||||
|
||||
toolset.flags gcc.compile OPTIONS <debug-symbols>on : -g ;
|
||||
toolset.flags gcc.compile OPTIONS <profiling>on : -pg ;
|
||||
--
|
||||
2.43.0
|
||||
|
||||
42
boost-1.90-system.patch
Normal file
42
boost-1.90-system.patch
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
From d9554db26c3dbb00a6a293ee4fd4966e4e278da8 Mon Sep 17 00:00:00 2001
|
||||
From: Peter Dimov <pdimov@gmail.com>
|
||||
Date: Mon, 15 Dec 2025 21:51:45 +0200
|
||||
Subject: [PATCH] Install boost_system as header-only
|
||||
|
||||
---
|
||||
boost-install.jam | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/boost-install.jam b/boost-install.jam
|
||||
index b87e308..5e6bfa6 100644
|
||||
--- a/tools/boost_install/boost-install.jam
|
||||
+++ b/tools/boost_install/boost-install.jam
|
||||
@@ -1015,7 +1015,7 @@ local rule install-cmake-config- ( install-or-stage : version : name : requireme
|
||||
|
||||
local library-type = UNKNOWN ;
|
||||
|
||||
- if $(name) = boost_headers || $(name) = boost_math || $(name) = boost_exception
|
||||
+ if $(name) = boost_headers || $(name) = boost_math || $(name) = boost_exception || $(name) = boost_system
|
||||
{
|
||||
library-type = INTERFACE ;
|
||||
}
|
||||
From 9529e070ea9e9afd1da17edd48993d560fdc0d7a Mon Sep 17 00:00:00 2001
|
||||
From: Peter Dimov <pdimov@gmail.com>
|
||||
Date: Mon, 15 Dec 2025 21:52:49 +0200
|
||||
Subject: [PATCH] Still install boost_system, for the CMake configuration. Refs
|
||||
#132.
|
||||
|
||||
---
|
||||
build.jam | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/build.jam b/build.jam
|
||||
index 65da5aa6..5b6545c8 100644
|
||||
--- a/libs/system//build.jam
|
||||
+++ b/libs/system//build.jam
|
||||
@@ -21,4 +21,5 @@ explicit
|
||||
;
|
||||
|
||||
call-if : boost-library system
|
||||
+ : install boost_system
|
||||
;
|
||||
31
boost-1.90.0-no-rpath.patch
Normal file
31
boost-1.90.0-no-rpath.patch
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
From 6a8ff06728b64a1121a6179d891ab0baf3b9290b Mon Sep 17 00:00:00 2001
|
||||
From: Patrick Palka <ppalka@redhat.com>
|
||||
Date: Mon, 4 Dec 2023 09:27:13 -0500
|
||||
Subject: [PATCH] Adjust options to remove RPATH for Fedora package builds
|
||||
|
||||
---
|
||||
tools/build/src/tools/gcc.jam | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/tools/build/src/tools/gcc.jam b/tools/build/src/tools/gcc.jam
|
||||
index c753afc23..e0b627726 100644
|
||||
--- a/tools/build/src/tools/gcc.jam
|
||||
+++ b/tools/build/src/tools/gcc.jam
|
||||
@@ -1035,12 +1035,12 @@ rule link.dll ( targets * : sources * : properties * )
|
||||
|
||||
actions link bind LIBRARIES
|
||||
{
|
||||
- "$(CONFIG_COMMAND)" @($(<[1]:T).rsp:O=FC:<=@":>=":E=-L"$(LINKPATH)" -Wl,$(RPATH_OPTION)$(SPACE)-Wl,$(RPATH) -Wl,-rpath-link$(SPACE)-Wl,"$(RPATH_LINK)" -o "$(<:T)" $(START-GROUP) "$(>:T)" "$(LIBRARIES)" $(FINDLIBS-ST-PFX) -l$(FINDLIBS-ST) $(FINDLIBS-SA-PFX) -l$(FINDLIBS-SA) $(END-GROUP) $(OPTIONS) $(USER_OPTIONS))
|
||||
+ "$(CONFIG_COMMAND)" @($(<[1]:T).rsp:O=FC:<=@":>=":E=-L"$(LINKPATH)" -o "$(<:T)" $(START-GROUP) "$(>:T)" "$(LIBRARIES)" $(FINDLIBS-ST-PFX) -l$(FINDLIBS-ST) $(FINDLIBS-SA-PFX) -l$(FINDLIBS-SA) $(END-GROUP) $(OPTIONS) $(USER_OPTIONS))
|
||||
}
|
||||
|
||||
actions link.dll bind LIBRARIES
|
||||
{
|
||||
- "$(CONFIG_COMMAND)" @($(<[1]:T).rsp:O=FC:<=@":>=":E=-L"$(LINKPATH)" -Wl,$(RPATH_OPTION)$(SPACE)-Wl,$(RPATH) -Wl,$(IMPLIB_OPTION:E=--out-implib),"$(<[2]:T)" -o "$(<[1]:T)" $(HAVE_SONAME)-Wl,$(SONAME_OPTION)$(SPACE)-Wl,"$(SONAME_PREFIX:E=)$(<[1]:D=)" $(SHARED_OPTION:E=-shared) $(START-GROUP) "$(>:T)" "$(LIBRARIES)" $(FINDLIBS-ST-PFX) -l$(FINDLIBS-ST) $(FINDLIBS-SA-PFX) -l$(FINDLIBS-SA) $(END-GROUP) $(OPTIONS) $(USER_OPTIONS))
|
||||
+ "$(CONFIG_COMMAND)" @($(<[1]:T).rsp:O=FC:<=@":>=":E=-L"$(LINKPATH)" -Wl,$(IMPLIB_OPTION:E=--out-implib),"$(<[2]:T)" -o "$(<[1]:T)" $(HAVE_SONAME)-Wl,$(SONAME_OPTION)$(SPACE)-Wl,"$(SONAME_PREFIX:E=)$(<[1]:D=)" $(SHARED_OPTION:E=-shared) $(START-GROUP) "$(>:T)" "$(LIBRARIES)" $(FINDLIBS-ST-PFX) -l$(FINDLIBS-ST) $(FINDLIBS-SA-PFX) -l$(FINDLIBS-SA) $(END-GROUP) $(OPTIONS) $(USER_OPTIONS))
|
||||
}
|
||||
|
||||
###
|
||||
--
|
||||
2.43.0
|
||||
|
||||
22
boost-1.90.0-range.patch
Normal file
22
boost-1.90.0-range.patch
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
From 9ac89e9936b826c13e90611cb9a81a7aa0508d20 Mon Sep 17 00:00:00 2001
|
||||
From: Michael Cho <michael@michaelcho.dev>
|
||||
Date: Sun, 30 Mar 2025 21:45:49 -0400
|
||||
Subject: [PATCH] Add include for add_const
|
||||
|
||||
Signed-off-by: Michael Cho <michael@michaelcho.dev>
|
||||
---
|
||||
include/boost/range/detail/any_iterator_interface.hpp | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/include/boost/range/detail/any_iterator_interface.hpp b/include/boost/range/detail/any_iterator_interface.hpp
|
||||
index 1103be6c..79e71dbd 100644
|
||||
--- boost_1_90_0/boost/range/detail/any_iterator_interface.hpp
|
||||
+++ boost_1_90_0/boost/range/detail/any_iterator_interface.hpp
|
||||
@@ -13,6 +13,7 @@
|
||||
#include <boost/mpl/if.hpp>
|
||||
#include <boost/range/detail/any_iterator_buffer.hpp>
|
||||
#include <boost/iterator/iterator_categories.hpp>
|
||||
+#include <boost/type_traits/add_const.hpp>
|
||||
#include <boost/type_traits/is_convertible.hpp>
|
||||
#include <boost/type_traits/is_reference.hpp>
|
||||
#include <boost/type_traits/remove_const.hpp>
|
||||
|
|
@ -1,38 +0,0 @@
|
|||
*** configure.orig 2007-01-16 01:39:00.000000000 +0100
|
||||
--- configure 2007-01-19 03:53:08.000000000 +0100
|
||||
***************
|
||||
*** 9,15 ****
|
||||
|
||||
BJAM=""
|
||||
TOOLSET=""
|
||||
! BJAM_CONFIG=""
|
||||
BUILD=""
|
||||
PREFIX=/usr/local
|
||||
EPREFIX=
|
||||
--- 9,15 ----
|
||||
|
||||
BJAM=""
|
||||
TOOLSET=""
|
||||
! BJAM_CONFIG="-d2 --layout=system variant=release debug-symbols=on"
|
||||
BUILD=""
|
||||
PREFIX=/usr/local
|
||||
EPREFIX=
|
||||
*************** INCLUDEDIR=$INCLUDEDIR
|
||||
*** 325,332 ****
|
||||
LIBS=$LIBS
|
||||
|
||||
all: .dummy
|
||||
! @echo "\$(BJAM) \$(BJAM_CONFIG) --user-config=user-config.jam \$(LIBS)"
|
||||
! @\$(BJAM) \$(BJAM_CONFIG) --user-config=user-config.jam \$(LIBS) || \\
|
||||
echo "Not all Boost libraries built properly."
|
||||
|
||||
clean: .dummy
|
||||
--- 325,332 ----
|
||||
LIBS=$LIBS
|
||||
|
||||
all: .dummy
|
||||
! @echo "\$(BJAM) \$(BJAM_CONFIG) --user-config=user-config.jam \$(LIBS) stage"
|
||||
! @\$(BJAM) \$(BJAM_CONFIG) --user-config=user-config.jam \$(LIBS) stage || \\
|
||||
echo "Not all Boost libraries built properly."
|
||||
|
||||
clean: .dummy
|
||||
|
|
@ -1,37 +0,0 @@
|
|||
*** tools/build/v2/tools/gcc.jam.orig 2007-05-03 08:09:04.000000000 +0200
|
||||
--- tools/build/v2/tools/gcc.jam 2007-06-26 20:37:44.000000000 +0200
|
||||
*************** if [ os.name ] != NT && [ os.name ] != O
|
||||
*** 316,322 ****
|
||||
# expected, therefore it has been disabled.
|
||||
|
||||
HAVE_SONAME = "" ;
|
||||
! SONAME_OPTION = -h ;
|
||||
}
|
||||
|
||||
|
||||
--- 316,323 ----
|
||||
# expected, therefore it has been disabled.
|
||||
|
||||
HAVE_SONAME = "" ;
|
||||
! SONAME_OPTION = -soname ;
|
||||
! SONAME_VERSION = 3 ;
|
||||
}
|
||||
|
||||
|
||||
*************** rule link.dll ( targets * : sources * :
|
||||
*** 631,637 ****
|
||||
# Differ from 'link' above only by -shared.
|
||||
actions link.dll bind LIBRARIES
|
||||
{
|
||||
! "$(CONFIG_COMMAND)" -L"$(LINKPATH)" -Wl,$(RPATH_OPTION:E=-R)$(SPACE)-Wl,"$(RPATH)" "$(.IMPLIB-COMMAND)$(<[1])" -o "$(<[-1])" $(HAVE_SONAME)-Wl,$(SONAME_OPTION)$(SPACE)-Wl,$(<[-1]:D=) -shared $(START-GROUP) "$(>)" "$(LIBRARIES)" -l$(FINDLIBS-ST) -l$(FINDLIBS-SA) $(END-GROUP) $(OPTIONS) $(USER_OPTIONS)
|
||||
}
|
||||
|
||||
# Set up threading support. It's somewhat contrived, so perform it at the end,
|
||||
--- 632,638 ----
|
||||
# Differ from 'link' above only by -shared.
|
||||
actions link.dll bind LIBRARIES
|
||||
{
|
||||
! "$(CONFIG_COMMAND)" -L"$(LINKPATH)" -Wl,$(RPATH_OPTION:E=-R)$(SPACE)-Wl,"$(RPATH)" "$(.IMPLIB-COMMAND)$(<[1])" -o "$(<[-1])" $(HAVE_SONAME)-Wl,$(SONAME_OPTION)$(SPACE)-Wl,$(<[-1]:D=).$(SONAME_VERSION) -shared $(START-GROUP) "$(>)" "$(LIBRARIES)" -l$(FINDLIBS-ST) -l$(FINDLIBS-SA) $(END-GROUP) $(OPTIONS) $(USER_OPTIONS)
|
||||
}
|
||||
|
||||
# Set up threading support. It's somewhat contrived, so perform it at the end,
|
||||
|
|
@ -1,168 +0,0 @@
|
|||
*** tools/regression/run_tests.sh.orig 2007-07-31 19:44:25.000000000 -0500
|
||||
--- tools/regression/run_tests.sh 2007-08-01 12:17:25.000000000 -0500
|
||||
***************
|
||||
*** 15,21 ****
|
||||
# This can be either a non-exitent directory or an already complete Boost
|
||||
# source tree.
|
||||
#
|
||||
! boost_root="$HOME/CVSROOTs/Boost/boost_regression"
|
||||
|
||||
#
|
||||
# Wether to fetch the most current Boost code from CVS (yes/no):
|
||||
--- 15,21 ----
|
||||
# This can be either a non-exitent directory or an already complete Boost
|
||||
# source tree.
|
||||
#
|
||||
! boost_root="/usr/src/redhat/BUILD/boost_1_34_1"
|
||||
|
||||
#
|
||||
# Wether to fetch the most current Boost code from CVS (yes/no):
|
||||
*************** test_tools=gcc
|
||||
*** 42,58 ****
|
||||
toolset=gcc
|
||||
|
||||
#
|
||||
- # "comment_path" is the path to an html-file describing the test environment.
|
||||
- # The content of this file will be embedded in the status pages being produced.
|
||||
- #
|
||||
- comment_path="$boost_root/../regression_comment.html"
|
||||
- #
|
||||
# "test_dir" is the relative path to the directory to run the tests in,
|
||||
# defaults to "status" and runs all the tests, but could be a sub-directory
|
||||
# for example "libs/regex/test" to run the regex tests alone.
|
||||
#
|
||||
test_dir="status"
|
||||
|
||||
|
||||
### DEFAULTS ARE OK FOR THESE.
|
||||
|
||||
--- 42,59 ----
|
||||
toolset=gcc
|
||||
|
||||
#
|
||||
# "test_dir" is the relative path to the directory to run the tests in,
|
||||
# defaults to "status" and runs all the tests, but could be a sub-directory
|
||||
# for example "libs/regex/test" to run the regex tests alone.
|
||||
#
|
||||
test_dir="status"
|
||||
|
||||
+ #
|
||||
+ # "comment_path" is the path to an html-file describing the test environment.
|
||||
+ # The content of this file will be embedded in the status pages being produced.
|
||||
+ #
|
||||
+ comment_path="$boost_root/$test_dir/regression_comment.html"
|
||||
+
|
||||
|
||||
### DEFAULTS ARE OK FOR THESE.
|
||||
|
||||
*************** exe_suffix=
|
||||
*** 71,76 ****
|
||||
--- 72,80 ----
|
||||
#
|
||||
bjam="$boost_root/tools/jam/src/bin/bjam$exe_suffix"
|
||||
|
||||
+ # bjam options
|
||||
+ bjam_flags="--layout=system variant=release -sICU_PATH=/usr --user-config=$boost_root/user-config.jam"
|
||||
+
|
||||
#
|
||||
# "process_jam_log", and "compiler_status" paths to built helper programs:
|
||||
# The location of the executables of the regression help programs. These
|
||||
*************** else
|
||||
*** 98,103 ****
|
||||
--- 102,115 ----
|
||||
fi
|
||||
export BOOST_BUILD_PATH
|
||||
|
||||
+ # For shared objects.
|
||||
+ old_ld_library_path=$LD_LIBRARY_PATH
|
||||
+ old_ld_run_path=$LD_RUN_PATH
|
||||
+ LD_LIBRARY_PATH="$boost_root/stage/lib:$old_ld_library_path"
|
||||
+ LD_RUN_PATH="$boost_root/stage/lib:$old_ld_run_path"
|
||||
+ export LD_LIBRARY_PATH
|
||||
+ export LD_RUN_PATH
|
||||
+
|
||||
#
|
||||
# STEP 0:
|
||||
#
|
||||
*************** fi
|
||||
*** 126,137 ****
|
||||
# STEP 1:
|
||||
# rebuild bjam if required:
|
||||
#
|
||||
! echo building bjam:
|
||||
! cd "$boost_root/tools/jam/src" && \
|
||||
! LOCATE_TARGET=bin sh ./build.sh
|
||||
! if test $? != 0 ; then
|
||||
! echo "bjam build failed."
|
||||
! exit 256
|
||||
fi
|
||||
|
||||
#
|
||||
--- 138,152 ----
|
||||
# STEP 1:
|
||||
# rebuild bjam if required:
|
||||
#
|
||||
! echo "finding or building bjam":
|
||||
! if test ! -f "$bjam" ; then
|
||||
! echo "building bjam":
|
||||
! cd "$boost_root/tools/jam/src" && \
|
||||
! LOCATE_TARGET=bin sh ./build.sh
|
||||
! if test $? != 0 ; then
|
||||
! echo "bjam build failed."
|
||||
! exit 256
|
||||
! fi
|
||||
fi
|
||||
|
||||
#
|
||||
*************** fi
|
||||
*** 139,146 ****
|
||||
# rebuild the regression test helper programs if required:
|
||||
#
|
||||
echo building regression test helper programs:
|
||||
! cd "$boost_root/tools/regression/build" && \
|
||||
! "$bjam" $toolset release
|
||||
if test $? != 0 ; then
|
||||
echo "helper program build failed."
|
||||
exit 256
|
||||
--- 154,160 ----
|
||||
# rebuild the regression test helper programs if required:
|
||||
#
|
||||
echo building regression test helper programs:
|
||||
! cd "$boost_root/tools/regression/build" && "$bjam" $bjam_flags $toolset
|
||||
if test $? != 0 ; then
|
||||
echo "helper program build failed."
|
||||
exit 256
|
||||
*************** for tool in $test_tools ; do
|
||||
*** 158,164 ****
|
||||
#
|
||||
echo running the $tool regression tests:
|
||||
cd "$boost_root/$test_dir"
|
||||
! "$bjam" $tool --dump-tests 2>&1 | tee regress.log
|
||||
|
||||
#
|
||||
# STEP 4:
|
||||
--- 172,180 ----
|
||||
#
|
||||
echo running the $tool regression tests:
|
||||
cd "$boost_root/$test_dir"
|
||||
! echo "<p> begin time: " `date` "</p>" >> "$comment_path"
|
||||
! "$bjam" $bjam_flags $tool --dump-tests 2>&1 | tee regress.log
|
||||
! echo "<p> end time: " `date` "</p>" >> "$comment_path"
|
||||
|
||||
#
|
||||
# STEP 4:
|
||||
*************** if test $? != 0 ; then
|
||||
*** 185,190 ****
|
||||
--- 201,212 ----
|
||||
exit 256
|
||||
fi
|
||||
|
||||
+ # cleanup
|
||||
+ LD_LIBRARY_PATH="$old_ld_library_path"
|
||||
+ LD_RUN_PATH="$old_ld_run_path"
|
||||
+ export LD_LIBRARY_PATH
|
||||
+ export LD_RUN_PATH
|
||||
+
|
||||
echo "done!"
|
||||
|
||||
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
*** tools/build/v2/tools/gcc.jam.orig 2007-08-01 01:17:16.000000000 -0500
|
||||
--- tools/build/v2/tools/gcc.jam 2007-08-01 01:17:46.000000000 -0500
|
||||
*************** flags gcc.compile PCH_FILE <pch>on : <pc
|
||||
*** 268,274 ****
|
||||
|
||||
# Declare flags and action for compilation
|
||||
flags gcc.compile OPTIONS <optimization>off : -O0 ;
|
||||
! flags gcc.compile OPTIONS <optimization>speed : -O3 ;
|
||||
flags gcc.compile OPTIONS <optimization>space : -Os ;
|
||||
|
||||
flags gcc.compile OPTIONS <inlining>off : -fno-inline ;
|
||||
--- 268,274 ----
|
||||
|
||||
# Declare flags and action for compilation
|
||||
flags gcc.compile OPTIONS <optimization>off : -O0 ;
|
||||
! flags gcc.compile OPTIONS <optimization>speed : "$RPM_OPT_FLAGS" ;
|
||||
flags gcc.compile OPTIONS <optimization>space : -Os ;
|
||||
|
||||
flags gcc.compile OPTIONS <inlining>off : -fno-inline ;
|
||||
24
boost.rpmlintrc
Normal file
24
boost.rpmlintrc
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
# The meta-package doesn't contain any files, this is intended.
|
||||
addFilter("boost.x86_64: E: no-binary")
|
||||
|
||||
# All docs are in a separate boost-doc package
|
||||
addFilter("boost.*: W: no-documentation")
|
||||
addFilter("boost.*: W: description-shorter-than-summary")
|
||||
|
||||
# Upstream don't provide one
|
||||
addFilter("boost-doctools.x86_64: W: no-manual-page-for-binary quickbook")
|
||||
|
||||
# Ignore these
|
||||
addFilter("boost.*: W: spelling-error %description -l en_US foundational ")
|
||||
addFilter("boost.*: W: spelling-error %description -l en_US invariants ")
|
||||
addFilter("boost.*: W: spelling-error %description -l en_US postconditions ")
|
||||
addFilter("boost.*: W: spelling-error %description -l en_US userland ")
|
||||
addFilter("boost.*: W: spelling-error Summary(en_US) numpy ")
|
||||
|
||||
# The example code is useless without the headers
|
||||
addFilter("boost-examples.x86_64: E: devel-dependency boost-devel")
|
||||
|
||||
# These libs are statically linked
|
||||
addFilter("boost-date-time.x86_64: E: shared-lib-without-dependency-information /usr/lib64/libboost_date_time.so.*")
|
||||
addFilter("boost-system.x86_64: E: shared-lib-without-dependency-information /usr/lib64/libboost_system.so.*")
|
||||
addFilter("boost-stacktrace.x86_64: E: shared-lib-without-dependency-information /usr/lib64/libboost_stacktrace_noop.so.*")
|
||||
2888
boost.spec
2888
boost.spec
File diff suppressed because it is too large
Load diff
19
gating.yaml
Normal file
19
gating.yaml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
--- !Policy
|
||||
product_versions:
|
||||
- fedora-*
|
||||
decision_context: bodhi_update_push_stable
|
||||
subject_type: koji_build
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-8
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1-gating.functional}
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-9
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1-gating.functional}
|
||||
5
plans/ci.fmf
Normal file
5
plans/ci.fmf
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
summary: CI Gating Plan
|
||||
discover:
|
||||
how: fmf
|
||||
execute:
|
||||
how: tmt
|
||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
2d938467e8a448a2c9763e0a9f8ca7e5 boost_1_34_1.tar.bz2
|
||||
SHA512 (boost_1_90_0.tar.bz2) = 1c81b60f63367d7249f277f0a569c181926dcf5a725e30433dd336205f1782880489dd00df6a1a74fd107765d3ca2cd49f806788cabb7d5700a8a55927a9a199
|
||||
|
|
|
|||
63
tests/boost-testsuite-sanity/Makefile
Normal file
63
tests/boost-testsuite-sanity/Makefile
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
#
|
||||
# Makefile of /tools/boost/Sanity/boost-testsuite-sanity
|
||||
# Description: boost testing by upstream testsuite
|
||||
# Author: Michal Kolar <mkolar@redhat.com>
|
||||
#
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
#
|
||||
# Copyright (c) 2021 Red Hat, Inc.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or
|
||||
# modify it under the terms of the GNU General Public License as
|
||||
# published by the Free Software Foundation, either version 2 of
|
||||
# the License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be
|
||||
# useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
# PURPOSE. See the GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see http://www.gnu.org/licenses/.
|
||||
#
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
export TEST=/tools/boost/Sanity/boost-testsuite-sanity
|
||||
export TESTVERSION=1.0
|
||||
|
||||
BUILT_FILES=
|
||||
|
||||
FILES=$(METADATA) runtest.sh Makefile PURPOSE tests
|
||||
|
||||
.PHONY: all install download clean
|
||||
|
||||
run: $(FILES) build
|
||||
./runtest.sh
|
||||
|
||||
build: $(BUILT_FILES)
|
||||
test -x runtest.sh || chmod a+x runtest.sh
|
||||
|
||||
clean:
|
||||
rm -f *~ $(BUILT_FILES)
|
||||
|
||||
|
||||
include /usr/share/rhts/lib/rhts-make.include
|
||||
|
||||
$(METADATA): Makefile
|
||||
@echo "Owner: Michal Kolar <mkolar@redhat.com>" > $(METADATA)
|
||||
@echo "Name: $(TEST)" >> $(METADATA)
|
||||
@echo "TestVersion: $(TESTVERSION)" >> $(METADATA)
|
||||
@echo "Path: $(TEST_DIR)" >> $(METADATA)
|
||||
@echo "Description: boost testing by upstream testsuite" >> $(METADATA)
|
||||
@echo "Type: Sanity" >> $(METADATA)
|
||||
@echo "TestTime: 1h" >> $(METADATA)
|
||||
@echo "RunFor: boost" >> $(METADATA)
|
||||
@echo "Requires: boost dnf-utils rpm-build boost-b2" >> $(METADATA)
|
||||
@echo "Priority: Normal" >> $(METADATA)
|
||||
@echo "License: GPLv2+" >> $(METADATA)
|
||||
@echo "Confidential: no" >> $(METADATA)
|
||||
@echo "Destructive: no" >> $(METADATA)
|
||||
@echo "Releases: -RHEL4 -RHELClient5 -RHELServer5 -RHEL6 -RHEL7 -RHEL8" >> $(METADATA)
|
||||
|
||||
rhts-lint $(METADATA)
|
||||
3
tests/boost-testsuite-sanity/PURPOSE
Normal file
3
tests/boost-testsuite-sanity/PURPOSE
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
PURPOSE of /tools/boost/Sanity/boost-testsuite-sanity
|
||||
Description: boost testing by upstream testsuite
|
||||
Author: Michal Kolar <mkolar@redhat.com>
|
||||
16
tests/boost-testsuite-sanity/main.fmf
Normal file
16
tests/boost-testsuite-sanity/main.fmf
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
summary: boost testing by upstream testsuite
|
||||
description: ''
|
||||
contact:
|
||||
- Michal Kolar <mkolar@redhat.com>
|
||||
component:
|
||||
- boost
|
||||
test: ./runtest.sh
|
||||
framework: beakerlib
|
||||
recommend:
|
||||
- boost
|
||||
- dnf-utils
|
||||
- rpm-build
|
||||
- boost-b2
|
||||
duration: 1h
|
||||
extra-summary: /tools/boost/Sanity/boost-testsuite-sanity
|
||||
extra-task: /tools/boost/Sanity/boost-testsuite-sanity
|
||||
99
tests/boost-testsuite-sanity/runtest.sh
Executable file
99
tests/boost-testsuite-sanity/runtest.sh
Executable file
|
|
@ -0,0 +1,99 @@
|
|||
#!/bin/bash
|
||||
# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
#
|
||||
# runtest.sh of /tools/boost/Sanity/boost-testsuite-sanity
|
||||
# Description: boost testing by upstream testsuite
|
||||
# Author: Michal Kolar <mkolar@redhat.com>
|
||||
#
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
#
|
||||
# Copyright (c) 2021 Red Hat, Inc.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or
|
||||
# modify it under the terms of the GNU General Public License as
|
||||
# published by the Free Software Foundation, either version 2 of
|
||||
# the License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be
|
||||
# useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
# PURPOSE. See the GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see http://www.gnu.org/licenses/.
|
||||
#
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
# Include Beaker environment
|
||||
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
||||
|
||||
BUILD_USER=${BUILD_USER:-bstbld}
|
||||
TESTS_COUNT_MIN=${TESTS_COUNT_MIN:-100}
|
||||
PACKAGE="boost"
|
||||
REQUIRES="$PACKAGE rpm-build boost-b2"
|
||||
if rlIsFedora; then
|
||||
REQUIRES="$REQUIRES dnf-utils"
|
||||
else
|
||||
REQUIRES="$REQUIRES yum-utils"
|
||||
fi
|
||||
|
||||
rlJournalStart
|
||||
rlPhaseStartSetup
|
||||
rlShowRunningKernel
|
||||
rlAssertRpm --all
|
||||
rlRun "TmpDir=`mktemp -d /home/boost.XXXXXXXXXX`" # work in /home due to high demands on disk space
|
||||
rlRun "cp tests $TmpDir"
|
||||
rlRun "pushd $TmpDir"
|
||||
rlFetchSrcForInstalled $PACKAGE
|
||||
rlRun "useradd -M -N $BUILD_USER" 0,9
|
||||
[ "$?" == "0" ] && rlRun "del=yes"
|
||||
rlRun "chown -R $BUILD_USER:users $TmpDir"
|
||||
rlPhaseEnd
|
||||
|
||||
rlPhaseStartSetup "build boost"
|
||||
rlRun "rpm -D \"_topdir $TmpDir\" -U *.src.rpm"
|
||||
rlRun "dnf builddep -y $TmpDir/SPECS/*.spec"
|
||||
rlRun "sed -i -e 's/^%prep/%prep\n%dump/' $TmpDir/SPECS/*.spec"
|
||||
rlRun "su -c 'rpmbuild -D \"_topdir $TmpDir\" -bp $TmpDir/SPECS/*.spec &>$TmpDir/rpmbuild.log' $BUILD_USER"
|
||||
rlRun "rlFileSubmit $TmpDir/rpmbuild.log"
|
||||
rlRun "toplev_dirname=`awk '/toplev_dirname/{print $3; exit}' $TmpDir/rpmbuild.log`"
|
||||
cd $TmpDir/BUILD/$toplev_dirname
|
||||
if [ $? -ne 0 ]; then
|
||||
# handle rpm 4.20 build directory difference
|
||||
# https://github.com/rpm-software-management/rpm/issues/3147
|
||||
rlRun "cd $TmpDir/BUILD/*-build/$toplev_dirname"
|
||||
fi
|
||||
# now we know the top-level build dir, keep it for later
|
||||
rlRun "BuildDir=$(pwd)"
|
||||
rlRun "su -c './bootstrap.sh &>$TmpDir/bootstrap.log' $BUILD_USER"
|
||||
rlRun "rlFileSubmit $TmpDir/bootstrap.log"
|
||||
rlPhaseEnd
|
||||
|
||||
rlPhaseStartTest "run testsuite"
|
||||
while read test_path; do
|
||||
if [ -f $BuildDir/libs/$test_path/test/Jamfile* ]; then
|
||||
rlRun "cd $BuildDir/libs/$test_path/test"
|
||||
rlRun "su -c '/usr/bin/b2 -d1 --build-dir=$TmpDir/test-build &>>$TmpDir/testsuite.log' $BUILD_USER"
|
||||
rm -fr $TmpDir/test-build
|
||||
else
|
||||
rlLogInfo "$test_path/Jamfile* not found, skipping"
|
||||
fi
|
||||
done <$TmpDir/tests
|
||||
rlRun "rlFileSubmit $TmpDir/testsuite.log"
|
||||
rlPhaseEnd
|
||||
|
||||
rlPhaseStartTest "evaluate results"
|
||||
rlRun "cd $TmpDir"
|
||||
rlRun "grep -E '\.\.\.failed .+$TmpDir/test-build' testsuite.log" 1 "There should be no failure"
|
||||
rlRun "tests_count=\$(grep -E '\*\*passed\*\*.+$TmpDir/test-build' testsuite.log | wc -l)"
|
||||
[ "$tests_count" -ge "$TESTS_COUNT_MIN" ] && rlLogInfo "Test counter: $tests_count" || rlFail "Test counter $tests_count should be greater than or equal to $TESTS_COUNT_MIN"
|
||||
rlPhaseEnd
|
||||
|
||||
rlPhaseStartCleanup
|
||||
rlRun "popd"
|
||||
rlRun "rm -r $TmpDir"
|
||||
[ "$del" == "yes" ] && rlRun "userdel $BUILD_USER"
|
||||
rlPhaseEnd
|
||||
rlJournalPrintText
|
||||
rlJournalEnd
|
||||
5
tests/boost-testsuite-sanity/tests
Normal file
5
tests/boost-testsuite-sanity/tests
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
integer
|
||||
random
|
||||
rational
|
||||
regex
|
||||
timer
|
||||
Loading…
Add table
Add a link
Reference in a new issue