Compare commits

...

426 commits

Author SHA1 Message Date
Yaakov Selkowitz
50fc2b0fda Add dependencies on new subpackages to metapackage
boost-devel Requires: boost, which itself needs to Requires all
library subpackages so that the libboost_*.so symlinks are resolved,
and packages can safely link to them.
2026-01-14 20:16:20 -05:00
Jonathan Wakely
4a0779ec8c Fix libboost_system.so linker script to avoid ldcondig warning 2026-01-13 15:59:13 +00:00
Jonathan Wakely
5379719078 Add patch for boost/range/detail/any_iterator_interface.hpp 2026-01-12 12:22:41 +00:00
Jonathan Wakely
ec7383f6bd Rebase to 1.90.0
See https://fedoraproject.org/wiki/Changes/F44_Boost_1_90
Drop boost-system subpackage and libboost_thread.so linker script
Add new boost-charconv, boost-cobalt, and boost-process subpackages
2026-01-10 22:49:17 +00:00
Python Maint
403199971d Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 12:09:30 +02:00
Python Maint
4a984a6238 Rebuilt for Python 3.14.0rc2 bytecode 2025-08-15 12:40:18 +02:00
František Zatloukal
2f2bd5aba3 Rebuilt for icu 77.1 2025-08-05 19:09:43 +02:00
Fedora Release Engineering
bb27bd2d27 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-23 17:49:38 +00:00
Python Maint
9784bfcbb7 Rebuilt for Python 3.14 2025-06-03 12:29:48 +02:00
Wolfgang Stöggl
bd0476d632 Fix no member named ‘that’ error
- Add boost-1.83-fix-no-member-named_that_error.patch
- Fixes FTBS of Poedit (#2341086)
2025-01-26 07:44:25 +01:00
Fedora Release Engineering
7e04e7d896 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-16 12:45:41 +00:00
Sandro
3cc264041a
Backport patches for NumPy 2.x
Fix build error since upgrade to NumPy 2.x.
2024-12-25 09:40:28 +01:00
Pete Walter
0d18786666 Rebuild for ICU 76 2024-12-06 12:34:24 +00:00
Adam Williamson
a893d9ada9 Handle RPM 4.20 build directory change
RPM 4.20 adds another level to the build directory path, see
https://github.com/rpm-software-management/rpm/issues/3147 .
This tries to handle it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-01 09:36:55 -07:00
Fedora Release Engineering
750fb0618c Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-17 18:30:44 +00:00
Python Maint
8a9a6c5073 Rebuilt for Python 3.13 2024-06-08 08:07:49 +02:00
Jonathan Wakely
74cf822853 Add missing Requires for rpminspect errors 2024-06-06 17:03:33 +01:00
U2FsdGVkX1
531b5cfda3 Backport patch to fix RISC-V functions missing 2024-06-06 19:04:31 +08:00
Kefu Chai
e13a584ab7 Add patch for addressing a Boost.Math bug
This change addresses the issue of
https://github.com/boostorg/math/issues/1132

the patch addresses the issue where float_next() and float_prior() return
a domain error instead +INF or -INF. this issue is a regression in
Boost 1.79.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2024-05-25 12:58:19 +08:00
Kefu Chai
dce3f3406f Add patch for addressing a Boost.Multiprecision bug
This change addresses the issue of
https://github.com/boostorg/multiprecision/issues/553,
the fix prevents an application from crash due to an exception
thrown in a function marked `noexcept`, when converting a `cpp_int`
to a float, if the value of this `cpp_int` cannot be represented with
a float. this issue is a regression in Boost 1.79, see more details
at https://github.com/boostorg/multiprecision/pull/618

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2024-05-05 10:30:54 +08:00
Pete Walter
932a39a687 Rebuild for ICU 74 2024-01-31 19:14:40 +00:00
Fedora Release Engineering
fe1d35be50 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-23 00:41:49 +00:00
Fedora Release Engineering
73e87aacff Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-19 14:36:38 +00:00
Patrick Palka
177b2b775d Rebase to 1.83.0
See https://fedoraproject.org/wiki/Changes/F40Boost183

Follow-up build fixes to dependent packages include:

  https://src.fedoraproject.org/fork/ppalka/rpms/aqsis/commits/rawhide
  https://src.fedoraproject.org/fork/ppalka/rpms/auryn/commits/rawhide
  https://src.fedoraproject.org/fork/ppalka/rpms/Field3D/commits/rawhide
  https://src.fedoraproject.org/fork/ppalka/rpms/python-graph-tool/commits/rawhide
  https://src.fedoraproject.org/fork/ppalka/rpms/scantailor/commits/rawhide
2023-12-06 14:24:37 -05:00
Yaakov Selkowitz
2dfe9ef974 Disable openmpi on RHEL 10+
RHEL 10 follows Fedora 40 and therefore also dropped the i686 build of
openmpi.
2023-12-05 17:54:28 -05:00
Orion Poplawski
56ec04471d Rework conditional 2023-10-29 12:44:09 -06:00
Orion Poplawski
d121d46377 Rebuild for openmpi 5.0.0, drops support for i686 2023-10-29 12:09:30 -06:00
Jonathan Wakely
bab1cef729 Remove dropped patches
These were dropped from the spec file but not removed from git.
2023-09-12 13:07:32 +01:00
Michal Kolar
a9ff19d2d3 tests/boost-testsuite-sanity: adapt to rpm package > 4.18.91, use the proper rpm macro value to determine the required path 2023-09-07 11:54:15 +00:00
Michal Kolar
bffabb9a28 Revert "tests/boost-testsuite-sanity: adapt to rpm package > 4.18.91"
This reverts commit 10a5ee96ff.
2023-09-07 11:44:26 +00:00
Michal Kolar
10a5ee96ff tests/boost-testsuite-sanity: adapt to rpm package > 4.18.91 2023-09-04 21:36:31 +00:00
Tom Callaway
39785c3bbd apply upstream fixes for failing random tests 2023-08-29 16:21:15 -04:00
Kefu Chai
33b1e83abc Add patch for Boost.Accumulators bug
This change silences the warning when compiling Boost.accumulators
with GCC 13. as some projects using Boost.Accumulators are compiled
with -Werror. Without this change, these project would have to disable
-Wuninitialized warning or silence it temporarily when including
the offending headers. Neither of these two solution is ideal from
a developer's perspective. so let's apply the patch when packaging
Boost. The patch was included by Boost 1.83.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2023-08-20 01:12:37 +08:00
Tom Callaway
74826991aa add symlink for b2 files 2023-08-02 12:53:55 -04:00
Fedora Release Engineering
fd721ad7d3 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-19 14:50:10 +00:00
František Zatloukal
61dda027eb Rebuilt for ICU 73.2 2023-07-11 16:21:59 +02:00
Jonathan Wakely
a4fcef0016 Update License for SPDX migration 2023-07-06 00:05:50 +01:00
Python Maint
7d7a237052 Rebuilt for Python 3.12 2023-06-13 22:13:55 +02:00
Nianqing Yao
393e648a01 Fix build for riscv64
See https://github.com/fedora-riscv/boost/tree/f38-rv64.
2023-05-05 21:07:19 +08:00
Jonathan Wakely
6b80e21fd9 Change spec file to use autospec for applying patches
Also renumber the patches from 0-7 since any historical significance of
the numbers is already gone from the spec file.
2023-03-15 18:22:28 +00:00
Jonathan Wakely
131ff2b1a6 Fix test plan by removing obsolete beakerlib setting 2023-03-15 12:02:09 +00:00
Jonathan Wakely
1116a4d288 Add patch for Boost.Phoenix bugs (#2178210) 2023-03-15 09:38:57 +00:00
Jonathan Wakely
a496150aec Fix typo in %changelog 2023-03-15 09:36:13 +00:00
Thomas W Rodgers
3420df7244 Rebase to 1.81.0
See https://fedoraproject.org/wiki/Changes/F38Boost181
Drop patches:
  deleted: boost-1.58.0-pool.patch
  deleted: boost-1.58.0-pool-test_linking.patch
  deleted: boost-1.78.0-build-optflags.patch
  deleted: boost-1.73-locale-empty-vector.patch
  deleted: boost-1.76.0-fix_multiprecision_issue_419-ppc64le.patch
  deleted: boost-1.76.0-ptr_cont-xml.patch
  deleted: boost-1.78.0-fix-b2-staging.patch
  deleted: boost-1.76.0-enum_type_object-type-python-3.11.patch
- New Boost.URL runtime component
- boost_build directory is now b2 in upstream, renamte to boost_build on install
2023-02-20 09:27:47 -08:00
Fedora Release Engineering
571ebc8df1 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-18 23:05:04 +00:00
Pete Walter
8576ab076f Rebuild for ICU 72 2022-12-31 02:19:50 +00:00
Jonathan Wakely
1c4335a6e0 Use xargs --no-run-if-empty to avoid error
Recent Boost releases seem to have no executable headers,
so the find command returns no results.
2022-12-14 17:47:59 +00:00
František Zatloukal
e938c8d9b3 Rebuilt for ICU 71.1 2022-08-01 15:02:21 +02:00
Fedora Release Engineering
bea3cff9ae Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-20 22:11:12 +00:00
Jonathan Wakely
af99b52501 Add boost-json to umbrella package 2022-07-14 13:35:31 +01:00
Jonathan Wakely
6585f3fb6e Restore Provides for boost-python3-devel (#2100748)
This doesn't restore the Provides: boost-nowide-devel as that is only
used in one package, which is already changing. The Provides: boost-jam
isn't needed either.
2022-06-24 10:41:42 +01:00
Laurent Rineau
2888982c28 Fix the CMake config file for openmpi and mpich 2022-06-23 11:42:32 +01:00
Jonathan Wakely
b96dcf38c8 Remove old Obsoletes tags 2022-06-21 21:20:41 +01:00
Python Maint
12bd4872ac Rebuilt for Python 3.11 2022-06-14 17:28:28 +02:00
Laurent Rineau
19a004c283 Re-add CMake file
Fixes rhbz#1898979
2022-06-14 14:32:18 +01:00
Python Maint
36115b3780 Rebuilt for Python 3.11 2022-06-13 18:55:42 +02:00
Thomas Rodgers
5827653083 Rebase to 1.78.0
See https://fedoraproject.org/wiki/Changes/F37Boost178
Drop patches:
    deleted: boost-1.75.0-build-optflags.patch
    deleted: boost-1.75.0-no-rpath.patch
    deleted: boost-1.76.0-b2-build-flags.patch
    deleted: boost-1.76.0-fix-include-inside-boost-namespace.patch
    deleted: boost-1.76.0-fix-duplicate-typedef-in-mp.patch
Fix silent dropping of some libraries
  See https://github.com/bfgroup/b2/pull/113
2022-05-03 07:42:29 -07:00
Jonathan Wakely
9c645e2838 Tidy up %changelog 2022-04-27 18:13:43 +01:00
Thomas W Rodgers
efa25cfd81 And this time with the boost-1.76.0-enum_type_object-type-python-3.11.patch 2022-04-27 07:45:37 -07:00
Thomas W Rodgers
83163cb5f7 Merged https://src.fedoraproject.org/rpms/boost/pull-request/13 (#204336)
Miro Hrončok <mhroncok@redhat.com> Fix enum_type_object type on Python 3.11
  See https://github.com/boostorg/python/pull/385#event-6498973175
Fix previous changelog copy-pasta
2022-04-27 07:39:23 -07:00
Thomas W Rodgers
3bd0a83d52 Add BuildRequires: libstd-devel to fix (#2042336) 2022-04-26 20:53:21 -07:00
Jonathan Wakely
3c2829edfe Add patch to fix XML validation errors in ptr_container docs 2022-03-31 13:12:21 +01:00
Thomas Rodgers
9eaf760933 Add patch to fix narrowing conversions on ppc64le
https://github.com/boostorg/interval/issues/29
2022-02-02 18:36:49 -08:00
Thomas Rodgers
5eaac698fe Merge #11 Fix FTBFS and the Boost Multiprecision compilation error on pcc64le 2022-02-03 01:37:36 +00:00
Jonathan Wakely
bc37ceb79d Add rpmlintrc file to suppress errors in Zuul checks 2022-02-03 00:17:30 +00:00
Laurent Rineau
0e92f1aa2e Restore math_c99l and math_tr1l on ppc64le 2022-02-01 16:44:57 +01:00
Laurent Rineau
6502666126 Fix https://github.com/boostorg/multiprecision/issues/419
The PR https://github.com/boostorg/multiprecision/pull/421 fixes the
issue, and is planned for Boost version 1.79.0.
2022-02-01 16:03:04 +01:00
Fedora Release Engineering
6edfd32617 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-19 22:31:40 +00:00
Jonathan Wakely
bba3a6c2a0 Add patch to fix CI failure 2021-09-01 17:59:26 +01:00
Jonathan Wakely
214bbadaf6 Make boost-python3 depend on specific 3.X version (#1896713) 2021-09-01 14:13:43 +01:00
Jonathan Wakely
3824fb1903 Remove double % in Source0 tag 2021-09-01 13:38:22 +01:00
Jonathan Wakely
0fc8825319 Add whitespace between changelog entries 2021-09-01 13:23:48 +01:00
Michal Kolar
6a7ecd767d drop unwanted scratch build rule for gating 2021-08-17 16:31:18 +00:00
Thomas Rodgers
65b36067d5 Third attempt at making the long double c99 and tr1 math libs conditional
on ppc64le
2021-08-05 18:41:56 -07:00
Thomas Rodgers
03817f73cb Second attempt at making the long double c99 and tr1 math libs conditional
on ppc64le
2021-08-05 14:48:33 -07:00
Thomas Rodgers
ee1a4870ab Boost.Math does not support 'long double' of ppc64le
See https://github.com/boostorg/math/pull/524
2021-08-05 13:49:56 -07:00
Thomas Rodgers
dd07b4b21f Rebase to 1.75.0
See https://fedoraproject.org/wiki/Changes/F35Boost176
Drop patches:
    deleted: boost-1.73-python3.10.patch
    deleted: boost-1.73.0-b2-build-flags.patch
    deleted: boost-1.75.0-boost-build-fix.patch
Fix include inside boost namespace in boost/math/tools/mp.hpp
  See https://github.com/boostorg/math/pull/670
Fix duplicate typedef in boost/math/tools/mp.hpp
  See https://github.com/boostorg/math/pull/671
2021-08-04 13:35:00 -07:00
Fedora Release Engineering
7fd53e5641 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 18:48:13 +00:00
Fedora Release Engineering
237974a0ce - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 13:51:03 +00:00
Python Maint
582a02c7ab Rebuilt for Python 3.10 2021-06-04 12:11:52 +02:00
Pete Walter
b796f2d0eb Rebuild for ICU 69 2021-05-20 00:53:58 +01:00
Pete Walter
5f7b377f41 Rebuild for ICU 69 2021-05-19 16:44:05 +01:00
Thomas Rodgers
3eea468474 Patch for https://bugzilla.redhat.com/show_bug.cgi\?id\=1958382 2021-05-10 10:40:07 -07:00
Michal Kolar
67e502ea95 init FMF CI gating 2021-04-12 12:12:48 +00:00
Jonathan Wakely
8bed92113e Rebuilt for removed libstdc++ symbol (#1937698) 2021-03-31 14:38:15 +01:00
Jonathan Wakely
aa5af673c5 Revert previous commit and un-bump %release
The original patch to use nullptr was fine, because it's in a .cpp file
which is built using a recent standard dialect, so nullptr is defined.
2021-03-03 12:14:40 +00:00
Jonathan Wakely
394a768911 Adjust Boost.Locale patch to use NULL instead of nullptr 2021-03-03 12:06:46 +00:00
Thomas Rodgers
325ac22f96 Patch Boost.build for https://bugzilla.redhat.com/show_bug.cgi\?id\=1923740 2021-02-02 21:18:56 -08:00
Fedora Release Engineering
cb5a05db6c - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 01:19:25 +00:00
Thomas Rodgers
5c328ce476 Rebase to 1.75.0 2021-01-18 07:06:59 -08:00
Tomas Hrnciar
ddd384021b Patch Boost.Python for Python 3.10 - replace _Py_fopen() with fopen() (#1912903) 2021-01-08 14:14:59 +01:00
Timm Bäder
64d97f19ff spec: Don't hardcode gcc
Use %set_build_flags to get the proper values for $CFLAGS, $CC, etc. and
%{toolchain} to get the toolchain identifier
2020-12-02 16:12:37 +01:00
Jonathan Wakely
8158d2d41c Patch Boost.Locale to not access empty vector (#1899888) 2020-11-20 10:34:57 +00:00
Jonathan Wakely
820bf32137 Patch Boost.Python for Python 3.10 changes (#1896382) 2020-11-14 00:27:17 +00:00
Jonathan Wakely
31a1406483 Remove incorrect dependency on xz, only the shared lib is needed
This prevents installing the 32-bit boost-iostreams. package on 64-bit
systems, because the 32-bit xz package is not available.

The dependency on the shared lib will be added automatically anyway.
2020-11-04 17:31:55 +00:00
Jonathan Wakely
c570dcff0d Build Boost.Iostreams with LZMA support (#1893060) 2020-10-30 14:25:10 +00:00
Fedora Release Engineering
cdb89c50f8 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-08-01 00:15:32 +00:00
Fedora Release Engineering
9e8114f822 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 13:19:20 +00:00
Jonathan Wakely
f1058cd956 Add patch for Boost.MPI to fix espresso (#1843105) 2020-06-11 14:13:14 +01:00
Jonathan Wakely
ddb9ecef4e Fix paths in new patch 2020-06-05 19:54:43 +01:00
Jonathan Wakely
3fcfdd32f8 Add patch for Boost.Geometry issue #721 2020-06-05 19:31:55 +01:00
Miro Hrončok
8e6b263013 Rebuilt for Python 3.9 (fixup) 2020-05-29 14:30:47 +02:00
Jonathan Wakely
b594da2a28 Rebuilt for Python 3.9
The previous version of boost was already rebuilt for Python 3.9 but the
new Boost version needs to be rebuilt now that python3-3.8.3-1.fc33 is
in rawhide.
2020-05-29 12:05:17 +01:00
Jonathan Wakely
a562db598b Add patch for Boost.Beast to work with C++20 2020-05-28 09:03:52 +01:00
Jonathan Wakely
378d8d7e42 Rebase to 1.73.0
Replace boost-jam and bjam with boost-b2 and b2
Add boost-nowide subpackage
2020-05-28 08:44:23 +01:00
Miro Hrončok
66b109b6e1 Rebuilt for Python 3.9 2020-05-25 12:59:31 +02:00
Igor Raits
9e76353688
Add Provides for boost-python3-devel
Otherwise it is breaking some dependencies.

Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
2020-05-23 23:02:15 +02:00
Jonathan Wakely
fb6db033ed Do not link Python extensions to libpython
Boost upstream does not link Boost.Python libraries to libpython, which
matches the advice from Python upstream as well. Drop the Fedora patches
which cause libpython to be linked to. Those patches have been causing
problems for a while anyway.
2020-05-22 16:37:22 +01:00
Jonathan Wakely
1f2e448e09 Require boost-python3 for boost, fold boost-python3-devel into boost-devel
Now that we only build Boost.Python for one version of Python there is
no benefit to keeping `boost-python3` and `boost-python3-devel` separate
from the main `boost` and `boost-devel` packages.

This change makes `boost` install `boost-python3` (and recommend
`boost-numpy3` if `python3-numpy` is already installed). The
`boost-python3-devel` subpackage is dropped and its contents added to
the main `boost-devel` subpackage instead.
2020-05-22 14:33:17 +01:00
Pete Walter
b93614e906 Rebuild for ICU 67 2020-05-15 13:53:18 +01:00
Avi Kivity
ab7eefd18e Fix Boost.Signals2 C++20 compatibility (#1834764) 2020-05-12 14:39:35 +03:00
Jonathan Wakely
5d6038484f Add patch for C++20 compatibility in Boost.Test (#1832639) 2020-05-11 13:03:48 +01:00
Jonathan Wakely
434963c709 Remove unused patch from the repo
The spec file stopped using this patch some time ago.
2020-04-25 20:22:35 +01:00
Jonathan Wakely
1a2264a222 Remove unused patch from the repo
The spec file stopped using this patch some time ago.
2020-04-03 16:26:34 +01:00
Jonathan Wakely
0e0b60eac1 Generate version_enc automatically from version and drop version_suffix 2020-04-02 18:50:29 +01:00
Jonathan Wakely
a0e9e6a602 Remove vestigial parts of separate python2/python3 build
The %build and %install steps still build the py3 pieces separately,
which is no longer necessary now that we don't build both py2 and py3
subpackages.
2020-04-02 17:54:14 +01:00
Jonathan Wakely
c808f65625 Remove unused patches from the repo
The spec file stopped using these patches years ago.
2020-04-02 17:44:21 +01:00
Jonathan Wakely
eefba79672 Drop boost-1.57.0-mpl-print.patch patch that doesn't work
This patch is supposed to make boost::mpl::print issue a warning with
GCC, but actually it prevents it from warning, whereas the upstream code
does warn.
2020-04-02 17:13:53 +01:00
Jonathan Wakely
d5a194094a Patch Boost.Format for C++20 compatibility with GCC 10 (#1818723) 2020-03-30 15:22:56 +01:00
Kaleb S. KEITHLEY
193ea1c207 Update boost.spec for f33/rawhide
ceph-15, landing in needs libboost-context

seems to build okay.  see scratch build at https://koji.fedoraproject.org/koji/taskinfo?taskID=41495195
2020-02-14 15:13:08 +00:00
Fedora Release Engineering
1ab43be260 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 13:12:30 +00:00
Denis Arnaud
0fc400a27f Removed the Python2 sub-packages 2019-11-15 20:06:23 +01:00
Denis Arnaud
56941f6dac Removed the Python2 sub-packages 2019-11-15 20:04:20 +01:00
Pete Walter
b9f2e3cc4a Rebuild for ICU 65 2019-11-01 15:56:05 +00:00
Miro Hrončok
3458dcd53a Rebuilt for Python 3.8.0rc1 (#1748018) 2019-10-03 13:51:17 +02:00
Miro Hrončok
8aafa09ef7 Rebuilt for Python 3.8 2019-08-18 23:51:56 +02:00
Fedora Release Engineering
f5c0d413a7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-24 19:30:18 +00:00
Jonathan Wakely
0666fd79ba Fix Obsoletes tag to remove _isa (#1706079) 2019-05-10 10:04:32 +01:00
Jonathan Wakely
5f1c9ef7fa Make main package obsolete old boost-signals subpackage (#1706079) 2019-05-07 10:59:35 +01:00
Jonathan Wakely
0f9795fc5c Add patch for out-of-bounds vector access in Boost.MPI 2019-02-14 15:24:04 +00:00
Orion Poplawski
8e32c40a85 Rebuild for openmpi 3.1.3 2019-02-13 19:39:13 -07:00
Jonathan Wakely
e7f763888a Patch Boost.Random to fix warning (#1673669) 2019-02-12 23:23:08 +00:00
Miro Hrončok
575500ddcb Use Python version macros instead of hardcoded numbers
This should make it easier when we rebase python to 3.8.

There will be no 2.8, but for consistency, I've updated 27 as well.
2019-02-04 11:41:12 +01:00
Fedora Release Engineering
081b85cab4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 14:50:34 +00:00
Pete Walter
419c3aba65 Rebuild for ICU 63 2019-01-23 21:50:21 +00:00
Denis Arnaud
c424db8834 Fixed a typo with %{name}-python (the 2 was missing) 2019-01-21 00:48:53 +01:00
Denis Arnaud
777ed71df5 The Boost umbrella package no longer requires Python sub-packages 2019-01-20 23:39:05 +01:00
Denis Arnaud
f158da30f8 Fixed a typo with %{name} 2019-01-19 22:08:09 +00:00
Denis Arnaud
094f7ed60f Make use of %{name} rather than boost so as to be compatible with boost1xx spec files (on EPEL) 2019-01-19 21:55:50 +00:00
Denis Arnaud
aca49b6923 Make use of %{name} rather than boost so as to be compatible with boost1xx spec files (on EPEL) 2019-01-19 19:56:18 +00:00
Denis Arnaud
90fdd43d4d Rebase to 1.69.0
Dropped library: Boost.Signals (now replaced by header-only Boost.Signlas2)
2018-12-14 23:00:28 +00:00
Denis Arnaud
15eed98242 Rebase to 1.68.0
New library: Boost.Contract
The Python-related shared libraries now carry the full Python version,
  eg _python27.so and _python37.so
Drop patches:
    deleted: boost-1.66.0-address-model.patch
    deleted: boost-1.66.0-compute.patch
    deleted: boost-1.66.0-numpy3.patch
    deleted: boost-1.66.0-python37.patch
    deleted: boost-1.66.0-spirit-abs-overflow.patch
2018-12-01 21:20:17 +00:00
Denis Arnaud
bf8dec78cc Suppressed patches nb 86 and 87 (no longer applicable) 2018-12-01 18:04:19 +00:00
Denis Arnaud
8e25e3cb3f Suppressed patches nb 84 and 85 (no longer applicable) 2018-12-01 17:56:48 +00:00
Denis Arnaud
dad36c9161 Suppressed patch nb 68 (no longer applicable) 2018-12-01 17:44:47 +00:00
Denis Arnaud
5fb7b5da8b Fixed the Boost.Pool Jamfile patch 2018-12-01 17:37:21 +00:00
Denis Arnaud
a07a46867a On the way to Boost 1.68 (but not working yet) 2018-12-01 15:16:03 +00:00
Owen W. Taylor
811a3a3329 Disable openmpi and mpich for Flatpak-bundled builds
The Fedora OpenMPI and MPICH Flatpaks pose considerable challenges for
rebuilding to use in Flaptaks with prefix=/app - in particular because
of their use of environment-modules. An analysis of all graphical
applications in Fedora that we might want to create Flatpak containers
of shows no apps that use the OpenMPI and MPICH subpackages of boost,
though many other boost packages are used. So simply disabling openmpi
and mpich for Flatpak rebuilds is the simplest approach.
2018-09-28 14:56:20 -04:00
Jonathan Wakely
166218aed3 Fix permissions and python shebang of Boost.Build files 2018-08-23 12:04:40 +01:00
Jonathan Wakely
015b3a9f0a Patch numpy for Python 3 (#1596468) 2018-07-18 17:21:30 +01:00
Fedora Release Engineering
ae9f023f89 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-12 21:16:10 +00:00
Pete Walter
061d021ce1 Rebuild for ICU 62 2018-07-10 18:40:19 +01:00
Pete Walter
557e21db14 Add missing BuildRequires: gcc-c++ 2018-07-10 18:19:21 +01:00
Jonathan Wakely
c6c9a85f21 Add patch to fix build with Python 3.7 2018-06-19 18:15:55 +01:00
Jonathan Wakely
139c6b50e6 Remove ver.py file that was removed from sources recently 2018-06-19 17:53:12 +01:00
Miro Hrončok
1499fdf972 Rebuilt for Python 3.7 2018-06-19 10:40:35 +02:00
Jonathan Wakely
6534bae05f Add patch for Boost.Compute (#1585515) 2018-06-04 23:37:29 +01:00
Jonathan Wakely
3cee16030b Make Requires: for boost-container unconditional 2018-05-01 20:18:03 +01:00
Jonathan Wakely
af66f9c00c Remove old Provides: and Obsoletes: tags for boost-devel-static 2018-05-01 20:18:03 +01:00
Jonathan Wakely
299d009cc0 Remove old Provides: and Obsoletes: tags for mpich2 packages 2018-05-01 20:18:03 +01:00
Jonathan Wakely
32555bac58 Remove old Provides: and Obsoletes: tags for odeint packages 2018-05-01 20:18:03 +01:00
Jonathan Wakely
a4629aecca Fix Provides: and Obsoletes: tags for renamed python2 subpackages 2018-05-01 20:18:02 +01:00
Pete Walter
e556fceb05 Rebuild for ICU 61.1 2018-04-30 09:45:38 +01:00
Jonathan Wakely
1a524340e6 Remove Requires: boost-openmpi-python from boost-openmpi-devel 2018-04-27 10:40:41 +01:00
Jonathan Wakely
9aae0c8a00 Drop ver.py source file and use python version macros
The %{python2_version} and %{python3_version} macros are pre-defined, so
we don't need to use ver.py to find the versions.

Use shell variable for Python 3 ABI flags instead of global macro. This
avoids errors when creating SRPMs or running rpmlint, because by
delaying the command until the %build stage we can rely on python3-devel
being installed.
2018-04-26 17:42:30 +01:00
Jonathan Wakely
b4c96119f1 Remove main package dependency on boost-python and boost-numpy (#1569483)
Rename all subpackages using python2 from boost-xxx to boost-xxx2.
Split new subpackage boost-python2-devel out of boost-devel.
Split new subpackage boost-openmpi-python2-devel out of boost-openmpi-devel.
Split new subpackage boost-mpich-python2-devel out of boost-mpich-devel.
Enable conditional build for python2 packages.
2018-04-26 17:41:54 +01:00
Jonathan Wakely
3946a4a4b0 Ensure boost metapackage installs boost-container and boost-stacktrace. 2018-02-27 16:44:05 +00:00
Jonathan Wakely
dc827b0935 Add boost-1.66.0-spirit-abs-overflow.patch file 2018-02-24 20:11:16 +00:00
Jonathan Wakely
b59c4b6666 Add patch to fix integer overflow in Boost.Spirit absolute_value (#1545092) 2018-02-23 17:03:02 +00:00
Jonathan Wakely
4c456d525c Remove unnecessary Group tags and post/postun ldconfig scriptlets
The Group tag is not used by RPM.

In F28 the ldconfig %post and %postun scriptlets are done automatically
and so don't need to be explicit in the spec file.
2018-02-15 21:29:07 +00:00
Jonathan Wakely
47b8c9cad1 Add RPM_OPT_FLAGS and RPM_LD_FLAGS to build flags for bjam (#1541035) 2018-02-07 21:57:41 +00:00
Jonathan Wakely
d50c552e84 Add RPM_LD_FLAGS to Jamfile and patch build.sh to use RPM flags (#1541035) 2018-02-05 17:53:53 +00:00
Jonathan Wakely
7387f7d55f Do not pass --without-coroutine2 to b2 2018-01-23 20:38:59 +00:00
Jonathan Wakely
90138276af Add new sources 2018-01-23 18:17:18 +00:00
Jonathan Wakely
747d6e8fe2 Rebase to 1.66.0
- Drop patches:
  boost-1.63.0-dual-python-build-v2.patch
  boost-1.64.0-mpi-get_data.patch
  boost-1.64.0-serialization-make_array.patch
  boost-1.64.0-icl-ttp-matching.patch
  boost-1.64.0-icl-undefined-shift.patch
2018-01-23 15:33:35 +00:00
Jonathan Wakely
1885d22687 Restore "Provides: boost-python" for boost-python2 2018-01-17 11:55:29 +00:00
Jonathan Wakely
5c4a0e07d3 Patch to fix #1516837 2017-12-07 14:37:10 +00:00
Pete Walter
9497c27f10 Rebuild for ICU 60.1 2017-11-30 20:19:32 +00:00
Jonathan Wakely
4c79bb2181 Fix spelling in boost-wave summary 2017-09-25 16:07:49 +01:00
Jonathan Wakely
b634b3b0c8 Fix some rpmlint issues
- Remove Requires for libquadmath (explicit-lib-dependency)
- Remove executable bits on header files (spurious-executable-perm)
- Adjust boost.wave %%description (spelling-error)
2017-09-25 14:40:33 +01:00
Jonathan Wakely
cc95da10da Rename python2-boost to boost-python2 2017-09-13 08:20:07 +01:00
Jonathan Wakely
b9e2eb12e9 Patch to fix #1485641 2017-09-12 17:46:27 +01:00
Jonathan Wakely
91d3fad8f3 Fix descriptions 2017-09-06 16:47:40 +01:00
Zbigniew Jędrzejewski-Szmek
83bcf8daf2 Add Provides for the old name without %_isa 2017-08-20 09:18:07 -04:00
Zbigniew Jędrzejewski-Szmek
d04833457b Python 2 binary package renamed to python2-boost 2017-08-19 09:38:07 -04:00
Fedora Release Engineering
d185c08009 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-02 18:23:30 +00:00
Fedora Release Engineering
efff732f4f - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 04:10:16 +00:00
Björn Esser
6e3f05c5de Drop obsolete patch for mpi serialization make_array
Purge unused patches from repo
2017-07-24 13:05:34 +02:00
Björn Esser
c54b0a0c9e Add patch to fix make_array in serialization 2017-07-24 12:33:11 +02:00
Kalev Lember
91387222f5 Rebuild for std::__once_functor linking issue on ppc64le (#1470692)
This should hopefully fix linking with boost_context, which currently
fails on ppc64le with:

/usr/lib/gcc/ppc64le-redhat-linux/7/../../../../lib64/libboost_context.so:
undefined reference to `std::__once_functor@GLIBCXX_3.4.11'
2017-07-21 10:18:02 +02:00
Jonathan Wakely
a4b6003a94 Update sources file 2017-07-17 15:45:49 +01:00
Jonathan Wakely
30150eaf49 Rebase to 1.64.0 2017-07-01 19:24:07 +01:00
Jonathan Wakely
a919cdd969 Add numpy and numpy3 packages (#1451982) 2017-07-01 13:14:36 +01:00
Jonathan Wakely
7ace5f0128 Remove patch for boost::function strict aliasing problem (#1422456) 2017-07-01 12:08:54 +01:00
Jonathan Wakely
218cc61036 Rebuild for rpm-mpi-hooks fix (#1435690) 2017-04-25 10:46:17 +01:00
Jonathan Wakely
59415588c8 Patch boost::function to fix strict aliasing problem (#1422456)
Per packaging guidelines don't clean buildroot in %%install and %%clean.
2017-04-05 17:12:22 +01:00
Peter Robinson
6d2d8199e5 and enable mpich too 2017-03-12 15:18:57 +00:00
Peter Robinson
3da9bab88b Enable OpenMPI on ppc64le and s390x now they have support 2017-03-12 14:49:02 +00:00
Jonathan Wakely
d2c3a27558 Revert Boost.Build change that breaks building for two Python versions.
A change to tools/build/src/tools/python.jam means that the python=2.7
argument to b2 is ignored and both libboost_python.so and
libboost_python3.so are linked to libpython2.7.so. Reverting that change
restores the previous behaviour that allowed building Boost.Python in
two different ways.
2017-02-16 19:18:09 +00:00
Jonathan Wakely
e1dabc540b Add --without-fiber when Boost.Context is not supported. 2017-02-09 14:02:21 +00:00
Jonathan Wakely
51c6915fb4 Use correct sources for release, not a snapshot
Also add -Wno-deprecated-declarations to build flags to silence
hundreds of warnings about std::auto_ptr.
2017-01-27 14:08:36 +00:00
Jonathan Wakely
b9ad2bf8a2 Add missing %if around scriptlets for boost-fiber 2017-01-27 01:13:41 +00:00
Jonathan Wakely
733a71ce66 Rebase to 1.63.0 (#1401431) 2017-01-26 22:36:59 +00:00
Miro Hrončok
eb5a2d18d6 Rebuild for Python 3.6 2016-12-20 03:28:47 +01:00
Jonathan Wakely
92f6971ea7 Add patch for Boost.Asio to fix allocator usage (#1403165) 2016-12-09 10:31:48 +00:00
Orion Poplawski
22ace9c9e6 Rebuild for openmpi 2.0 2016-10-21 14:58:01 -06:00
Jonathan Wakely
0b594070c7 Add patch for Boost.Python to fix pointer registration (#1358725) 2016-08-01 21:23:57 +01:00
Jonathan Wakely
f9cbc68d43 Add patch for Boost.Multiprecision (#1349638) 2016-06-28 17:27:27 +01:00
Jonathan Wakely
310c56bc25 Drop rpath (#1318383) 2016-06-06 17:50:34 +01:00
Jonathan Wakely
4672342671 Rebuilt for GCC 6.1 (#1331983) 2016-05-03 10:14:58 +01:00
David Tardon
f9845a940f rebuild for ICU 57.1 2016-04-15 20:02:51 +02:00
Dennis Gilmore
b0ac251dd9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-03 17:10:55 +00:00
Jonathan Wakely
c7e4b76204 Remove redundant %defattr statements 2016-01-26 12:45:02 +00:00
Jonathan Wakely
c2efae682b Make Requires: libquadmath-devel conditional 2016-01-14 02:07:16 +00:00
Jonathan Wakely
263025eccd Rebase to 1.60 2016-01-13 17:14:32 +00:00
Dan Horák
93bdb8dad9 - rebuilt for s390 2015-12-11 16:35:03 +01:00
Jonathan Wakely
92a4e21c1a Fix bugzilla ID in %changelog of last commit 2015-12-01 13:54:10 +00:00
Jonathan Wakely
faf2199734 do not use arch-specific BuildRequires (#225622) 2015-11-24 12:22:59 +00:00
Dan Horák
3c75cd19c7 - disable also the coroutine2 module when context is not available 2015-11-13 11:22:25 +01:00
Peter Robinson
94638715d9 Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 2015-11-11 19:05:16 +00:00
David Tardon
5effd9fcd9 rebuild for ICU 56.1 2015-10-28 14:07:46 +01:00
Orion Poplawski
66eafe3099 Rebuild for openmpi 1.10.0 2015-09-15 16:04:04 -06:00
Jonathan Wakely
d8ec5cd0e8 Patch Boost.Test to fix #1262444 2015-09-14 18:35:30 +01:00
Jonathan Wakely
a59457fcda Rebuilt for Boost 1.59 2015-09-02 13:08:15 +01:00
Jonathan Wakely
20123c5e6f Add patch for Boost.Python bug. 2015-09-02 13:07:43 +01:00
Jonathan Wakely
3d13bdbd4b Rebase to 1.59.0 2015-08-26 20:29:55 +01:00
Jonathan Wakely
fb630fe1a0 Add boost-doctools subpackage (#1244268). 2015-08-25 15:03:34 +01:00
Jonathan Wakely
7d5037b77f Escape % character in changelog. 2015-08-24 22:10:18 +01:00
Jonathan Wakely
51fe9e0ae4 Use %license for license files. 2015-08-24 21:46:17 +01:00
Jonathan Wakely
c779362f9f Bump release to match F23 update. 2015-08-21 16:10:30 +01:00
Sandro Mani
b7bc8de355 RPM MPI Requires Provides 2015-08-10 23:56:49 -04:00
Jonathan Wakely
e283993866 Patch incorrect placement of BOOST_UBLAS_INLINE macros. 2015-08-05 22:03:23 +01:00
Jonathan Wakely
b86f78331a Patch to prevent address model being set by Boost.Build. 2015-08-04 11:20:49 +01:00
Jonathan Wakely
a1b6b50100 Patch for missing include (boost-1.58.0-variant-includes.patch). 2015-07-27 13:49:11 +01:00
Marcin Juszkiewicz
2665c69e3a Re-enable boost::context on AArch64 2015-07-23 13:08:11 +02:00
Jonathan Wakely
49492cb891 Rebase to 1.58.0 2015-07-17 16:11:57 +01:00
Dennis Gilmore
71b2be77a7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 02:01:15 +00:00
Jonathan Wakely
b30dad1db5 Add AArch64 support for boost::context. 2015-04-15 11:57:23 +01:00
David Tardon
bf768ffd04 rebuild for yet another C++ ABI break 2015-04-12 14:28:04 +02:00
Than Ngo
3759032dd6 rebuild against new gcc 2015-03-16 12:28:08 +01:00
Petr Machata
3c9c670991 Fix template <class T> class boost::rv, which for union T's inherits off them 2015-02-18 01:15:59 +01:00
Petr Machata
19702186d2 Fix Boost.UUID comparison, honor optflags 2015-02-09 17:07:18 +01:00
Petr Machata
7c71c91f42 Patch 2015-01-29 13:03:17 +01:00
Petr Machata
3207465702 Boost.Signals2 needs to include weak_ptr when it uses it 2015-01-29 13:00:29 +01:00
Petr Machata
f910549691 Un-ISA-ify Provides: and Obsoletes:
- Packages Require: without the ISA flourishes, and our Provides:
  wouldn't match.  Let's keep the ISA tags on Requires: only.
2015-01-29 12:58:02 +01:00
Petr Machata
e08f962e12 Boost.Context should now be supported on PowerPC with both BE and LE ABIs 2015-01-29 12:57:31 +01:00
Petr Machata
42069777a6 Forgot to upload the tarball 2015-01-26 17:22:48 +01:00
Petr Machata
c2b3a56ca0 Rebase to 1.57 2015-01-26 12:09:55 +01:00
Petr Machata
1d8ca55777 libboost_python{,3} should depend on libpython 2015-01-13 22:17:20 +01:00
Petr Machata
ef172f114f Change Requires: and other package references to use %%{?_isa} 2015-01-08 21:26:36 +01:00
Petr Machata
7a87d76794 Boost.Atomic: Fixed incorrect initialization of 128-bit values 2015-01-02 14:12:06 +01:00
Petr Machata
76691c3d42 Fix boost::shared_ptr<T>::operator[] for non-array T's 2014-11-12 20:05:20 +01:00
David Tardon
eccf21b3c1 rebuild for ICU 53.1 2014-08-26 13:57:20 +02:00
Peter Robinson
d3623dd584 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-15 23:02:38 +00:00
Dennis Gilmore
e8afd726c5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-06 22:25:23 -05:00
Petr Machata
b9aa7fb633 Rebase to 1.55.0 2014-05-21 20:21:36 +02:00
Petr Machata
8d05191663 Fix a noexecstack patch for ARM, enable Boost.Context on ARM 2014-03-18 13:51:11 +01:00
Björn Esser
bed0c816db rebuilt for mpich-3.1 2014-03-18 11:42:57 +01:00
Peter Robinson
59715f5c7f Enable MPICH and OpenMPI support on aarch64 2014-03-17 11:02:58 +00:00
Petr Machata
6d22343534 Rebuild for ICU 2014-02-12 18:02:56 +01:00
Petr Machata
22e9f44fdd Add ppc64le to the list of arches that OpenMPI and MPICH don't support 2014-01-09 19:58:21 +01:00
Peter Robinson
55426ac770 Enable MPICH and OpenMPI support on ARM as it's long had them both 2013-12-18 12:02:58 +00:00
Petr Machata
6afec2d8a5 Bump release 2013-12-13 11:46:05 +01:00
Petr Machata
a513817fc5 Disable MPI on aarch64 2013-12-04 10:51:15 +01:00
Petr Machata
cb253a3d3f Try again 2013-12-02 00:53:40 +01:00
Petr Machata
94c7ec494d Add libboost_atomic.so.* to the libboost_thread.so linker script 2013-11-27 17:10:53 +01:00
Petr Machata
db69547da6 Fix atomic_cas32 in Boost.Interprocess 2013-08-30 00:32:24 +02:00
Petr Machata
f99fe16ac3 Fix for a problem in linking vs. Boost.Thread we are seeing on s390 2013-08-24 01:01:19 +02:00
Petr Machata
0f7ace626f Apply several patches to fix problems revealed by the test suite 2013-08-23 12:33:14 +02:00
Petr Machata
da0e080e4c Bump odeint obsoletes and provides 2013-08-19 17:04:25 +02:00
Petr Machata
9f44c82afd Add a todo item 2013-08-12 11:31:20 +02:00
Petr Machata
a4fac06f4f Update a comment to be in sync with unversioned docdir change
- https://bugzilla.redhat.com/show_bug.cgi?id=993687
2013-08-11 23:27:52 +02:00
Petr Machata
c3593a1e32 Fix detection of availability of 128-bit integers in Boost.LexicalCast 2013-07-30 19:50:23 +02:00
Petr Machata
830a7f44cf Add forgotten boost-1.54.0-__GLIBC_HAVE_LONG_LONG.patch 2013-07-27 11:41:56 +02:00
Petr Machata
4c75e770a9 Add boost-log subpackage 2013-07-27 03:41:34 +02:00
Petr Machata
954d15ee43 Fix changelog dates 2013-07-27 01:27:28 +02:00
Petr Machata
5a207d1e4a Rebase to 1.54.0 2013-07-27 01:13:04 +02:00
Petr Machata
f0abb10476 Remove BR:chrpath, that's not necessary anymore
- we used to call chrpath explicitly, and we don't anymore
2013-07-27 00:53:36 +02:00
Petr Machata
e7f22175bb Build everything MT-only; ditch tagged layout 2013-07-27 00:53:35 +02:00
Petr Machata
60a15dfc84 Add Obsoletes: for odeint package 2013-07-27 00:08:00 +02:00
Deji Akingunola
dc683c9132 Add Provides and Obsoletes for the mpich2->mpich renames 2013-07-26 23:47:30 +02:00
Petr Machata
6f895a0fef Add explicit dependencies between some of the boost sub-packages 2013-07-24 16:13:29 +02:00
Petr Machata
084c523878 s/mpich2/mpich/ 2013-07-23 19:21:12 +02:00
Petr Machata
0d0ad94a52 Merge branch 'f19' 2013-07-23 19:12:10 +02:00
Petr Machata
b56c31ff13 Update thread patch 2013-07-23 17:55:01 +02:00
Petr Machata
7fa0ea18d9 Two more local typedef patches: Boost.Python and Boost.Thread
- There's a bunch more in Python, but those probably need careful
  conversion to BOOST_STATIC_ASSERT.
2013-07-23 17:07:03 +02:00
Petr Machata
255051da37 Flush more work in progress
- This adds some forgotten patches from the last time around
  (context-execstack, mpl-print)
- And adds another bunch of unused local typedef patches
2013-07-23 02:09:25 +02:00
Petr Machata
0494a65cc9 Add many patches for unused typedefs, and an execstack patch 2013-07-22 17:47:20 +02:00
Petr Machata
c5eabd4220 Install images etc. for documentation
Resolves: #985593
2013-07-20 01:11:30 +02:00
Petr Machata
e50fa4d644 Add symlinks for /usr/lib/libboost_{thread,locale,atomic}.so -> *-mt.so 2013-06-27 23:48:42 +02:00
Petr Machata
43e7bf1610 Fix detection of availability of {,u}int64_t in glibc headers 2013-06-26 16:23:18 +02:00
Petr Machata
b2935ff7ac libboost_context.so must be guarded by conditional 2013-03-07 00:26:25 +01:00
Petr Machata
a84c8455d8 Add a separate package boost-python3-devel, build with -fno-strict-aliasing 2013-03-06 13:06:57 +01:00
Petr Machata
5605dc8747 Make Boost.Context support conditional 2013-02-27 22:37:18 +01:00
Petr Machata
ba877e7805 Update the context patch with fixes from Peter Bergner 2013-02-11 23:01:15 +01:00
Petr Machata
91de02f8db Fix build of Boost.Context on ppc64, future-proof the linker script 2013-02-11 20:06:45 +01:00
Denis Arnaud
bcaac65465 Fixed spelling errors. 2013-02-10 18:49:53 +01:00
Denis Arnaud
2a146a567b Fixed the changelog dates in the RPM specification file. 2013-02-10 18:49:31 +01:00
Denis Arnaud
de6a0f31f2 Fixed the libboost_thread-mt.so script (which wrongly referred to Boost-1.50) 2013-02-10 18:27:31 +01:00
Petr Machata
50c4b88ebf Meh 2013-02-08 01:44:42 +01:00
Petr Machata
45355f8107 Update the attribute patch 2013-02-08 01:42:27 +01:00
Petr Machata
ea81f69c26 Rebase to 1.53.0 final, add two subpackages, purge module env 2013-02-08 01:42:27 +01:00
Petr Machata
a84f7fd048 Initial packaging of Beta 1.53.0
- this fails at the end of the build complaining that the following
  file wasn't found:
    boost-1.53.0-0.1.beta1.fc18.i386/usr/lib/openmpi/lib/*.a
2013-02-08 01:42:27 +01:00
Peter Robinson
ba25f6b6bb Rebuild for icu soname bump 2013-01-26 15:13:19 +00:00
Denis Arnaud
6628b109d0 Rebuild for the new MPICH2 (and libmpich2 soname bump) 2012-11-03 17:58:05 +01:00
Petr Machata
6d69081e38 Add upstream ticket reference to boost-1.50.0-polygon.patch 2012-09-19 13:00:21 +02:00
Petr Machata
b5f76d5add Update %%description to reflect current state of C++ standardization 2012-08-16 20:42:58 +02:00
Petr Machata
44a7aadaed Override boost_thread-mt.so with a linker script 2012-08-16 03:26:33 +02:00
Petr Machata
0c64b73a16 Convert some shell variables into macros
PYTHON2_VERSION needs to be visible across sections, and it's awkward to
define it twice.  Just make it a macro.  %global expands once only.

PYTHON3_* technically doesn't need this, but let's be consistent.
2012-08-09 22:05:39 +02:00
Petr Machata
cccfe7b394 boost-python3 shouldn't be under the overall boost umbrella 2012-08-08 19:48:59 +02:00
Petr Machata
9053e61361 Drop body of %check
This hasn't worked since at least CMake times, and mailing results to a
former maintainer just makes no sense.
2012-08-08 02:54:39 +02:00
Petr Machata
216eea2217 Drop mentions of cmake 2012-08-08 02:53:27 +02:00
Petr Machata
2dcacf6f3c Enable Python 3 builds 2012-08-08 01:38:07 +02:00
Petr Machata
a28c89a3ed Fix a couple bugs in paths 2012-07-26 16:06:42 +02:00
Petr Machata
a2450339df Initial packaging of boost 1.50
This is sans Python 3, the rest should be fine.
Rebase many patches, port others, courtesy of Denis Arnaud.
2012-07-26 13:09:54 +02:00
Dennis Gilmore
4fa851e387 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-18 13:09:43 -05:00
Petr Machata
dcde8a7557 Build Boost.Locale backends
- Resolves: #832265

Conflicts:

	boost.spec
2012-06-21 23:06:59 +02:00
Petr Machata
b88ee83322 In Boost.Pool, be careful not to overflow allocated chunk size.
- Resolves: #828857
2012-06-07 00:44:26 +02:00
Petr Machata
f68c4dd925 Drop enum xtime_clock_types, update uses of boost::TIME_UTC
glibc newly defines a macro TIME_UTC, which collides with boost::TIME_UTC.
We can't avoid expanding that macro, but the value happens to be the same
as that of boost::TIME_UTC.  So drop enum xtime_clock_types.  Update boost
to use macro TIME_UTC instead of the scoped enum value.  External clients
will have to do the same.
2012-05-24 23:21:25 +02:00
Petr Machata
e86e3c9db2 Don't attempt to install Python 3 portions of boost --without python3 2012-05-24 13:26:04 +02:00
Petr Machata
a18ee82f35 Drop BR on hwloc (workaround not required anymore) 2012-05-21 14:50:48 +02:00
Petr Machata
d6ae5d8d4d Bump release, add changelog 2012-05-02 23:33:23 +02:00
Petr Machata
939bdf0202 Update status of several more upstream bugs 2012-05-02 21:50:10 +02:00
Petr Machata
bc9c5908b6 Add support for building boost-python against Python 3
This doesn't touch boost-openmpi-python and boost-mpich2-python, as those
are broken anyway at the moment.
2012-05-02 21:49:40 +02:00
Petr Machata
6b86fe4dc1 disable_long_double isn't used anymore 2012-05-02 21:45:05 +02:00
Robert Scheck
8aad81e67c - Included -math subpackage into umbrella package
- Added missing /sbin/ldconfig for -math subpackage
2012-04-22 13:14:01 +02:00
Petr Machata
3f6cbc89ed Apply the forgotten patch properly 2012-04-20 18:55:53 +02:00
Petr Machata
9fd0eee555 Add BR hwloc-devel 2012-04-20 18:44:55 +02:00
Petr Machata
a80aba9a3a Apply a forgotten patch 2012-04-20 18:23:44 +02:00
Dennis Gilmore
7af0b4e843 - Rebuilt for c++ ABI breakage 2012-02-28 11:57:29 -06:00
Petr Machata
b8e37f1d07 Update with commentary re upstream tickets 2012-01-27 16:40:33 +01:00
Petr Machata
3ff9d8346b Merge branch 'master' of ssh://pkgs.fedoraproject.org/boost 2012-01-26 13:17:15 +01:00
Petr Machata
979f500141 Add a boost polygon patch 2012-01-26 13:16:28 +01:00
Denis Arnaud
9f85852534 1. Extracted the (Petr Machata's) patch on long double C++ source
from the CMake-ifying patch into a dedicated one.
2. Integrated the CMake-related part of the long double patch into
   the CMake-ifying patch.
2012-01-25 23:51:38 +01:00
Petr Machata
1a7f14244d Additional build fix for proper long-double detection 2012-01-25 15:02:25 +01:00
Petr Machata
0f5140e4c1 The second half of long double support 2012-01-25 02:17:46 +01:00
Denis Arnaud
a7311be698 Integrated Petr Machata's patch for long double support by Boost.Math (https://bugzilla.redhat.com/show_bug.cgi?id=783660). 2012-01-25 00:12:57 +01:00
Petr Machata
8cbc559305 Add links to upstream tickets for the attribute patch 2012-01-17 00:10:16 +01:00
Petr Machata
a9044bc779 Add underscores around several uses of __attribute__((X)) 2012-01-16 23:26:54 +01:00
Denis Arnaud
e222e6eb69 Added source source files for mingw cross-compilation of Boost.Locale.
Resolves: #781751
2012-01-14 21:41:57 +01:00
Denis Arnaud
252cfe78cc Added the Boost.Timer sub-package. Resolves: #772397 2012-01-08 00:40:08 +01:00
Denis Arnaud
39e2c15fd4 Integrated into "upstream" (CMake-ified Boost) the Boost.TR1/Math patch. 2012-01-04 23:01:07 +01:00
Petr Machata
54ddcfc414 Build math portions of Boost.TR1 and ship in boost-math 2012-01-04 17:31:12 +01:00
Petr Machata
7a3ddc5eb8 Add an upstream patch for BOOST_ENABLE_THREADS 2012-01-03 18:20:40 +01:00
Petr Machata
76982ecb0f Add fixes for 756005 and 757385 2011-11-29 15:43:40 +01:00
Petr Machata
7e49cbd1ad Revert the change in name of the example sub-package
- the reason being that we would have to provide this to preserve upgrade
  path, which would clutter the spec file further
- and all other packages name this sub-package "example"
2011-11-22 15:16:49 +01:00
Denis Arnaud
3957a04980 Upgrade to Boost-1.48.0, adding two new header-only components
(Container and Move) and a new library (Locale).
Resolves: #754865
Added a patch with a manual page for the bjam executable.
Added a patch to fix the non-UTF8-encoded example source file.
Re-worked a little bit the example section, so as to fix the
DOS-formatted and the ISO-8859-encoded files. The examples
sub-package itself has been renamed into examples-devel.
2011-11-20 01:30:18 +01:00
Petr Machata
d5ee7fce50 Merge branch 'f16'
Conflicts:
	boost.spec
2011-11-03 22:41:18 +01:00
Petr Machata
d7d96c8c27 Use <boost/tr1/tuple> instead of C++11 header <tuple> in boost math 2011-11-03 22:39:38 +01:00
Petr Machata
aa86edc9c6 Attempt to fix the build, PATH presumably gets broken by module unload 2011-09-09 13:56:16 +02:00
Petr Machata
21495bb58e Rebuild for libicu soname bump
- Resolves: #736890
2011-09-09 10:05:24 +02:00
Petr Machata
388db9a379 Address some merge review comments 2011-08-30 19:33:09 +02:00
Petr Machata
08909f63ae Package examples
- Resolves: #722844
2011-07-26 12:18:35 +02:00
Petr Machata
b00a03fd36 Add upstream bugreport comment to patch3 2011-07-22 16:38:36 +02:00
Petr Machata
0d81224cf6 Use boost::throw_exception in boost/numeric/conversion
- this to allow compilation with -fno-exception
2011-07-22 11:54:22 +02:00
Denis Arnaud
40072668be Upgrade to Boost-1.47.0, adding three new header-only components
(Geometry, Phoenix, Ratio) and a new library (Chrono).
2011-07-15 02:13:44 +02:00
Denis Arnaud
b3f5fc485e Upgrade to Boost-1.47.0, adding three new header-only components
(Geometry, Phoenix, Ratio) and a new library (Chrono).
2011-07-15 02:12:04 +02:00
Denis Arnaud
cb217512d7 Upgrade to Boost-1.47.0, adding three new header-only components
(Geometry, Phoenix, Ratio) and a new library (Chrono).
2011-07-15 02:06:01 +02:00
Peter Robinson
8de4e80625 Fix compile on ARM platforms 2011-06-18 23:52:00 +01:00
Petr Machata
51023f006e Merge remote-tracking branch 'origin/master'
Conflicts:
	boost.spec
2011-04-06 16:50:27 +02:00
Petr Machata
6fa0acc376 Rewrap blurb 2011-04-06 16:28:08 +02:00
Petr Machata
646ad8dd4f Yet another way to pass -DBOOST_LIB_INSTALL_DIR to cmake 2011-04-04 14:16:11 +02:00
Deji Akingunola
787d07db37 Rebuild for mpich2 soname bump 2011-03-30 10:09:56 -04:00
Denis Arnaud
50e7fa2daf Merged the latest changes from the bug-fix release of Boost-1.46 2011-03-13 13:34:44 +01:00
Caolán McNamara
5477eebe96 rebuild for icu 4.6 2011-03-07 14:53:03 +00:00
Denis Arnaud
7e68ff5290 [Boost 1.46.0] Updated the sources file. 2011-02-25 00:36:31 +01:00
Denis Arnaud
9865f92577 [1.46.0] Updated for (final release of) Boost 1.46.0 2011-02-25 00:34:55 +01:00
Petr Machata
078021db91 Merge remote-tracking branch 'origin/master'
Conflicts:
	boost.spec
2011-02-08 19:40:33 +01:00
Petr Machata
7a52c341d7 Fix a problem in using boost::spirit with utf-8 strings 2011-02-08 19:37:42 +01:00
Dennis Gilmore
d901bcf2c5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-07 23:38:31 -06:00
Petr Machata
d43949dd22 Add copy constructors and assignment operator to unordered_* 2011-02-05 10:51:31 +01:00
Petr Machata
121dc65949 Release should be 0.1.beta1, not 0.beta1 2011-02-05 01:00:06 +01:00
Petr Machata
540c65bbfc Reintroduce the soname patch 2011-02-04 18:14:11 +01:00
Petr Machata
07dee9ca25 Package 1.46.0-beta1 2011-02-03 22:35:32 +01:00
Denis Arnaud
8bb6ea14c9 [Rawhide] Renamed the patch, as it was changed and Koji did not notice it. 2011-01-10 23:07:35 +01:00
Denis Arnaud
53e8e43e72 [Rawhide] Fixed a typo in the sources file (which was referencing the wrong source file name). 2011-01-10 22:56:02 +01:00
Denis Arnaud
3b10e19284 Removed a non relevant file (.gitignore) in the patch. 2011-01-10 22:43:49 +01:00
Denis Arnaud
b7e0ada0f9 - Integrated Petr's work to fix missing Boost.Filesystem V3 issue
- Resolves: #667740
2011-01-10 21:02:17 +01:00
Denis Arnaud
9cc1979eb0 - Integrated Petr's work to fix missing Boost.Filesystem V3 issue
- Resolves: #667740
2011-01-10 21:00:45 +01:00
Petr Machata
85e1b4dc59 Merge branch 'f14'
Conflicts:
	boost.spec
2011-01-07 14:02:32 +01:00
Petr Machata
5b821b0748 Don't override CXXFLAGS with -DBOOST_IOSTREAMS_USE_DEPRECATED
- Resolves: #667294
2011-01-06 17:03:50 +01:00
Petr Machata
38b520ef67 Merge branch 'f14'
Conflicts:
	boost.spec
2011-01-03 18:16:11 +01:00
Petr Machata
143f670fa9 Add boost-random DSOs
- Resolves: #665679
2011-01-03 17:44:43 +01:00
Petr Machata
0de91b187b - Build with support for iostreams deprecated functions
- Add stuff to .gitignore
- Resolves: #654480
2010-12-08 22:40:09 +01:00
Petr Machata
7344a3aedc Merge remote branch 'origin/master'
Conflicts:
	boost.spec
2010-12-08 19:18:26 +01:00
Petr Machata
80e381340c - Build with support for iostreams deprecated functions
- Add stuff to .gitignore
- Resolves: #654480
2010-12-08 19:15:44 +01:00
Tom "spot" Callaway
b098466e10 also package build-system.jam 2010-12-03 11:33:47 -05:00
Tom "spot" Callaway
74756b504a also package build-system.jam 2010-12-03 11:08:45 -05:00
Tom "spot" Callaway
d4a8798a99 build boost-build and boost-jam subpackages 2010-12-02 10:51:55 -05:00
Tom "spot" Callaway
ed95db05cd build boost-build and boost-jam subpackages 2010-12-02 10:50:48 -05:00
Denis Arnaud
cb16edf393 - Rebuild. 2010-10-23 20:50:41 +02:00
Denis Arnaud
74258ccf44 - Split the CMake-buildable tar-ball into pristine upstream tar-ball
and CMake framework patch
2010-08-22 10:43:24 +02:00
Denis Arnaud
91d00b2225 - Split the CMake-buildable tar-ball into pristine upstream tar-ball
and CMake framework patch
2010-08-22 10:40:58 +02:00
Denis Arnaud
99812266c6 - Split the CMake-buildable tar-ball into pristine upstream tar-ball
and CMake framework patch
2010-08-22 04:13:56 +02:00
Denis Arnaud
63044e7881 * Fri Aug 16 2010 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.44.0-0.6
- Merged the latest changes from the now final release of Boost-1.44
2010-08-17 00:42:06 +02:00
Denis Arnaud
a4e10f90e4 * Fri Aug 16 2010 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.44.0-0.6
- Merged the latest changes from the now final release of Boost-1.44
2010-08-17 00:35:40 +02:00
Denis Arnaud
4e883bf349 * Fri Aug 6 2010 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.44.0-0.5
- Patched header file in boost/random/detail. Resolves: #621631
2010-08-06 14:47:30 +02:00
Denis Arnaud
145dbee405 * Fri Aug 6 2010 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.44.0-0.5
- Patched header file in boost/random/detail. Resolves: #621631
2010-08-06 12:01:22 +02:00
Denis Arnaud
b9bddec655 Added a few generated files in .gitignore. 2010-08-05 00:06:41 +02:00
Denis Arnaud
f3e80a3bfa * Fri Jul 31 2010 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.44.0-0.4
- Added missing header files in boost/random/detail. Resolves: #619869
2010-07-31 23:01:32 +02:00
Denis Arnaud
462f3a66e2 * Fri Jul 31 2010 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.44.0-0.4
- Added missing header files in boost/random/detail. Resolves: #619869
2010-07-31 20:24:51 +02:00
Denis Arnaud
ff2b899a33 Just ignored a few generated files. 2010-07-31 01:29:16 +02:00
Fedora Release Engineering
d284b1b9f2 dist-git conversion 2010-07-28 11:12:14 +00:00
Orcan Ogetbil
94bd2da100 - Rebuilt for
https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
2010-07-28 02:33:52 +00:00
Benjamin Kosnik
3bfbaa6e4e - Rebuild. 2010-07-27 17:02:23 +00:00
Benjamin Kosnik
281f2147cf - Upstream update: Boost-1.44 with CMake enabled
- Resolves: #607615
2010-07-27 16:31:36 +00:00
dmalcolm
3f89025bf6 - Rebuilt for
https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
2010-07-22 15:34:40 +00:00
Dan Horák
a1891f493f fix the arch define for ARM platforms 2010-07-15 09:39:20 +00:00
Petr Machata
71946ab51e - Turn on mpich2 on s390. Add arm to the list of arches that openmpi
doesn't support.
2010-06-04 15:47:46 +00:00
Petr Machata
53794d70d1 - Don't distribute cmake support files.
- Related: #597020
2010-06-04 15:04:53 +00:00
Dan Horák
8bda291735 - don't build with mpich2/openmpi on s390/s390x 2010-06-02 07:43:32 +00:00
Petr Machata
c6e3871a68 - Add an upstream patch that fixes computation of CRC in zlib streams.
- Resolves: #590205
2010-05-10 15:38:02 +00:00
Rex Dieter
667c3698df - -devel: own %{_datadir}/cmake/%{name}/
- -devel: Requires: cmake (for %{_datadir}/cmake ownership)
2010-05-05 18:57:54 +00:00
Caolan McNamara
324d6eb0cb rebuild for icu 2010-04-02 10:36:25 +00:00
Petr Machata
e34999075e - Add a patch for serialization of shared pointers to non polymorphic types 2010-02-22 13:26:52 +00:00
Petr Machata
e45bd9c670 - More subpackage interdependency adjustments
- boost doesn't bring in the MPI stuff. Instead, $MPI-devel does. It needs
    to, so that the symlinks don't dangle.
- boost-graph-$MPI depends on boost-$MPI so that boost-mpich2 doesn't
    satisfy the SONAME dependency of boost-graph-openmpi.
- Resolves: #559009
2010-02-02 16:16:24 +00:00
Petr Machata
cba7e47852 - Various fixes on the specification
- Resolves: #559009
Tue Feb 2 2010 Petr Machata <pmachata@redhat.com> - 1.41.0-5
- Introduce support for both OpenMPI and MPICH2
- Resolves: #559009
2010-02-02 11:50:48 +00:00
Petr Machata
c4b14f1243 - Add a patch to build mapnik
- Resolves: #558383
2010-01-25 09:40:32 +00:00
Petr Machata
721aded241 - Generalize the soname selection
Mon Jan 18 2010 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.41.0-2.2
- Further split the Boost.MPI sub-package into boost-mpi and
    boost-mpi-python
- Changed the description of Boost.MPI according to the actual dependency
    (MPICH2 rather than OpenMPI)
- Added a few details on the generation of the mpi.so library
2010-01-19 15:50:57 +00:00
Petr Machata
1891c7ba66 Commit 1.41.0 2010-01-15 16:36:38 +00:00
Bill Nottingham
456c3cfce0 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-25 22:46:07 +00:00
Petr Machata
3ce89fee2e Bah. 2009-11-16 22:51:28 +00:00
Petr Machata
78eebed0cd - translate_exception.hpp misses a include
- Related: #537612
2009-11-16 22:45:53 +00:00
Petr Machata
bcb908e5d8 - Package index.html in the -doc subpackage
- Resolves: #529030
2009-10-15 12:24:13 +00:00
Petr Machata
493985599d - Several fixes to support PySide
- Resolves: #520087
- GCC 4.4 name resolution fixes for GIL
- Resolves: #526834
2009-10-14 11:42:23 +00:00
Petr Machata
fdf885d144 - Disable long double support for ARM 2009-10-13 12:02:57 +00:00
32 changed files with 3115 additions and 800 deletions

View file

@ -1 +0,0 @@
boost_1_39_0.tar.bz2

1
.fmf/version Normal file
View file

@ -0,0 +1 @@
1

9
.gitignore vendored Normal file
View 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

View file

@ -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
View 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

View 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

View 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
{

View 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

View 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
View 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
;

View 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
View 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>

View file

@ -1,15 +0,0 @@
--- boost/dynamic_bitset/dynamic_bitset.hpp.debug 2008-10-22 03:13:59.000000000 +0900
+++ boost/dynamic_bitset/dynamic_bitset.hpp 2009-03-23 03:36:40.000000000 +0900
@@ -1017,8 +1017,11 @@
? access_by_bytes
: access_by_blocks;
+ if (mode)
+ return do_count(m_bits.begin(), num_blocks(), Block(0),
+ static_cast<value_to_type<true> *>(0));
return do_count(m_bits.begin(), num_blocks(), Block(0),
- static_cast<value_to_type<mode> *>(0));
+ static_cast<value_to_type<false> *>(0));
}

View file

@ -1,163 +0,0 @@
Index: boost/filesystem/operations.hpp
===================================================================
--- boost/filesystem/operations.hpp (revision 52859)
+++ boost/filesystem/operations.hpp (working copy)
@@ -659,9 +659,9 @@
{ return is_symlink<wpath>( ph ); }
inline bool is_empty( const path & ph )
- { return is_empty<path>( ph ); }
+ { return boost::filesystem::is_empty<path>( ph ); }
inline bool is_empty( const wpath & ph )
- { return is_empty<wpath>( ph ); }
+ { return boost::filesystem::is_empty<wpath>( ph ); }
inline bool equivalent( const path & ph1, const path & ph2 )
{ return equivalent<path>( ph1, ph2 ); }
Index: libs/filesystem/test/path_test.cpp
===================================================================
--- libs/filesystem/test/path_test.cpp (revision 52859)
+++ libs/filesystem/test/path_test.cpp (working copy)
@@ -27,9 +27,8 @@
namespace fs = boost::filesystem;
using boost::filesystem::path;
-using boost::next;
-using boost::prior;
+
#include <boost/detail/lightweight_test.hpp>
#define PATH_CHECK( a, b ) check( a, b, __LINE__ )
@@ -480,18 +479,18 @@
itr_ck = "foo";
BOOST_TEST( *itr_ck.begin() == std::string( "foo" ) );
- BOOST_TEST( next( itr_ck.begin() ) == itr_ck.end() );
- BOOST_TEST( *prior( itr_ck.end() ) == std::string( "foo" ) );
- BOOST_TEST( prior( itr_ck.end() ) == itr_ck.begin() );
+ BOOST_TEST( boost::next( itr_ck.begin() ) == itr_ck.end() );
+ BOOST_TEST( *boost::prior( itr_ck.end() ) == std::string( "foo" ) );
+ BOOST_TEST( boost::prior( itr_ck.end() ) == itr_ck.begin() );
itr_ck = path( "/foo" );
BOOST_TEST( *itr_ck.begin() == std::string( "/" ) );
- BOOST_TEST( *next( itr_ck.begin() ) == std::string( "foo" ) );
- BOOST_TEST( next(next( itr_ck.begin() )) == itr_ck.end() );
- BOOST_TEST( next( itr_ck.begin() ) == prior( itr_ck.end() ) );
- BOOST_TEST( *prior( itr_ck.end() ) == std::string( "foo" ) );
- BOOST_TEST( *prior(prior( itr_ck.end() )) == std::string( "/" ) );
- BOOST_TEST( prior(prior( itr_ck.end() )) == itr_ck.begin() );
+ BOOST_TEST( *boost::next( itr_ck.begin() ) == std::string( "foo" ) );
+ BOOST_TEST( boost::next(boost::next( itr_ck.begin() )) == itr_ck.end() );
+ BOOST_TEST( boost::next( itr_ck.begin() ) == boost::prior( itr_ck.end() ) );
+ BOOST_TEST( *boost::prior( itr_ck.end() ) == std::string( "foo" ) );
+ BOOST_TEST( *boost::prior(boost::prior( itr_ck.end() )) == std::string( "/" ) );
+ BOOST_TEST( boost::prior(boost::prior( itr_ck.end() )) == itr_ck.begin() );
itr_ck = "/foo/bar";
itr = itr_ck.begin();
@@ -1106,65 +1105,65 @@
itr_ck = path( "c:" );
BOOST_TEST( *itr_ck.begin() == std::string( "c:" ) );
- BOOST_TEST( next( itr_ck.begin() ) == itr_ck.end() );
- BOOST_TEST( prior( itr_ck.end() ) == itr_ck.begin() );
- BOOST_TEST( *prior( itr_ck.end() ) == std::string( "c:" ) );
+ BOOST_TEST( boost::next( itr_ck.begin() ) == itr_ck.end() );
+ BOOST_TEST( boost::prior( itr_ck.end() ) == itr_ck.begin() );
+ BOOST_TEST( *boost::prior( itr_ck.end() ) == std::string( "c:" ) );
itr_ck = path( "c:/" );
BOOST_TEST( *itr_ck.begin() == std::string( "c:" ) );
- BOOST_TEST( *next( itr_ck.begin() ) == std::string( "/" ) );
- BOOST_TEST( next( next( itr_ck.begin() )) == itr_ck.end() );
- BOOST_TEST( prior( prior( itr_ck.end() )) == itr_ck.begin() );
- BOOST_TEST( *prior( itr_ck.end() ) == std::string( "/" ) );
- BOOST_TEST( *prior( prior( itr_ck.end() )) == std::string( "c:" ) );
+ BOOST_TEST( *boost::next( itr_ck.begin() ) == std::string( "/" ) );
+ BOOST_TEST( boost::next( boost::next( itr_ck.begin() )) == itr_ck.end() );
+ BOOST_TEST( boost::prior( boost::prior( itr_ck.end() )) == itr_ck.begin() );
+ BOOST_TEST( *boost::prior( itr_ck.end() ) == std::string( "/" ) );
+ BOOST_TEST( *boost::prior( boost::prior( itr_ck.end() )) == std::string( "c:" ) );
itr_ck = path( "c:foo" );
BOOST_TEST( *itr_ck.begin() == std::string( "c:" ) );
- BOOST_TEST( *next( itr_ck.begin() ) == std::string( "foo" ) );
- BOOST_TEST( next(next( itr_ck.begin() )) == itr_ck.end() );
- BOOST_TEST( prior(prior( itr_ck.end() )) == itr_ck.begin() );
- BOOST_TEST( *prior( itr_ck.end() ) == std::string( "foo" ) );
- BOOST_TEST( *prior(prior( itr_ck.end() )) == std::string( "c:" ) );
+ BOOST_TEST( *boost::next( itr_ck.begin() ) == std::string( "foo" ) );
+ BOOST_TEST( boost::next(boost::next( itr_ck.begin() )) == itr_ck.end() );
+ BOOST_TEST( boost::prior(boost::prior( itr_ck.end() )) == itr_ck.begin() );
+ BOOST_TEST( *boost::prior( itr_ck.end() ) == std::string( "foo" ) );
+ BOOST_TEST( *boost::prior(boost::prior( itr_ck.end() )) == std::string( "c:" ) );
itr_ck = path( "c:/foo" );
BOOST_TEST( *itr_ck.begin() == std::string( "c:" ) );
- BOOST_TEST( *next( itr_ck.begin() ) == std::string( "/" ) );
- BOOST_TEST( *next( next( itr_ck.begin() )) == std::string( "foo" ) );
- BOOST_TEST( next( next( next( itr_ck.begin() ))) == itr_ck.end() );
- BOOST_TEST( prior( prior( prior( itr_ck.end() ))) == itr_ck.begin() );
- BOOST_TEST( *prior( itr_ck.end() ) == std::string( "foo" ) );
- BOOST_TEST( *prior( prior( itr_ck.end() )) == std::string( "/" ) );
- BOOST_TEST( *prior( prior( prior( itr_ck.end() ))) == std::string( "c:" ) );
+ BOOST_TEST( *boost::next( itr_ck.begin() ) == std::string( "/" ) );
+ BOOST_TEST( *boost::next( boost::next( itr_ck.begin() )) == std::string( "foo" ) );
+ BOOST_TEST( boost::next( boost::next( boost::next( itr_ck.begin() ))) == itr_ck.end() );
+ BOOST_TEST( boost::prior( boost::prior( boost::prior( itr_ck.end() ))) == itr_ck.begin() );
+ BOOST_TEST( *boost::prior( itr_ck.end() ) == std::string( "foo" ) );
+ BOOST_TEST( *boost::prior( boost::prior( itr_ck.end() )) == std::string( "/" ) );
+ BOOST_TEST( *boost::prior( boost::prior( boost::prior( itr_ck.end() ))) == std::string( "c:" ) );
itr_ck = path( "//net" );
BOOST_TEST( *itr_ck.begin() == std::string( "//net" ) );
- BOOST_TEST( next( itr_ck.begin() ) == itr_ck.end() );
- BOOST_TEST( prior( itr_ck.end() ) == itr_ck.begin() );
- BOOST_TEST( *prior( itr_ck.end() ) == std::string( "//net" ) );
+ BOOST_TEST( boost::next( itr_ck.begin() ) == itr_ck.end() );
+ BOOST_TEST( boost::prior( itr_ck.end() ) == itr_ck.begin() );
+ BOOST_TEST( *boost::prior( itr_ck.end() ) == std::string( "//net" ) );
itr_ck = path( "//net/" );
CHECK_EQUAL( *itr_ck.begin(), "//net" );
- CHECK_EQUAL( *next( itr_ck.begin() ), "/" );
- BOOST_TEST( next(next( itr_ck.begin() )) == itr_ck.end() );
- BOOST_TEST( prior(prior( itr_ck.end() )) == itr_ck.begin() );
- CHECK_EQUAL( *prior( itr_ck.end() ), "/" );
- CHECK_EQUAL( *prior(prior( itr_ck.end() )), "//net" );
+ CHECK_EQUAL( *boost::next( itr_ck.begin() ), "/" );
+ BOOST_TEST( boost::next(boost::next( itr_ck.begin() )) == itr_ck.end() );
+ BOOST_TEST( boost::prior(boost::prior( itr_ck.end() )) == itr_ck.begin() );
+ CHECK_EQUAL( *boost::prior( itr_ck.end() ), "/" );
+ CHECK_EQUAL( *boost::prior(boost::prior( itr_ck.end() )), "//net" );
itr_ck = path( "//net/foo" );
BOOST_TEST( *itr_ck.begin() == std::string( "//net" ) );
- BOOST_TEST( *next( itr_ck.begin() ) == std::string( "/" ) );
- BOOST_TEST( *next(next( itr_ck.begin() )) == std::string( "foo" ) );
- BOOST_TEST( next(next(next( itr_ck.begin() ))) == itr_ck.end() );
- BOOST_TEST( prior(prior(prior( itr_ck.end() ))) == itr_ck.begin() );
- BOOST_TEST( *prior( itr_ck.end() ) == std::string( "foo" ) );
- BOOST_TEST( *prior(prior( itr_ck.end() )) == std::string( "/" ) );
- BOOST_TEST( *prior(prior(prior( itr_ck.end() ))) == std::string( "//net" ) );
+ BOOST_TEST( *boost::next( itr_ck.begin() ) == std::string( "/" ) );
+ BOOST_TEST( *boost::next(boost::next( itr_ck.begin() )) == std::string( "foo" ) );
+ BOOST_TEST( boost::next(boost::next(boost::next( itr_ck.begin() ))) == itr_ck.end() );
+ BOOST_TEST( boost::prior(boost::prior(boost::prior( itr_ck.end() ))) == itr_ck.begin() );
+ BOOST_TEST( *boost::prior( itr_ck.end() ) == std::string( "foo" ) );
+ BOOST_TEST( *boost::prior(boost::prior( itr_ck.end() )) == std::string( "/" ) );
+ BOOST_TEST( *boost::prior(boost::prior(boost::prior( itr_ck.end() ))) == std::string( "//net" ) );
itr_ck = path( "prn:" );
BOOST_TEST( *itr_ck.begin() == std::string( "prn:" ) );
- BOOST_TEST( next( itr_ck.begin() ) == itr_ck.end() );
- BOOST_TEST( prior( itr_ck.end() ) == itr_ck.begin() );
- BOOST_TEST( *prior( itr_ck.end() ) == std::string( "prn:" ) );
+ BOOST_TEST( boost::next( itr_ck.begin() ) == itr_ck.end() );
+ BOOST_TEST( boost::prior( itr_ck.end() ) == itr_ck.begin() );
+ BOOST_TEST( *boost::prior( itr_ck.end() ) == std::string( "prn:" ) );
} // Windows
else

View file

@ -1,15 +0,0 @@
diff -ru boost/function/function_template.hpp boost/function/function_template.hpp
--- boost/function/function_template.hpp 2009-05-10 10:31:29.000000000 +0100
+++ boost/function/function_template.hpp 2009-05-10 10:49:46.000000000 +0100
@@ -950,10 +950,10 @@
f.vtable->manager(f.functor, this->functor,
boost::detail::function::move_functor_tag);
f.vtable = 0;
-#if !defined(BOOST_NO_EXCEPTIONS)
} else {
clear();
}
+#if !defined(BOOST_NO_EXCEPTIONS)
} catch (...) {
vtable = 0;
throw;

View file

@ -1,15 +0,0 @@
diff -up boost_1_39_0/boost/asio/ssl/detail/openssl_context_service.hpp.ossl10 boost_1_39_0/boost/asio/ssl/detail/openssl_context_service.hpp
--- boost_1_39_0/boost/asio/ssl/detail/openssl_context_service.hpp.ossl10 2008-08-09 03:59:54.000000000 +0200
+++ boost_1_39_0/boost/asio/ssl/detail/openssl_context_service.hpp 2009-08-26 11:26:25.000000000 +0200
@@ -67,7 +67,11 @@ public:
// Create a new context implementation.
void create(impl_type& impl, context_base::method m)
{
+#if OPENSSL_VERSION_NUMBER >= 0x10000000L
+ const ::SSL_METHOD* ssl_method = 0;
+#else
::SSL_METHOD* ssl_method = 0;
+#endif
switch (m)
{
case context_base::sslv2:

View file

@ -1,168 +0,0 @@
*** tools/regression/src/run_tests.sh.orig 2007-07-31 19:44:25.000000000 -0500
--- tools/regression/src/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!"

View file

@ -1,37 +0,0 @@
*** tools/build/v2/tools/gcc.jam.orig 2009-05-05 12:45:31.000000000 -0700
--- tools/build/v2/tools/gcc.jam 2009-05-05 12:48:23.000000000 -0700
*************** if [ os.name ] != NT && [ os.name ] != O
*** 355,361 ****
# OSF does have an option called -soname but it does not seem to work as
# expected, therefore it has been disabled.
HAVE_SONAME = "" ;
! SONAME_OPTION = -h ;
}
--- 355,362 ----
# OSF does have an option called -soname but it does not seem to work as
# expected, therefore it has been disabled.
HAVE_SONAME = "" ;
! SONAME_OPTION = -soname ;
! SONAME_VERSION = _FEDORA_SONAME ;
}
*************** rule link.dll ( targets * : sources * :
*** 793,799 ****
# Differs 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)" $(FINDLIBS-ST-PFX) -l$(FINDLIBS-ST) $(FINDLIBS-SA-PFX) -l$(FINDLIBS-SA) $(END-GROUP) $(OPTIONS) $(USER_OPTIONS)
}
rule setup-threading ( targets * : sources * : properties * )
--- 794,800 ----
# Differs 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)" $(FINDLIBS-ST-PFX) -l$(FINDLIBS-ST) $(FINDLIBS-SA-PFX) -l$(FINDLIBS-SA) $(END-GROUP) $(OPTIONS) $(USER_OPTIONS)
}
rule setup-threading ( targets * : sources * : properties * )

View file

@ -1,11 +0,0 @@
diff -ru boost/spirit/home/classic/iterator/multi_pass.hpp boost/spirit/home/classic/iterator/multi_pass.hpp
--- boost/spirit/home/classic/iterator/multi_pass.hpp 2009-01-09 10:38:36.000000000 +0000
+++ boost/spirit/home/classic/iterator/multi_pass.hpp 2009-01-09 10:39:41.000000000 +0000
@@ -12,7 +12,6 @@
#include <boost/throw_exception.hpp>
#include <deque>
#include <iterator>
-#include <iostream>
#include <algorithm> // for std::swap
#include <exception> // for std::exception
#include <boost/limits.hpp>

View file

@ -1,19 +0,0 @@
*** tools/build/v2/tools/gcc.jam.orig 2008-11-17 16:26:39.000000000 -0800
--- tools/build/v2/tools/gcc.jam 2008-11-17 16:31:08.000000000 -0800
*************** toolset.flags gcc.compile PCH_FILE <pch>
*** 292,298 ****
# 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 <inlining>off : -fno-inline ;
--- 292,298 ----
# Declare flags and action for compilation.
toolset.flags gcc.compile OPTIONS <optimization>off : -O0 ;
! toolset.flags gcc.compile OPTIONS <optimization>speed : "_FEDORA_OPT_FLAGS" ;
toolset.flags gcc.compile OPTIONS <optimization>space : -Os ;
toolset.flags gcc.compile OPTIONS <inlining>off : -fno-inline ;

View file

@ -1,36 +0,0 @@
*** Jamroot.orig 2009-05-06 12:46:31.000000000 -0700
--- Jamroot 2009-05-06 18:18:17.000000000 -0700
*************** rule tag ( name : type ? : property-set
*** 344,350 ****
else
{
local result = [ common.format-name
! <base>
-$(BUILD_ID)
: $(name) : $(type) : $(property-set) ] ;
--- 344,350 ----
else
{
local result = [ common.format-name
! <base> <threading>
-$(BUILD_ID)
: $(name) : $(type) : $(property-set) ] ;
*************** rule tag ( name : type ? : property-set
*** 356,362 ****
# 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) ;
--- 356,362 ----
# 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 linux ) &&
! ( [ $(property-set).get <toolset> ] in pgi ) )
{
result = $(result).$(BOOST_VERSION) ;

24
boost.rpmlintrc Normal file
View 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.*")

2772
boost.spec

File diff suppressed because it is too large Load diff

19
gating.yaml Normal file
View 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}

View file

@ -1,2 +0,0 @@
boost-1_37_0-1_fc10:HEAD:boost-1.37.0-1.fc10.src.rpm:1229535558
boost-1_39_0-1_fc10:HEAD:boost-1.39.0-1.fc10.src.rpm:1241744899

5
plans/ci.fmf Normal file
View file

@ -0,0 +1,5 @@
summary: CI Gating Plan
discover:
how: fmf
execute:
how: tmt

View file

@ -1 +1 @@
a17281fd88c48e0d866e1a12deecbcc0 boost_1_39_0.tar.bz2
SHA512 (boost_1_90_0.tar.bz2) = 1c81b60f63367d7249f277f0a569c181926dcf5a725e30433dd336205f1782880489dd00df6a1a74fd107765d3ca2cd49f806788cabb7d5700a8a55927a9a199

View 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)

View 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>

View 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

View 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

View file

@ -0,0 +1,5 @@
integer
random
rational
regex
timer