Compare commits
69 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
50fc2b0fda | ||
|
|
4a0779ec8c | ||
|
|
5379719078 | ||
|
|
ec7383f6bd | ||
|
|
403199971d | ||
|
|
4a984a6238 | ||
|
|
2f2bd5aba3 | ||
|
|
bb27bd2d27 | ||
|
|
9784bfcbb7 | ||
|
|
bd0476d632 | ||
|
|
7e04e7d896 | ||
|
|
3cc264041a |
||
|
|
0d18786666 | ||
|
|
a893d9ada9 | ||
|
|
750fb0618c | ||
|
|
8a9a6c5073 | ||
|
|
74cf822853 | ||
|
|
531b5cfda3 | ||
|
|
e13a584ab7 | ||
|
|
dce3f3406f | ||
|
|
932a39a687 | ||
|
|
fe1d35be50 | ||
|
|
73e87aacff | ||
|
|
177b2b775d | ||
|
|
2dfe9ef974 | ||
|
|
56ec04471d | ||
|
|
d121d46377 | ||
|
|
bab1cef729 | ||
|
|
a9ff19d2d3 | ||
|
|
bffabb9a28 | ||
|
|
10a5ee96ff | ||
|
|
39785c3bbd | ||
|
|
33b1e83abc | ||
|
|
74826991aa | ||
|
|
fd721ad7d3 | ||
|
|
61dda027eb | ||
|
|
a4fcef0016 | ||
|
|
7d7a237052 | ||
|
|
393e648a01 | ||
|
|
6b80e21fd9 | ||
|
|
131ff2b1a6 | ||
|
|
1116a4d288 | ||
|
|
a496150aec | ||
|
|
3420df7244 | ||
|
|
571ebc8df1 | ||
|
|
8576ab076f | ||
|
|
1c4335a6e0 | ||
|
|
e938c8d9b3 | ||
|
|
bea3cff9ae | ||
|
|
af99b52501 | ||
|
|
6585f3fb6e | ||
|
|
2888982c28 | ||
|
|
b96dcf38c8 | ||
|
|
12bd4872ac | ||
|
|
19a004c283 | ||
|
|
36115b3780 | ||
|
|
5827653083 | ||
|
|
9c645e2838 | ||
|
|
efa25cfd81 | ||
|
|
83163cb5f7 | ||
|
|
3bd0a83d52 | ||
|
|
3c2829edfe | ||
|
|
9eaf760933 | ||
|
|
5eaac698fe | ||
|
|
bc37ceb79d | ||
|
|
0e92f1aa2e | ||
|
|
6502666126 | ||
|
|
6edfd32617 | ||
|
|
bba3a6c2a0 |
21 changed files with 660 additions and 625 deletions
|
|
@ -1,30 +0,0 @@
|
|||
--- boost_1_68_0/libs/pool/test/Jamfile.v2.orig 2018-08-01 20:50:52.000000000 +0000
|
||||
+++ boost_1_68_0/libs/pool/test/Jamfile.v2 2018-12-01 17:29:33.322195409 +0000
|
||||
@@ -22,18 +22,18 @@
|
||||
import testing ;
|
||||
|
||||
test-suite pool :
|
||||
- [ run test_simple_seg_storage.cpp : : : <toolset>msvc:<cxxflags>-wd4267 ]
|
||||
- [ run test_pool_alloc.cpp ]
|
||||
- [ run pool_msvc_compiler_bug_test.cpp : : : <toolset>msvc:<cxxflags>-wd4512 ]
|
||||
- [ run test_msvc_mem_leak_detect.cpp ]
|
||||
- [ run test_bug_3349.cpp ]
|
||||
- [ run test_bug_4960.cpp ]
|
||||
+ [ run test_simple_seg_storage.cpp : : : <toolset>msvc:<cxxflags>-wd4267 <library>/boost/system//boost_system ]
|
||||
+ [ run test_pool_alloc.cpp : : : <library>/boost/system//boost_system ]
|
||||
+ [ run pool_msvc_compiler_bug_test.cpp : : : <toolset>msvc:<cxxflags>-wd4512 <library>/boost/system//boost_system ]
|
||||
+ [ run test_msvc_mem_leak_detect.cpp : : : <library>/boost/system//boost_system ]
|
||||
+ [ run test_bug_3349.cpp : : : <library>/boost/system//boost_system ]
|
||||
+ [ run test_bug_4960.cpp : : : <library>/boost/system//boost_system ]
|
||||
[ run test_bug_1252.cpp : : :
|
||||
<toolset>clang:<cxxflags>-Wno-c++11-long-long
|
||||
<toolset>gcc:<cxxflags>-Wno-long-long
|
||||
- <toolset>pathscale:<cxxflags>-Wno-long-long ]
|
||||
- [ run test_bug_2696.cpp ]
|
||||
- [ run test_bug_5526.cpp ]
|
||||
+ <toolset>pathscale:<cxxflags>-Wno-long-long <library>/boost/system//boost_system ]
|
||||
+ [ run test_bug_2696.cpp : : : <library>/boost/system//boost_system ]
|
||||
+ [ run test_bug_5526.cpp : : : <library>/boost/system//boost_system ]
|
||||
[ run test_threading.cpp : : : <threading>multi <library>/boost/thread//boost_thread ]
|
||||
[ compile test_poisoned_macros.cpp ]
|
||||
;
|
||||
|
|
@ -1,120 +0,0 @@
|
|||
Index: boost/pool/pool.hpp
|
||||
===================================================================
|
||||
--- boost/pool/pool.hpp (revision 78317)
|
||||
+++ boost/pool/pool.hpp (revision 78326)
|
||||
@@ -27,4 +27,6 @@
|
||||
#include <boost/pool/poolfwd.hpp>
|
||||
|
||||
+// std::numeric_limits
|
||||
+#include <boost/limits.hpp>
|
||||
// boost::integer::static_lcm
|
||||
#include <boost/integer/common_factor_ct.hpp>
|
||||
@@ -358,4 +360,11 @@
|
||||
}
|
||||
|
||||
+ size_type max_chunks() const
|
||||
+ { //! Calculated maximum number of memory chunks that can be allocated in a single call by this Pool.
|
||||
+ size_type partition_size = alloc_size();
|
||||
+ size_type POD_size = integer::static_lcm<sizeof(size_type), sizeof(void *)>::value + sizeof(size_type);
|
||||
+ return (std::numeric_limits<size_type>::max() - POD_size) / alloc_size();
|
||||
+ }
|
||||
+
|
||||
static void * & nextof(void * const ptr)
|
||||
{ //! \returns Pointer dereferenced.
|
||||
@@ -377,5 +388,7 @@
|
||||
//! the first time that object needs to allocate system memory.
|
||||
//! The default is 32. This parameter may not be 0.
|
||||
- //! \param nmax_size is the maximum number of chunks to allocate in one block.
|
||||
+ //! \param nmax_size is the maximum number of chunks to allocate in one block.
|
||||
+ set_next_size(nnext_size);
|
||||
+ set_max_size(nmax_size);
|
||||
}
|
||||
|
||||
@@ -400,7 +413,7 @@
|
||||
}
|
||||
void set_next_size(const size_type nnext_size)
|
||||
- { //! Set number of chunks to request from the system the next time that object needs to allocate system memory. This value should never be set to 0.
|
||||
- //! \returns nnext_size.
|
||||
- next_size = start_size = nnext_size;
|
||||
+ { //! Set number of chunks to request from the system the next time that object needs to allocate system memory. This value should never be set to 0.
|
||||
+ BOOST_USING_STD_MIN();
|
||||
+ next_size = start_size = min BOOST_PREVENT_MACRO_SUBSTITUTION(nnext_size, max_chunks());
|
||||
}
|
||||
size_type get_max_size() const
|
||||
@@ -410,5 +423,6 @@
|
||||
void set_max_size(const size_type nmax_size)
|
||||
{ //! Set max_size.
|
||||
- max_size = nmax_size;
|
||||
+ BOOST_USING_STD_MIN();
|
||||
+ max_size = min BOOST_PREVENT_MACRO_SUBSTITUTION(nmax_size, max_chunks());
|
||||
}
|
||||
size_type get_requested_size() const
|
||||
@@ -713,7 +727,7 @@
|
||||
BOOST_USING_STD_MIN();
|
||||
if(!max_size)
|
||||
- next_size <<= 1;
|
||||
+ set_next_size(next_size << 1);
|
||||
else if( next_size*partition_size/requested_size < max_size)
|
||||
- next_size = min BOOST_PREVENT_MACRO_SUBSTITUTION(next_size << 1, max_size*requested_size/ partition_size);
|
||||
+ set_next_size(min BOOST_PREVENT_MACRO_SUBSTITUTION(next_size << 1, max_size * requested_size / partition_size));
|
||||
|
||||
// initialize it,
|
||||
@@ -753,7 +767,7 @@
|
||||
BOOST_USING_STD_MIN();
|
||||
if(!max_size)
|
||||
- next_size <<= 1;
|
||||
+ set_next_size(next_size << 1);
|
||||
else if( next_size*partition_size/requested_size < max_size)
|
||||
- next_size = min BOOST_PREVENT_MACRO_SUBSTITUTION(next_size << 1, max_size*requested_size/ partition_size);
|
||||
+ set_next_size(min BOOST_PREVENT_MACRO_SUBSTITUTION(next_size << 1, max_size * requested_size / partition_size));
|
||||
|
||||
// initialize it,
|
||||
@@ -797,4 +811,6 @@
|
||||
//! \returns Address of chunk n if allocated ok.
|
||||
//! \returns 0 if not enough memory for n chunks.
|
||||
+ if (n > max_chunks())
|
||||
+ return 0;
|
||||
|
||||
const size_type partition_size = alloc_size();
|
||||
@@ -845,7 +861,7 @@
|
||||
BOOST_USING_STD_MIN();
|
||||
if(!max_size)
|
||||
- next_size <<= 1;
|
||||
+ set_next_size(next_size << 1);
|
||||
else if( next_size*partition_size/requested_size < max_size)
|
||||
- next_size = min BOOST_PREVENT_MACRO_SUBSTITUTION(next_size << 1, max_size*requested_size/ partition_size);
|
||||
+ set_next_size(min BOOST_PREVENT_MACRO_SUBSTITUTION(next_size << 1, max_size * requested_size / partition_size));
|
||||
|
||||
// insert it into the list,
|
||||
Index: libs/pool/test/test_bug_6701.cpp
|
||||
===================================================================
|
||||
--- libs/pool/test/test_bug_6701.cpp (revision 78326)
|
||||
+++ libs/pool/test/test_bug_6701.cpp (revision 78326)
|
||||
@@ -0,0 +1,27 @@
|
||||
+/* Copyright (C) 2012 Étienne Dupuis
|
||||
+*
|
||||
+* Use, modification and distribution is subject to the
|
||||
+* Boost Software License, Version 1.0. (See accompanying
|
||||
+* file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
|
||||
+*/
|
||||
+
|
||||
+// Test of bug #6701 (https://svn.boost.org/trac/boost/ticket/6701)
|
||||
+
|
||||
+#include <boost/pool/object_pool.hpp>
|
||||
+#include <boost/limits.hpp>
|
||||
+
|
||||
+int main()
|
||||
+{
|
||||
+ boost::pool<> p(1024, std::numeric_limits<size_t>::max() / 768);
|
||||
+
|
||||
+ void *x = p.malloc();
|
||||
+ BOOST_ASSERT(!x);
|
||||
+
|
||||
+ BOOST_ASSERT(std::numeric_limits<size_t>::max() / 1024 >= p.get_next_size());
|
||||
+ BOOST_ASSERT(std::numeric_limits<size_t>::max() / 1024 >= p.get_max_size());
|
||||
+
|
||||
+ void *y = p.ordered_malloc(std::numeric_limits<size_t>::max() / 768);
|
||||
+ BOOST_ASSERT(!y);
|
||||
+
|
||||
+ return 0;
|
||||
+}
|
||||
|
|
@ -1,37 +0,0 @@
|
|||
From daf4ef50c88c2b9a6bf2c40b537eebc202caad6e Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?S=C3=A9bastien=20Gonzalve?=
|
||||
<sebastien.gonzalve@aliceadsl.fr>
|
||||
Date: Sat, 14 Nov 2020 10:39:47 +0100
|
||||
Subject: [PATCH] Do not try to access element when vector is empty
|
||||
|
||||
Trying to access tmp[0] causes a crash on Fedora when assertion on STL
|
||||
are enabled.
|
||||
|
||||
/usr/include/c++/10/bits/stl_vector.h:1045: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>; std::vector<_Tp, _Alloc>::reference = unsigned char&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__builtin_expect(__n < this->size(), true)' failed.
|
||||
|
||||
This patch just passes nullptr as pointer to getSortKey() when tmp size
|
||||
is 0, preventing dereferencing elements in empty vector.
|
||||
|
||||
I guess that &tmp[0] should be optimized as 'no real access' when
|
||||
disabling assertion, but actually leads to crash when assert are
|
||||
enabled.
|
||||
---
|
||||
src/icu/collator.cpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/libs/locale/src/icu/collator.cpp b/libs/locale/src/icu/collator.cpp
|
||||
index 7f1ea6a..dc59e8c 100644
|
||||
--- a/libs/locale/src/icu/collator.cpp
|
||||
+++ b/libs/locale/src/icu/collator.cpp
|
||||
@@ -93,7 +93,7 @@ namespace boost {
|
||||
std::vector<uint8_t> tmp;
|
||||
tmp.resize(str.length());
|
||||
icu::Collator *collate = get_collator(level);
|
||||
- int len = collate->getSortKey(str,&tmp[0],tmp.size());
|
||||
+ int len = collate->getSortKey(str,tmp.empty()?nullptr:&tmp[0],tmp.size());
|
||||
if(len > int(tmp.size())) {
|
||||
tmp.resize(len);
|
||||
collate->getSortKey(str,&tmp[0],tmp.size());
|
||||
--
|
||||
2.26.2
|
||||
|
||||
|
|
@ -1,60 +0,0 @@
|
|||
diff --git a/tools/build/src/tools/gcc.jam b/tools/build/src/tools/gcc.jam
|
||||
index ff3209f7b..1d8e7cbfe 100644
|
||||
--- a/tools/build/src/tools/gcc.jam
|
||||
+++ b/tools/build/src/tools/gcc.jam
|
||||
@@ -577,7 +577,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) -I"$(PCH_FILE:D)" -I"$(INCLUDES)" -include"$(FORCE_INCLUDES)" -c -o "$(<:W)" "$(>:W)"
|
||||
+ "$(CONFIG_COMMAND)" $(LANG) $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(PCH_FILE:D)" -I"$(INCLUDES)" -include"$(FORCE_INCLUDES)" -c -o "$(<:W)" "$(>:W)"
|
||||
}
|
||||
|
||||
actions compile.c bind PCH_FILE
|
||||
@@ -587,7 +587,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) -I"$(PCH_FILE:D)" -I"$(INCLUDES)" -include"$(FORCE_INCLUDES)" "$(>:W)" -E >"$(<:W)"
|
||||
+ "$(CONFIG_COMMAND)" $(LANG) $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(PCH_FILE:D)" -I"$(INCLUDES)" -include"$(FORCE_INCLUDES)" "$(>:W)" -E >"$(<:W)"
|
||||
}
|
||||
|
||||
actions compile.c.preprocess bind PCH_FILE
|
||||
@@ -704,20 +704,20 @@ 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 <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 <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 <optimization>off : ;
|
||||
+toolset.flags gcc.compile OPTIONS <optimization>speed : ;
|
||||
+toolset.flags gcc.compile OPTIONS <optimization>space : ;
|
||||
+
|
||||
+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 : ;
|
||||
+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.26.2
|
||||
|
||||
|
|
@ -1,25 +0,0 @@
|
|||
diff --git a/tools/build/src/tools/gcc.jam b/tools/build/src/tools/gcc.jam
|
||||
index 02dc154cf..c076f70f4 100644
|
||||
--- a/tools/build/src/tools/gcc.jam
|
||||
+++ b/tools/build/src/tools/gcc.jam
|
||||
@@ -1132,17 +1132,17 @@ actions link.mingw bind LIBRARIES
|
||||
|
||||
actions link.dll.mingw bind LIBRARIES
|
||||
{
|
||||
- "$(CONFIG_COMMAND)" -L"$(LINKPATH)" "$(.IMPLIB-COMMAND)$(<[1])" -o "$(<[-1])" -shared @"@($(<[-1]:T).rsp:E=$(START-GROUP) "$(>:T)" "$(LIBRARIES:T)" $(FINDLIBS-ST-PFX:T) -l$(FINDLIBS-ST:T) $(FINDLIBS-SA-PFX:T) -l$(FINDLIBS-SA:T) $(END-GROUP))" $(OPTIONS) $(USER_OPTIONS)
|
||||
+ "$(CONFIG_COMMAND)" -L"$(LINKPATH)" "$(.IMPLIB-COMMAND)$(<[0])" -o "$(<[-1])" -shared @"@($(<[-1]:T).rsp:E=$(START-GROUP) "$(>:T)" "$(LIBRARIES:T)" $(FINDLIBS-ST-PFX:T) -l$(FINDLIBS-ST:T) $(FINDLIBS-SA-PFX:T) -l$(FINDLIBS-SA:T) $(END-GROUP))" $(OPTIONS) $(USER_OPTIONS)
|
||||
}
|
||||
|
||||
actions link bind LIBRARIES
|
||||
{
|
||||
- "$(CONFIG_COMMAND)" -L"$(LINKPATH)" -Wl,$(RPATH_OPTION:E=-R)$(SPACE)-Wl,$(RPATH) -Wl,-rpath-link$(SPACE)-Wl,"$(RPATH_LINK)" -o "$(<)" $(START-GROUP) "$(>)" "$(LIBRARIES)" $(FINDLIBS-ST-PFX) -l$(FINDLIBS-ST) $(FINDLIBS-SA-PFX) -l$(FINDLIBS-SA) $(END-GROUP) $(OPTIONS) $(USER_OPTIONS)
|
||||
+ "$(CONFIG_COMMAND)" -L"$(LINKPATH)" -o "$(<)" $(START-GROUP) "$(>)" "$(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)" -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)
|
||||
+ "$(CONFIG_COMMAND)" -L"$(LINKPATH)" "$(.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)
|
||||
}
|
||||
|
||||
###
|
||||
|
|
@ -1,114 +0,0 @@
|
|||
From f364ee7be2bb1a44a2724d92f67490deaf19dc5e Mon Sep 17 00:00:00 2001
|
||||
From: Andrey Semashev <andrey.semashev@gmail.com>
|
||||
Date: Mon, 11 May 2020 19:59:23 +0300
|
||||
Subject: [PATCH] Removed usage of deprecated header boost/detail/iterator.hpp.
|
||||
|
||||
The header was deprecated in favor of <iterator>. It generates compiler
|
||||
warnings and will be removed in a future release.
|
||||
---
|
||||
boost/detail/algorithm.hpp | 2 +-
|
||||
boost/graph/adjacency_iterator.hpp | 6 +++---
|
||||
boost/graph/detail/adjacency_list.hpp | 5 +++--
|
||||
boost/graph/incremental_components.hpp | 6 +++---
|
||||
4 files changed, 10 insertions(+), 9 deletions(-)
|
||||
|
||||
diff --git a/boost/detail/algorithm.hpp b/boost/detail/algorithm.hpp
|
||||
index 7793fb357..9b3195cbf 100644
|
||||
--- a/boost/detail/algorithm.hpp
|
||||
+++ b/boost/detail/algorithm.hpp
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
#ifndef BOOST_ALGORITHM_HPP
|
||||
#define BOOST_ALGORITHM_HPP
|
||||
-#include <boost/detail/iterator.hpp>
|
||||
+
|
||||
// Algorithms on sequences
|
||||
//
|
||||
// The functions in this file have not yet gone through formal
|
||||
diff --git a/boost/graph/adjacency_iterator.hpp b/boost/graph/adjacency_iterator.hpp
|
||||
index 5325e7875..4693e3a3a 100644
|
||||
--- a/boost/graph/adjacency_iterator.hpp
|
||||
+++ b/boost/graph/adjacency_iterator.hpp
|
||||
@@ -10,7 +10,7 @@
|
||||
#ifndef BOOST_ADJACENCY_ITERATOR_HPP
|
||||
#define BOOST_ADJACENCY_ITERATOR_HPP
|
||||
|
||||
-#include <boost/detail/iterator.hpp>
|
||||
+#include <iterator>
|
||||
#include <boost/iterator/iterator_adaptor.hpp>
|
||||
#include <boost/graph/graph_traits.hpp>
|
||||
|
||||
@@ -45,7 +45,7 @@ template < class Graph,
|
||||
class adjacency_iterator_generator
|
||||
{
|
||||
typedef
|
||||
- typename boost::detail::iterator_traits< OutEdgeIter >::difference_type
|
||||
+ typename std::iterator_traits< OutEdgeIter >::difference_type
|
||||
difference_type;
|
||||
|
||||
public:
|
||||
@@ -81,7 +81,7 @@ template < class Graph,
|
||||
class inv_adjacency_iterator_generator
|
||||
{
|
||||
typedef
|
||||
- typename boost::detail::iterator_traits< InEdgeIter >::difference_type
|
||||
+ typename std::iterator_traits< InEdgeIter >::difference_type
|
||||
difference_type;
|
||||
|
||||
public:
|
||||
diff --git a/boost/graph/detail/adjacency_list.hpp b/boost/graph/detail/adjacency_list.hpp
|
||||
index 4b11fa516..c1a2ada23 100644
|
||||
--- a/boost/graph/detail/adjacency_list.hpp
|
||||
+++ b/boost/graph/detail/adjacency_list.hpp
|
||||
@@ -21,6 +21,7 @@
|
||||
#include <boost/range/irange.hpp>
|
||||
#include <boost/graph/graph_traits.hpp>
|
||||
#include <memory>
|
||||
+#include <iterator>
|
||||
#include <algorithm>
|
||||
#include <boost/limits.hpp>
|
||||
|
||||
@@ -2370,7 +2371,7 @@ namespace detail
|
||||
typedef typename OutEdgeList::size_type degree_size_type;
|
||||
typedef typename OutEdgeList::iterator OutEdgeIter;
|
||||
|
||||
- typedef boost::detail::iterator_traits< OutEdgeIter >
|
||||
+ typedef std::iterator_traits< OutEdgeIter >
|
||||
OutEdgeIterTraits;
|
||||
typedef
|
||||
typename OutEdgeIterTraits::iterator_category OutEdgeIterCat;
|
||||
@@ -2398,7 +2399,7 @@ namespace detail
|
||||
|
||||
// Edge Iterator
|
||||
|
||||
- typedef boost::detail::iterator_traits< EdgeIter > EdgeIterTraits;
|
||||
+ typedef std::iterator_traits< EdgeIter > EdgeIterTraits;
|
||||
typedef typename EdgeIterTraits::iterator_category EdgeIterCat;
|
||||
typedef typename EdgeIterTraits::difference_type EdgeIterDiff;
|
||||
|
||||
diff --git a/boost/graph/incremental_components.hpp b/boost/graph/incremental_components.hpp
|
||||
index 1ad8c9403..f16882e2a 100644
|
||||
--- a/boost/graph/incremental_components.hpp
|
||||
+++ b/boost/graph/incremental_components.hpp
|
||||
@@ -13,10 +13,10 @@
|
||||
#ifndef BOOST_INCREMENTAL_COMPONENTS_HPP
|
||||
#define BOOST_INCREMENTAL_COMPONENTS_HPP
|
||||
|
||||
-#include <boost/detail/iterator.hpp>
|
||||
+#include <boost/tuple/tuple.hpp>
|
||||
#include <boost/graph/detail/incremental_components.hpp>
|
||||
#include <boost/iterator/counting_iterator.hpp>
|
||||
-#include <boost/make_shared.hpp>
|
||||
+#include <boost/smart_ptr/make_shared.hpp>
|
||||
#include <boost/pending/disjoint_sets.hpp>
|
||||
#include <iterator>
|
||||
|
||||
@@ -69,7 +69,7 @@ void compress_components(ParentIterator first, ParentIterator last)
|
||||
}
|
||||
|
||||
template < class ParentIterator >
|
||||
-typename boost::detail::iterator_traits< ParentIterator >::difference_type
|
||||
+typename std::iterator_traits< ParentIterator >::difference_type
|
||||
component_count(ParentIterator first, ParentIterator last)
|
||||
{
|
||||
std::ptrdiff_t count = 0;
|
||||
|
|
@ -1,25 +0,0 @@
|
|||
From 5dde5a5a3c12dd8f52cb61ba220ec221ecfa98f0 Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Rodgers <rodgert@twrodgers.com>
|
||||
Date: Thu, 29 Jul 2021 10:15:37 -0700
|
||||
Subject: [PATCH] Use options from RPM for release builds with GCC
|
||||
|
||||
---
|
||||
tools/build/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 58f41cb4a..f85040f99 100755
|
||||
--- a/tools/build/src/engine/build.sh
|
||||
+++ b/tools/build/src/engine/build.sh
|
||||
@@ -325,7 +325,7 @@ case "${B2_TOOLSET}" in
|
||||
B2_CXX="${B2_CXX} -pthread"
|
||||
;;
|
||||
esac
|
||||
- B2_CXXFLAGS_RELEASE="-O2 -s"
|
||||
+ B2_CXXFLAGS_RELEASE="${RPM_OPT_FLAGS} ${RPM_LD_FLAGS}"
|
||||
B2_CXXFLAGS_DEBUG="-O0 -g"
|
||||
;;
|
||||
|
||||
--
|
||||
2.31.1
|
||||
|
||||
|
|
@ -1,27 +0,0 @@
|
|||
From 62fcbde69aae70af24a51cb6582a2a95f65441c2 Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Rodgers <rodgert@twrodgers.com>
|
||||
Date: Wed, 4 Aug 2021 13:22:35 -0700
|
||||
Subject: [PATCH] Fix duplicate typedef in mp.hpp [#671]
|
||||
|
||||
https://github.com/boostorg/math/pull/671
|
||||
---
|
||||
boost/math/tools/mp.hpp | 3 ---
|
||||
1 file changed, 3 deletions(-)
|
||||
|
||||
diff --git a/boost/math/tools/mp.hpp b/boost/math/tools/mp.hpp
|
||||
index dc8440988..3100a0bb6 100644
|
||||
--- a/boost/math/tools/mp.hpp
|
||||
+++ b/boost/math/tools/mp.hpp
|
||||
@@ -426,9 +426,6 @@ struct make_integer_sequence_impl
|
||||
template<typename T, T N>
|
||||
using make_integer_sequence = typename detail::make_integer_sequence_impl<T, N>::type;
|
||||
|
||||
-template<std::size_t... I>
|
||||
-using index_sequence = integer_sequence<std::size_t, I...>;
|
||||
-
|
||||
template<std::size_t N>
|
||||
using make_index_sequence = make_integer_sequence<std::size_t, N>;
|
||||
|
||||
--
|
||||
2.31.1
|
||||
|
||||
|
|
@ -1,33 +0,0 @@
|
|||
From f6818a161d3f835d246aceea0804243c887ac10b Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Rodgers <rodgert@twrodgers.com>
|
||||
Date: Wed, 4 Aug 2021 13:09:57 -0700
|
||||
Subject: [PATCH] Fix include inside boost namespace [#670]
|
||||
|
||||
https://github.com/boostorg/math/pull/670/commits/1ec5c98d80de97f9e962c5627e1a0e6096099894
|
||||
---
|
||||
boost/math/tools/mp.hpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/boost/math/tools/mp.hpp b/boost/math/tools/mp.hpp
|
||||
index 35565646f..dc8440988 100644
|
||||
--- a/boost/math/tools/mp.hpp
|
||||
+++ b/boost/math/tools/mp.hpp
|
||||
@@ -13,6 +13,7 @@
|
||||
|
||||
#include <type_traits>
|
||||
#include <cstddef>
|
||||
+#include <utility>
|
||||
|
||||
namespace boost { namespace math { namespace tools { namespace meta_programming {
|
||||
|
||||
@@ -338,7 +339,6 @@ using mp_remove_if_q = mp_remove_if<L, Q::template fn>;
|
||||
// Index sequence
|
||||
// Use C++14 index sequence if available
|
||||
#if defined(__cpp_lib_integer_sequence) && (__cpp_lib_integer_sequence >= 201304)
|
||||
-#include <utility>
|
||||
template<std::size_t... I>
|
||||
using index_sequence = std::index_sequence<I...>;
|
||||
|
||||
--
|
||||
2.31.1
|
||||
|
||||
32
boost-1.76.0-fix-narrowing-conversions-for-ppc.patch
Normal file
32
boost-1.76.0-fix-narrowing-conversions-for-ppc.patch
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
From 0039878782516ea3313608f99f0d50e846151bc2 Mon Sep 17 00:00:00 2001
|
||||
From: Jonathan Wakely <jwakely@fedoraproject.org>
|
||||
Date: Mon, 31 Jan 2022 11:37:29 +0000
|
||||
Subject: [PATCH] Fix narrowing conversions for ppc
|
||||
|
||||
These constants are too large for `long long` so are unsigned,
|
||||
and then cannot be narrowed to the signed type.
|
||||
|
||||
Fixes #29
|
||||
---
|
||||
.../numeric/interval/detail/ppc_rounding_control.hpp | 8 ++++----
|
||||
1 file changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/include/boost/numeric/interval/detail/ppc_rounding_control.hpp b/include/boost/numeric/interval/detail/ppc_rounding_control.hpp
|
||||
index 87fe8ee..99f9986 100644
|
||||
--- boost_1_76_0/boost/numeric/interval/detail/ppc_rounding_control.hpp
|
||||
+++ boost_1_76_0/boost/numeric/interval/detail/ppc_rounding_control.hpp
|
||||
@@ -28,10 +28,10 @@ typedef union {
|
||||
double dmode;
|
||||
} rounding_mode_struct;
|
||||
|
||||
-static const rounding_mode_struct mode_upward = { 0xFFF8000000000002LL };
|
||||
-static const rounding_mode_struct mode_downward = { 0xFFF8000000000003LL };
|
||||
-static const rounding_mode_struct mode_to_nearest = { 0xFFF8000000000000LL };
|
||||
-static const rounding_mode_struct mode_toward_zero = { 0xFFF8000000000001LL };
|
||||
+static const rounding_mode_struct mode_upward = { (::boost::long_long_type)0xFFF8000000000002LL };
|
||||
+static const rounding_mode_struct mode_downward = { (::boost::long_long_type)0xFFF8000000000003LL };
|
||||
+static const rounding_mode_struct mode_to_nearest = { (::boost::long_long_type)0xFFF8000000000000LL };
|
||||
+static const rounding_mode_struct mode_toward_zero = { (::boost::long_long_type)0xFFF8000000000001LL };
|
||||
|
||||
struct ppc_rounding_control
|
||||
{
|
||||
25
boost-1.78.0-b2-build-flags.patch
Normal file
25
boost-1.78.0-b2-build-flags.patch
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
From 1ded9b9c219542442b3c10af815e5413a2a89c75 Mon Sep 17 00:00:00 2001
|
||||
From: Thomas W Rodgers <trodgers@redhat.com>
|
||||
Date: Tue, 1 Mar 2022 10:03:34 -0800
|
||||
Subject: [PATCH] Adjust b2 build flags for Fedora Packaging
|
||||
|
||||
---
|
||||
src/engine/build.sh | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tools/build/src/engine/build.sh b/tools/build/src/engine/build.sh
|
||||
index f1ad08cb..ab58deba 100755
|
||||
--- a/tools/build/src/engine/build.sh
|
||||
+++ b/tools/build/src/engine/build.sh
|
||||
@@ -323,7 +323,7 @@ case "${B2_TOOLSET}" in
|
||||
|
||||
gcc|gcc-*)
|
||||
CXX_VERSION_OPT=${CXX_VERSION_OPT:---version}
|
||||
- B2_CXXFLAGS_RELEASE="-O2 -s"
|
||||
+ B2_CXXFLAGS_RELEASE="${RPM_OPT_FLAGS} ${RPM_LD_FLAGS}"
|
||||
B2_CXXFLAGS_DEBUG="-O0 -g"
|
||||
;;
|
||||
|
||||
--
|
||||
2.35.1
|
||||
|
||||
70
boost-1.81.0-build-optflags.patch
Normal file
70
boost-1.81.0-build-optflags.patch
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
From ebc90bc3e372dc8e5db21f79d2a79e4f5c4d01ee Mon Sep 17 00:00:00 2001
|
||||
From: Patrick Palka <ppalka@redhat.com>
|
||||
Date: Mon, 4 Dec 2023 09:24:20 -0500
|
||||
Subject: [PATCH] Adjust options for Fedora package build
|
||||
|
||||
---
|
||||
tools/build/src/tools/gcc.jam | 30 +++++++++++++++---------------
|
||||
1 file changed, 15 insertions(+), 15 deletions(-)
|
||||
|
||||
diff --git a/tools/build/src/tools/gcc.jam b/tools/build/src/tools/gcc.jam
|
||||
index 834f5e1bf..c753afc23 100644
|
||||
--- a/tools/build/src/tools/gcc.jam
|
||||
+++ b/tools/build/src/tools/gcc.jam
|
||||
@@ -513,7 +513,7 @@ rule compile.fortran ( targets * : sources * : properties * )
|
||||
|
||||
actions compile.c++ bind PCH_FILE
|
||||
{
|
||||
- "$(CONFIG_COMMAND)" $(LANG) -ftemplate-depth-$(TEMPLATE_DEPTH) $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) $(INCLUDE-GCH)$(_)"$(PCH_FILE:S=)" $(INCLUDE-PCH)$(_)"$(PCH_FILE)" -I"$(INCLUDES)" -include$(_)"$(FORCE_INCLUDES)" -c -o "$(<)" "$(>:T)"
|
||||
+ "$(CONFIG_COMMAND)" $(LANG) $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) $(INCLUDE-GCH)$(_)"$(PCH_FILE:S=)" $(INCLUDE-PCH)$(_)"$(PCH_FILE)" -I"$(INCLUDES)" -include$(_)"$(FORCE_INCLUDES)" -c -o "$(<)" "$(>:T)"
|
||||
}
|
||||
|
||||
actions compile.c bind PCH_FILE
|
||||
@@ -523,7 +523,7 @@ actions compile.c bind PCH_FILE
|
||||
|
||||
actions compile.c++.preprocess bind PCH_FILE
|
||||
{
|
||||
- "$(CONFIG_COMMAND)" $(LANG) -ftemplate-depth-$(TEMPLATE_DEPTH) $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) $(INCLUDE-GCH)$(_)"$(PCH_FILE:S=)" $(INCLUDE-PCH)$(_)"$(PCH_FILE)" -I"$(INCLUDES)" -include$(_)"$(FORCE_INCLUDES)" "$(>:T)" -E >"$(<)"
|
||||
+ "$(CONFIG_COMMAND)" $(LANG) $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) $(INCLUDE-GCH)$(_)"$(PCH_FILE:S=)" $(INCLUDE-PCH)$(_)"$(PCH_FILE)" -I"$(INCLUDES)" -include$(_)"$(FORCE_INCLUDES)" "$(>:T)" -E >"$(<)"
|
||||
}
|
||||
|
||||
actions compile.c.preprocess bind PCH_FILE
|
||||
@@ -627,22 +627,22 @@ actions compile.c.pch
|
||||
###
|
||||
|
||||
# Declare flags and action for compilation.
|
||||
-toolset.flags gcc.compile OPTIONS <optimization>off : -O0 ;
|
||||
-toolset.flags gcc.compile OPTIONS <optimization>speed : -O3 ;
|
||||
-toolset.flags gcc.compile OPTIONS <optimization>space : -Os ;
|
||||
-toolset.flags gcc.compile OPTIONS <optimization>minimal : -O1 ;
|
||||
+toolset.flags gcc.compile OPTIONS <optimization>off : ;
|
||||
+toolset.flags gcc.compile OPTIONS <optimization>speed : ;
|
||||
+toolset.flags gcc.compile OPTIONS <optimization>space : ;
|
||||
+toolset.flags gcc.compile OPTIONS <optimization>minimal : ;
|
||||
toolset.flags gcc.compile OPTIONS <optimization>debug : -Og ;
|
||||
|
||||
-toolset.flags gcc.compile OPTIONS <inlining>off : -fno-inline ;
|
||||
-toolset.flags gcc.compile OPTIONS <inlining>on : -Wno-inline ;
|
||||
-toolset.flags gcc.compile OPTIONS <inlining>full : -finline-functions -Wno-inline ;
|
||||
+toolset.flags gcc.compile OPTIONS <inlining>off : ;
|
||||
+toolset.flags gcc.compile OPTIONS <inlining>on : ;
|
||||
+toolset.flags gcc.compile OPTIONS <inlining>full : ;
|
||||
|
||||
-toolset.flags gcc.compile OPTIONS <warnings>off : -w ;
|
||||
-toolset.flags gcc.compile OPTIONS <warnings>on : -Wall ;
|
||||
-toolset.flags gcc.compile OPTIONS <warnings>all : -Wall ;
|
||||
-toolset.flags gcc.compile OPTIONS <warnings>extra : -Wall -Wextra ;
|
||||
-toolset.flags gcc.compile OPTIONS <warnings>pedantic : -Wall -Wextra -pedantic ;
|
||||
-toolset.flags gcc.compile OPTIONS <warnings-as-errors>on : -Werror ;
|
||||
+toolset.flags gcc.compile OPTIONS <warnings>off : ;
|
||||
+toolset.flags gcc.compile OPTIONS <warnings>on : ;
|
||||
+toolset.flags gcc.compile OPTIONS <warnings>all : ;
|
||||
+toolset.flags gcc.compile OPTIONS <warnings>extra : ;
|
||||
+toolset.flags gcc.compile OPTIONS <warnings>pedantic : ;
|
||||
+toolset.flags gcc.compile OPTIONS <warnings-as-errors>on : ;
|
||||
|
||||
toolset.flags gcc.compile OPTIONS <debug-symbols>on : -g ;
|
||||
toolset.flags gcc.compile OPTIONS <profiling>on : -pg ;
|
||||
--
|
||||
2.43.0
|
||||
|
||||
42
boost-1.90-system.patch
Normal file
42
boost-1.90-system.patch
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
From d9554db26c3dbb00a6a293ee4fd4966e4e278da8 Mon Sep 17 00:00:00 2001
|
||||
From: Peter Dimov <pdimov@gmail.com>
|
||||
Date: Mon, 15 Dec 2025 21:51:45 +0200
|
||||
Subject: [PATCH] Install boost_system as header-only
|
||||
|
||||
---
|
||||
boost-install.jam | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/boost-install.jam b/boost-install.jam
|
||||
index b87e308..5e6bfa6 100644
|
||||
--- a/tools/boost_install/boost-install.jam
|
||||
+++ b/tools/boost_install/boost-install.jam
|
||||
@@ -1015,7 +1015,7 @@ local rule install-cmake-config- ( install-or-stage : version : name : requireme
|
||||
|
||||
local library-type = UNKNOWN ;
|
||||
|
||||
- if $(name) = boost_headers || $(name) = boost_math || $(name) = boost_exception
|
||||
+ if $(name) = boost_headers || $(name) = boost_math || $(name) = boost_exception || $(name) = boost_system
|
||||
{
|
||||
library-type = INTERFACE ;
|
||||
}
|
||||
From 9529e070ea9e9afd1da17edd48993d560fdc0d7a Mon Sep 17 00:00:00 2001
|
||||
From: Peter Dimov <pdimov@gmail.com>
|
||||
Date: Mon, 15 Dec 2025 21:52:49 +0200
|
||||
Subject: [PATCH] Still install boost_system, for the CMake configuration. Refs
|
||||
#132.
|
||||
|
||||
---
|
||||
build.jam | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/build.jam b/build.jam
|
||||
index 65da5aa6..5b6545c8 100644
|
||||
--- a/libs/system//build.jam
|
||||
+++ b/libs/system//build.jam
|
||||
@@ -21,4 +21,5 @@ explicit
|
||||
;
|
||||
|
||||
call-if : boost-library system
|
||||
+ : install boost_system
|
||||
;
|
||||
31
boost-1.90.0-no-rpath.patch
Normal file
31
boost-1.90.0-no-rpath.patch
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
From 6a8ff06728b64a1121a6179d891ab0baf3b9290b Mon Sep 17 00:00:00 2001
|
||||
From: Patrick Palka <ppalka@redhat.com>
|
||||
Date: Mon, 4 Dec 2023 09:27:13 -0500
|
||||
Subject: [PATCH] Adjust options to remove RPATH for Fedora package builds
|
||||
|
||||
---
|
||||
tools/build/src/tools/gcc.jam | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/tools/build/src/tools/gcc.jam b/tools/build/src/tools/gcc.jam
|
||||
index c753afc23..e0b627726 100644
|
||||
--- a/tools/build/src/tools/gcc.jam
|
||||
+++ b/tools/build/src/tools/gcc.jam
|
||||
@@ -1035,12 +1035,12 @@ rule link.dll ( targets * : sources * : properties * )
|
||||
|
||||
actions link bind LIBRARIES
|
||||
{
|
||||
- "$(CONFIG_COMMAND)" @($(<[1]:T).rsp:O=FC:<=@":>=":E=-L"$(LINKPATH)" -Wl,$(RPATH_OPTION)$(SPACE)-Wl,$(RPATH) -Wl,-rpath-link$(SPACE)-Wl,"$(RPATH_LINK)" -o "$(<:T)" $(START-GROUP) "$(>:T)" "$(LIBRARIES)" $(FINDLIBS-ST-PFX) -l$(FINDLIBS-ST) $(FINDLIBS-SA-PFX) -l$(FINDLIBS-SA) $(END-GROUP) $(OPTIONS) $(USER_OPTIONS))
|
||||
+ "$(CONFIG_COMMAND)" @($(<[1]:T).rsp:O=FC:<=@":>=":E=-L"$(LINKPATH)" -o "$(<:T)" $(START-GROUP) "$(>:T)" "$(LIBRARIES)" $(FINDLIBS-ST-PFX) -l$(FINDLIBS-ST) $(FINDLIBS-SA-PFX) -l$(FINDLIBS-SA) $(END-GROUP) $(OPTIONS) $(USER_OPTIONS))
|
||||
}
|
||||
|
||||
actions link.dll bind LIBRARIES
|
||||
{
|
||||
- "$(CONFIG_COMMAND)" @($(<[1]:T).rsp:O=FC:<=@":>=":E=-L"$(LINKPATH)" -Wl,$(RPATH_OPTION)$(SPACE)-Wl,$(RPATH) -Wl,$(IMPLIB_OPTION:E=--out-implib),"$(<[2]:T)" -o "$(<[1]:T)" $(HAVE_SONAME)-Wl,$(SONAME_OPTION)$(SPACE)-Wl,"$(SONAME_PREFIX:E=)$(<[1]:D=)" $(SHARED_OPTION:E=-shared) $(START-GROUP) "$(>:T)" "$(LIBRARIES)" $(FINDLIBS-ST-PFX) -l$(FINDLIBS-ST) $(FINDLIBS-SA-PFX) -l$(FINDLIBS-SA) $(END-GROUP) $(OPTIONS) $(USER_OPTIONS))
|
||||
+ "$(CONFIG_COMMAND)" @($(<[1]:T).rsp:O=FC:<=@":>=":E=-L"$(LINKPATH)" -Wl,$(IMPLIB_OPTION:E=--out-implib),"$(<[2]:T)" -o "$(<[1]:T)" $(HAVE_SONAME)-Wl,$(SONAME_OPTION)$(SPACE)-Wl,"$(SONAME_PREFIX:E=)$(<[1]:D=)" $(SHARED_OPTION:E=-shared) $(START-GROUP) "$(>:T)" "$(LIBRARIES)" $(FINDLIBS-ST-PFX) -l$(FINDLIBS-ST) $(FINDLIBS-SA-PFX) -l$(FINDLIBS-SA) $(END-GROUP) $(OPTIONS) $(USER_OPTIONS))
|
||||
}
|
||||
|
||||
###
|
||||
--
|
||||
2.43.0
|
||||
|
||||
22
boost-1.90.0-range.patch
Normal file
22
boost-1.90.0-range.patch
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
From 9ac89e9936b826c13e90611cb9a81a7aa0508d20 Mon Sep 17 00:00:00 2001
|
||||
From: Michael Cho <michael@michaelcho.dev>
|
||||
Date: Sun, 30 Mar 2025 21:45:49 -0400
|
||||
Subject: [PATCH] Add include for add_const
|
||||
|
||||
Signed-off-by: Michael Cho <michael@michaelcho.dev>
|
||||
---
|
||||
include/boost/range/detail/any_iterator_interface.hpp | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/include/boost/range/detail/any_iterator_interface.hpp b/include/boost/range/detail/any_iterator_interface.hpp
|
||||
index 1103be6c..79e71dbd 100644
|
||||
--- boost_1_90_0/boost/range/detail/any_iterator_interface.hpp
|
||||
+++ boost_1_90_0/boost/range/detail/any_iterator_interface.hpp
|
||||
@@ -13,6 +13,7 @@
|
||||
#include <boost/mpl/if.hpp>
|
||||
#include <boost/range/detail/any_iterator_buffer.hpp>
|
||||
#include <boost/iterator/iterator_categories.hpp>
|
||||
+#include <boost/type_traits/add_const.hpp>
|
||||
#include <boost/type_traits/is_convertible.hpp>
|
||||
#include <boost/type_traits/is_reference.hpp>
|
||||
#include <boost/type_traits/remove_const.hpp>
|
||||
24
boost.rpmlintrc
Normal file
24
boost.rpmlintrc
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
# The meta-package doesn't contain any files, this is intended.
|
||||
addFilter("boost.x86_64: E: no-binary")
|
||||
|
||||
# All docs are in a separate boost-doc package
|
||||
addFilter("boost.*: W: no-documentation")
|
||||
addFilter("boost.*: W: description-shorter-than-summary")
|
||||
|
||||
# Upstream don't provide one
|
||||
addFilter("boost-doctools.x86_64: W: no-manual-page-for-binary quickbook")
|
||||
|
||||
# Ignore these
|
||||
addFilter("boost.*: W: spelling-error %description -l en_US foundational ")
|
||||
addFilter("boost.*: W: spelling-error %description -l en_US invariants ")
|
||||
addFilter("boost.*: W: spelling-error %description -l en_US postconditions ")
|
||||
addFilter("boost.*: W: spelling-error %description -l en_US userland ")
|
||||
addFilter("boost.*: W: spelling-error Summary(en_US) numpy ")
|
||||
|
||||
# The example code is useless without the headers
|
||||
addFilter("boost-examples.x86_64: E: devel-dependency boost-devel")
|
||||
|
||||
# These libs are statically linked
|
||||
addFilter("boost-date-time.x86_64: E: shared-lib-without-dependency-information /usr/lib64/libboost_date_time.so.*")
|
||||
addFilter("boost-system.x86_64: E: shared-lib-without-dependency-information /usr/lib64/libboost_system.so.*")
|
||||
addFilter("boost-stacktrace.x86_64: E: shared-lib-without-dependency-information /usr/lib64/libboost_stacktrace_noop.so.*")
|
||||
527
boost.spec
527
boost.spec
|
|
@ -16,15 +16,19 @@
|
|||
# All arches have mpich
|
||||
%bcond_without mpich
|
||||
|
||||
%ifarch s390
|
||||
# No OpenMPI support on these arches
|
||||
%bcond_with openmpi
|
||||
%if 0%{?fedora} >= 40 || 0%{?rhel} >= 10
|
||||
%ifarch %{ix86}
|
||||
# No OpenMPI support on these arches
|
||||
%bcond_with openmpi
|
||||
%else
|
||||
%bcond_without openmpi
|
||||
%endif
|
||||
%else
|
||||
%bcond_without openmpi
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%ifnarch %{ix86} x86_64 %{arm} ppc64 ppc64le aarch64 s390x
|
||||
%ifnarch %{ix86} x86_64 %{arm} ppc64 ppc64le aarch64 s390x riscv64
|
||||
%bcond_with context
|
||||
%else
|
||||
%bcond_without context
|
||||
|
|
@ -38,12 +42,18 @@
|
|||
%bcond_without quadmath
|
||||
%endif
|
||||
|
||||
%ifnarch x86_64
|
||||
%bcond_with stacktrace_from_exception
|
||||
%else
|
||||
%bcond_without stacktrace_from_exception
|
||||
%endif
|
||||
|
||||
Name: boost
|
||||
%global real_name boost
|
||||
Summary: The free peer-reviewed portable C++ source libraries
|
||||
Version: 1.76.0
|
||||
Release: 5%{?dist}
|
||||
License: Boost and MIT and Python
|
||||
Version: 1.90.0
|
||||
Release: 4%{?dist}
|
||||
License: BSL-1.0 AND MIT AND Python-2.0.1
|
||||
|
||||
# Replace each . with _ in %%{version}
|
||||
%global version_enc %{lua:
|
||||
|
|
@ -54,11 +64,11 @@ License: Boost and MIT and Python
|
|||
%global toplev_dirname %{real_name}_%{version_enc}
|
||||
URL: http://www.boost.org
|
||||
|
||||
Source0: https://boostorg.jfrog.io/artifactory/main/release/%{version}/source/%{name}_%{version_enc}.tar.bz2
|
||||
Source1: libboost_thread.so
|
||||
# https://archives.boost.io/release/1.90.0/source/boost_1_90_0.tar.bz2
|
||||
Source0: https://archives.boost.io/release/%{version}/source/%{name}_%{version_enc}.tar.bz2
|
||||
# Add a manual page for b2, based on the online documentation:
|
||||
# http://www.boost.org/boost-build2/doc/html/bbv2/overview.html
|
||||
Source2: b2.1
|
||||
Source1: b2.1
|
||||
|
||||
# Since Fedora 13, the Boost libraries are delivered with sonames
|
||||
# equal to the Boost version (e.g., 1.41.0).
|
||||
|
|
@ -71,7 +81,9 @@ Source2: b2.1
|
|||
# The subpackages that don't install shared libraries are also not pulled in
|
||||
# (b2, build, doc, doctools, examples, static).
|
||||
Requires: %{name}-atomic%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-charconv%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-chrono%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-cobalt%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-container%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-contract%{?_isa} = %{version}-%{release}
|
||||
%if %{with context}
|
||||
|
|
@ -85,10 +97,12 @@ Requires: %{name}-fiber%{?_isa} = %{version}-%{release}
|
|||
Requires: %{name}-filesystem%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-graph%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-iostreams%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-json%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-locale%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-log%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-math%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-nowide%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-process%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-program-options%{?_isa} = %{version}-%{release}
|
||||
%if %{with python3}
|
||||
Requires: %{name}-python3%{?_isa} = %{version}-%{release}
|
||||
|
|
@ -97,12 +111,15 @@ Requires: %{name}-random%{?_isa} = %{version}-%{release}
|
|||
Requires: %{name}-regex%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-serialization%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-stacktrace%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-system%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-test%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-thread%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-timer%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-type_erasure%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-url%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-wave%{?_isa} = %{version}-%{release}
|
||||
# F44 dropped the boost-system subpackage
|
||||
Obsoletes: boost-system < 1.90.0
|
||||
Conflicts: boost-system < 1.90.0
|
||||
|
||||
%if %{with python3}
|
||||
Recommends: (boost-numpy3 if python3-numpy)
|
||||
|
|
@ -123,40 +140,31 @@ BuildRequires: libicu-devel
|
|||
BuildRequires: libquadmath-devel
|
||||
%endif
|
||||
BuildRequires: bison
|
||||
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=828856
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=828857
|
||||
# https://svn.boost.org/trac/boost/ticket/6701
|
||||
Patch15: boost-1.58.0-pool.patch
|
||||
|
||||
# https://svn.boost.org/trac/boost/ticket/9038
|
||||
Patch51: boost-1.58.0-pool-test_linking.patch
|
||||
BuildRequires: libzstd-devel
|
||||
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1541035
|
||||
Patch96: boost-1.75.0-build-optflags.patch
|
||||
Patch0: boost-1.81.0-build-optflags.patch
|
||||
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1318383
|
||||
Patch97: boost-1.75.0-no-rpath.patch
|
||||
Patch1: boost-1.90.0-no-rpath.patch
|
||||
|
||||
# https://lists.boost.org/Archives/boost/2020/04/248812.php
|
||||
Patch88: boost-1.73.0-cmakedir.patch
|
||||
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1899888
|
||||
# https://github.com/boostorg/locale/issues/52
|
||||
Patch94: boost-1.73-locale-empty-vector.patch
|
||||
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1958382
|
||||
# https://github.com/boostorg/graph/pull/218
|
||||
Patch98: boost-1.75.0-remove-deprecated-boost-iterator.patch
|
||||
Patch2: boost-1.73.0-cmakedir.patch
|
||||
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1541035
|
||||
Patch99: boost-1.76.0-b2-build-flags.patch
|
||||
Patch3: boost-1.78.0-b2-build-flags.patch
|
||||
|
||||
# https://github.com/boostorg/math/pull/670
|
||||
Patch100: boost-1.76.0-fix-include-inside-boost-namespace.patch
|
||||
# PR https://github.com/boostorg/interval/pull/30
|
||||
# Fixes narrowing conversions for ppc -
|
||||
# https://github.com/boostorg/interval/issues/29
|
||||
Patch5: boost-1.76.0-fix-narrowing-conversions-for-ppc.patch
|
||||
|
||||
# https://github.com/boostorg/math/pull/671
|
||||
Patch101: boost-1.76.0-fix-duplicate-typedef-in-mp.patch
|
||||
# Install boost_system for the CMake configuration
|
||||
# https://github.com/boostorg/system/issues/132
|
||||
Patch6: boost-1.90-system.patch
|
||||
|
||||
# https://github.com/boostorg/range/pull/157
|
||||
Patch7: boost-1.90.0-range.patch
|
||||
|
||||
%bcond_with tests
|
||||
%bcond_with docs_generated
|
||||
|
|
@ -181,14 +189,33 @@ types and operations on these data types, as well as memory ordering
|
|||
constraints required for coordinating multiple threads through atomic
|
||||
variables.
|
||||
|
||||
%package charconv
|
||||
Summary: Run-time component of boost charconv library
|
||||
|
||||
%description charconv
|
||||
|
||||
Run-time support for Boost.Charconv, an implementation of <charconv>
|
||||
in C++11.
|
||||
|
||||
%package chrono
|
||||
Summary: Run-time component of boost chrono library
|
||||
Requires: %{name}-system%{?_isa} = %{version}-%{release}
|
||||
Obsoletes: boost-system < 1.90.0
|
||||
Conflicts: boost-system < 1.90.0
|
||||
|
||||
%description chrono
|
||||
|
||||
Run-time support for Boost.Chrono, a set of useful time utilities.
|
||||
|
||||
%package cobalt
|
||||
Summary: Run-time component of boost cobalt library
|
||||
|
||||
%description cobalt
|
||||
|
||||
Boost.Cobalt provides a set of easy to use coroutine primitives & utilities
|
||||
running on top of boost.asio. These will be of interest for applications that
|
||||
perform a lot of IO that want to not block unnecessarily, yet still want to
|
||||
have linear & readable code (i..e. avoid callbacks).
|
||||
|
||||
%package container
|
||||
Summary: Run-time component of boost container library
|
||||
|
||||
|
|
@ -197,7 +224,8 @@ Summary: Run-time component of boost container library
|
|||
Boost.Container library implements several well-known containers,
|
||||
including STL containers. The aim of the library is to offer advanced
|
||||
features not present in standard containers or to offer the latest
|
||||
standard draft features for compilers that comply with C++03.
|
||||
standard draft features for compilers that don't comply with the
|
||||
latest C++ standard.
|
||||
|
||||
%package contract
|
||||
Summary: Run-time component of boost contract library
|
||||
|
|
@ -222,6 +250,7 @@ provides a sort of cooperative multitasking on a single thread.
|
|||
|
||||
%package coroutine
|
||||
Summary: Run-time component of boost coroutine library
|
||||
Requires: %{name}-context%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description coroutine
|
||||
Run-time support for Boost.Coroutine, a library that provides
|
||||
|
|
@ -241,6 +270,8 @@ on generic programming concepts.
|
|||
%if %{with context}
|
||||
%package fiber
|
||||
Summary: Run-time component of boost fiber library
|
||||
Requires: %{name}-context%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-filesystem%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description fiber
|
||||
|
||||
|
|
@ -250,7 +281,9 @@ micro-/userland-threads (fibers) scheduled cooperatively.
|
|||
|
||||
%package filesystem
|
||||
Summary: Run-time component of boost filesystem library
|
||||
Requires: %{name}-system%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-atomic%{?_isa} = %{version}-%{release}
|
||||
Obsoletes: boost-system < 1.90.0
|
||||
Conflicts: boost-system < 1.90.0
|
||||
|
||||
%description filesystem
|
||||
|
||||
|
|
@ -278,6 +311,7 @@ stream buffers and i/o filters.
|
|||
|
||||
%package json
|
||||
Summary: Run-time component of boost json library
|
||||
Requires: %{name}-container%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description json
|
||||
|
||||
|
|
@ -288,8 +322,9 @@ simply "JSON"
|
|||
%package locale
|
||||
Summary: Run-time component of boost locale library
|
||||
Requires: %{name}-chrono%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-system%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-thread%{?_isa} = %{version}-%{release}
|
||||
Obsoletes: boost-system < 1.90.0
|
||||
Conflicts: boost-system < 1.90.0
|
||||
|
||||
%description locale
|
||||
|
||||
|
|
@ -298,25 +333,28 @@ handling tools.
|
|||
|
||||
%package log
|
||||
Summary: Run-time component of boost logging library
|
||||
Requires: %{name}-atomic%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-chrono%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-filesystem%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-regex%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-thread%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description log
|
||||
|
||||
Boost.Log library aims to make logging significantly easier for the
|
||||
application developer. It provides a wide range of out-of-the-box
|
||||
tools along with public interfaces for extending the library.
|
||||
Run-time support for Boost.Log, a modular and extensible logging
|
||||
library that supports both narrow-character and wide-character logging.
|
||||
|
||||
%package math
|
||||
Summary: Math functions for boost TR1 library
|
||||
Summary: Run-time component of boost math toolkit
|
||||
|
||||
%description math
|
||||
|
||||
Run-time support for C99 and C++ TR1 C-style Functions from the math
|
||||
portion of Boost.TR1.
|
||||
Run-time support for Boost.Math, including floating-point utilities,
|
||||
specific width floating-point types, mathematical constants,
|
||||
statistical distributions, special functions, and more.
|
||||
|
||||
%package nowide
|
||||
Summary: Standard library functions with UTF-8 API on Windows
|
||||
# Added for F33, remove for F35:
|
||||
Obsoletes: boost-nowide <= 0.20190814
|
||||
|
||||
%description nowide
|
||||
|
||||
|
|
@ -339,6 +377,14 @@ support for the NumPy extension of the Boost Python Library for Python 3.
|
|||
|
||||
%endif
|
||||
|
||||
%package process
|
||||
Summary: Run-time component of boost process library
|
||||
|
||||
%description process
|
||||
|
||||
Run-time support of the Boost.Process library, for managing system
|
||||
processes.
|
||||
|
||||
%package program-options
|
||||
Summary: Run-time component of boost program_options library
|
||||
|
||||
|
|
@ -390,14 +436,6 @@ Summary: Run-time component of boost stacktrace library
|
|||
|
||||
Run-time component of the Boost stacktrace library.
|
||||
|
||||
%package system
|
||||
Summary: Run-time component of boost system support library
|
||||
|
||||
%description system
|
||||
|
||||
Run-time component of Boost operating system support library, including
|
||||
the diagnostics support that is part of the C++11 standard library.
|
||||
|
||||
%package test
|
||||
Summary: Run-time component of boost test library
|
||||
|
||||
|
|
@ -408,7 +446,8 @@ program execution monitoring.
|
|||
|
||||
%package thread
|
||||
Summary: Run-time component of boost thread library
|
||||
Requires: %{name}-system%{?_isa} = %{version}-%{release}
|
||||
Obsoletes: boost-system < 1.90.0
|
||||
Conflicts: boost-system < 1.90.0
|
||||
|
||||
%description thread
|
||||
|
||||
|
|
@ -420,7 +459,8 @@ data specific to individual threads.
|
|||
%package timer
|
||||
Summary: Run-time component of boost timer library
|
||||
Requires: %{name}-chrono%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-system%{?_isa} = %{version}-%{release}
|
||||
Obsoletes: boost-system < 1.90.0
|
||||
Conflicts: boost-system < 1.90.0
|
||||
|
||||
%description timer
|
||||
|
||||
|
|
@ -431,20 +471,31 @@ with as little as one #include and one additional line of code.
|
|||
%package type_erasure
|
||||
Summary: Run-time component of boost type erasure library
|
||||
Requires: %{name}-chrono%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-system%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-thread%{?_isa} = %{version}-%{release}
|
||||
Obsoletes: boost-system < 1.90.0
|
||||
Conflicts: boost-system < 1.90.0
|
||||
|
||||
%description type_erasure
|
||||
|
||||
The Boost.TypeErasure library provides runtime polymorphism in C++
|
||||
that is more flexible than that provided by the core language.
|
||||
|
||||
%package url
|
||||
Summary: Runtime component of boost URL library
|
||||
|
||||
%description url
|
||||
|
||||
Run-time support for the Boost.URL library, a Standards conforming
|
||||
library for parsing Uniform Resource Locators.
|
||||
|
||||
%package wave
|
||||
Summary: Run-time component of boost C99/C++ preprocessing library
|
||||
Requires: %{name}-chrono%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-date-time%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-filesystem%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-system%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-thread%{?_isa} = %{version}-%{release}
|
||||
Obsoletes: boost-system < 1.90.0
|
||||
Conflicts: boost-system < 1.90.0
|
||||
|
||||
%description wave
|
||||
|
||||
|
|
@ -462,15 +513,10 @@ Requires: libquadmath-devel%{?_isa}
|
|||
%if %{with python3}
|
||||
# Require boost-numpy3 here, because main boost metapackage only Recommends: it
|
||||
Requires: %{name}-numpy3%{?_isa} = %{version}-%{release}
|
||||
# Added for F33, remove for F35:
|
||||
Obsoletes: %{name}-python3-devel < 1.69.0-20
|
||||
# Old Provides: for compatibility with packages that still require it.
|
||||
Provides: %{name}-python3-devel = %{version}-%{release}
|
||||
Provides: %{name}-python3-devel%{?_isa} = %{version}-%{release}
|
||||
%endif
|
||||
# Added for F33, remove for F35:
|
||||
Obsoletes: boost-nowide-devel <= 0.20190814
|
||||
Provides: boost-nowide-devel = %{version}
|
||||
Provides: boost-nowide-devel%{?_isa} = %{version}
|
||||
|
||||
%description devel
|
||||
Headers and shared object symbolic links for the Boost C++ libraries.
|
||||
|
|
@ -657,10 +703,6 @@ Tools for working with Boost documentation in BoostBook or QuickBook format.
|
|||
|
||||
%package b2
|
||||
Summary: A low-level build tool
|
||||
# Added for F33, remove for F35:
|
||||
Obsoletes: boost-jam < 1.73.0
|
||||
Provides: boost-jam = %{version}
|
||||
Provides: boost-jam%{?_isa} = %{version}
|
||||
|
||||
%description b2
|
||||
B2 (formerly Boost.Jam) is the low-level build engine tool for Boost.Build.
|
||||
|
|
@ -668,19 +710,8 @@ Historically, B2 was based on on FTJam and on Perforce Jam but has grown
|
|||
a number of significant features and is now developed independently.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{toplev_dirname}
|
||||
find ./boost -name '*.hpp' -perm /111 | xargs chmod a-x
|
||||
|
||||
%patch15 -p0
|
||||
%patch51 -p1
|
||||
%patch96 -p1
|
||||
%patch97 -p1
|
||||
%patch99 -p1
|
||||
%patch88 -p1
|
||||
%patch94 -p1
|
||||
%patch98 -p1
|
||||
%patch100 -p1
|
||||
%patch101 -p1
|
||||
%autosetup -n %{toplev_dirname} -p1
|
||||
find ./boost -name '*.hpp' -perm /111 | xargs --no-run-if-empty chmod a-x
|
||||
|
||||
%build
|
||||
%set_build_flags
|
||||
|
|
@ -714,7 +745,7 @@ using python : %{python3_version} : /usr/bin/python3 : /usr/include/python%{pyth
|
|||
EOF
|
||||
%endif
|
||||
|
||||
./bootstrap.sh --with-toolset=%{toolchain} --with-icu
|
||||
./bootstrap.sh --with-toolset=%{toolchain} --with-icu --prefix=$RPM_BUILD_ROOT%{_prefix}
|
||||
|
||||
# N.B. When we build the following with PCH, parts of boost (math
|
||||
# library in particular) end up being built second time during
|
||||
|
|
@ -731,20 +762,12 @@ echo ============================= build serial ==================
|
|||
variant=release threading=multi debug-symbols=on pch=off \
|
||||
%if %{with python3}
|
||||
python=%{python3_version} \
|
||||
%endif
|
||||
%if !%{with stacktrace_from_exception}
|
||||
boost.stacktrace.from_exception=off \
|
||||
%endif
|
||||
stage
|
||||
|
||||
# See libs/thread/build/Jamfile.v2 for where this file comes from.
|
||||
if [ $(find serial -type f -name has_atomic_flag_lockfree \
|
||||
-print -quit | wc -l) -ne 0 ]; then
|
||||
DEF=D
|
||||
else
|
||||
DEF=U
|
||||
fi
|
||||
|
||||
m4 -${DEF}HAS_ATOMIC_FLAG_LOCKFREE -DVERSION=%{version} \
|
||||
%{SOURCE1} > $(basename %{SOURCE1})
|
||||
|
||||
# Build MPI parts of Boost with OpenMPI support
|
||||
|
||||
%if %{with openmpi} || %{with mpich}
|
||||
|
|
@ -786,7 +809,7 @@ export PATH=/bin${PATH:+:}$PATH
|
|||
|
||||
echo ============================= build Boost.Build ==================
|
||||
(cd tools/build
|
||||
./bootstrap.sh --with-toolset=%{toolchain})
|
||||
./bootstrap.sh --with-toolset=%{toolchain} --prefix=$RPM_BUILD_ROOT%{_prefix})
|
||||
|
||||
%check
|
||||
:
|
||||
|
|
@ -821,12 +844,14 @@ mv ${RPM_BUILD_ROOT}${MPI_HOME}/lib/boost-python%{python3_version}/mpi.so \
|
|||
${RPM_BUILD_ROOT}%{python3_sitearch}/openmpi/boost/
|
||||
%endif
|
||||
|
||||
# Using 'b2 stage' does not fix the paths in these files, so do it manually
|
||||
sed -i -e 's|get_filename_component(_BOOST_INCLUDEDIR "${_BOOST_CMAKEDIR}/.*"|get_filename_component(_BOOST_INCLUDEDIR "${_BOOST_CMAKEDIR}/../../../../include"|' ${RPM_BUILD_ROOT}${MPI_HOME}/lib/cmake/*/*-config.cmake
|
||||
|
||||
# Remove generic parts of boost that were built for dependencies.
|
||||
rm -f ${RPM_BUILD_ROOT}${MPI_HOME}/lib/libboost_{python,{w,}serialization}*
|
||||
rm -f ${RPM_BUILD_ROOT}${MPI_HOME}/lib/libboost_numpy*
|
||||
|
||||
# Remove cmake files (some of these are duplicates of the generic bits anyway).
|
||||
rm -r ${RPM_BUILD_ROOT}${MPI_HOME}/lib/cmake
|
||||
rm -rf ${RPM_BUILD_ROOT}${MPI_HOME}/lib/cmake/boost_{python,{w,}serialization}*
|
||||
rm -rf ${RPM_BUILD_ROOT}${MPI_HOME}/lib/cmake/boost_numpy*
|
||||
|
||||
%{_openmpi_unload}
|
||||
export PATH=/bin${PATH:+:}$PATH
|
||||
|
|
@ -850,12 +875,14 @@ mv ${RPM_BUILD_ROOT}${MPI_HOME}/lib/boost-python%{python3_version}/mpi.so \
|
|||
${RPM_BUILD_ROOT}%{python3_sitearch}/mpich/boost/
|
||||
%endif
|
||||
|
||||
# Using 'b2 stage' does not fix the paths in these files, so do it manually
|
||||
sed -i -e 's|get_filename_component(_BOOST_INCLUDEDIR "${_BOOST_CMAKEDIR}/.*"|get_filename_component(_BOOST_INCLUDEDIR "${_BOOST_CMAKEDIR}/../../../../include"|' ${RPM_BUILD_ROOT}${MPI_HOME}/lib/cmake/*/*-config.cmake
|
||||
|
||||
# Remove generic parts of boost that were built for dependencies.
|
||||
rm -f ${RPM_BUILD_ROOT}${MPI_HOME}/lib/libboost_{python,{w,}serialization}*
|
||||
rm -f ${RPM_BUILD_ROOT}${MPI_HOME}/lib/libboost_numpy*
|
||||
|
||||
# Remove cmake files (some of these are duplicates of the generic bits anyway).
|
||||
rm -r ${RPM_BUILD_ROOT}${MPI_HOME}/lib/cmake
|
||||
rm -rf ${RPM_BUILD_ROOT}${MPI_HOME}/lib/cmake/boost_{python,{w,}serialization}*
|
||||
rm -rf ${RPM_BUILD_ROOT}${MPI_HOME}/lib/cmake/boost_numpy*
|
||||
|
||||
%{_mpich_unload}
|
||||
export PATH=/bin${PATH:+:}$PATH
|
||||
|
|
@ -873,21 +900,37 @@ echo ============================= install serial ==================
|
|||
variant=release threading=multi debug-symbols=on pch=off \
|
||||
%if %{with python3}
|
||||
python=%{python3_version} \
|
||||
%endif
|
||||
%if !%{with stacktrace_from_exception}
|
||||
boost.stacktrace.from_exception=off \
|
||||
%endif
|
||||
install
|
||||
|
||||
# Override DSO symlink with a linker script. See the linker script
|
||||
# itself for details of why we need to do this.
|
||||
[ -f $RPM_BUILD_ROOT%{_libdir}/libboost_thread.so ] # Must be present
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/libboost_thread.so
|
||||
install -p -m 644 $(basename %{SOURCE1}) $RPM_BUILD_ROOT%{_libdir}/
|
||||
cat > $RPM_BUILD_ROOT%{_libdir}/libboost_system.so << EOT
|
||||
/* GNU ld script
|
||||
|
||||
# Remove cmake files until we know somebody wants them.
|
||||
rm -r $RPM_BUILD_ROOT/%{_libdir}/cmake
|
||||
There is no runtime library for Boost.System.
|
||||
This empty linker script exists to support Fedora packages which use
|
||||
-lboost_system when linking and so require a library with that name.
|
||||
|
||||
This linker script will be remove in a future Fedora release.
|
||||
*/
|
||||
EOT
|
||||
chmod 644 $RPM_BUILD_ROOT%{_libdir}/libboost_system.so
|
||||
|
||||
echo ============================= install Boost.Build ==================
|
||||
(cd tools/build
|
||||
./b2 --prefix=$RPM_BUILD_ROOT%{_prefix} install
|
||||
|
||||
# Somewhere along the line the boost-build install directory became b2
|
||||
# which seems not so great for our purposes, fix that up
|
||||
mv $RPM_BUILD_ROOT%{_datadir}/b2 $RPM_BUILD_ROOT%{_datadir}/boost-build
|
||||
|
||||
# but make a symlink so b2 knows where to look
|
||||
pushd $RPM_BUILD_ROOT%{_datadir}/
|
||||
ln -s ./boost-build b2
|
||||
popd
|
||||
|
||||
# Fix some permissions
|
||||
chmod +x $RPM_BUILD_ROOT%{_datadir}/boost-build/src/tools/doxproc.py
|
||||
# Fix shebang using unversioned python
|
||||
|
|
@ -896,7 +939,7 @@ echo ============================= install Boost.Build ==================
|
|||
rm $RPM_BUILD_ROOT%{_datadir}/boost-build/src/tools/doxygen/windows-paths-check.hpp
|
||||
rm -f $RPM_BUILD_ROOT%{_datadir}/boost-build/src/tools/doxygen/windows-paths-check.hpp
|
||||
# Install the manual page
|
||||
%{__install} -p -m 644 %{SOURCE2} -D $RPM_BUILD_ROOT%{_mandir}/man1/b2.1
|
||||
%{__install} -p -m 644 %{SOURCE1} -D $RPM_BUILD_ROOT%{_mandir}/man1/b2.1
|
||||
)
|
||||
|
||||
echo ============================= install Boost.QuickBook ==================
|
||||
|
|
@ -972,6 +1015,11 @@ rm -f tmp-doc-files-to-be-installed
|
|||
rm -f tmp-doc-directories
|
||||
%{__install} -p -m 644 -t $EXAMPLESPATH LICENSE_1_0.txt
|
||||
|
||||
# The predef_check utility doesn't seem useful to package.
|
||||
(cd $RPM_BUILD_ROOT/%{_datadir}
|
||||
rm boost_predef/tools/check/*
|
||||
rm boost_predef/build.jam
|
||||
)
|
||||
|
||||
%post doctools
|
||||
CATALOG=%{_sysconfdir}/xml/catalog
|
||||
|
|
@ -1006,10 +1054,19 @@ fi
|
|||
%license LICENSE_1_0.txt
|
||||
%{_libdir}/libboost_atomic.so.%{sonamever}
|
||||
|
||||
%files charconv
|
||||
%license LICENSE_1_0.txt
|
||||
%{_libdir}/libboost_charconv.so.%{sonamever}
|
||||
|
||||
%files chrono
|
||||
%license LICENSE_1_0.txt
|
||||
%{_libdir}/libboost_chrono.so.%{sonamever}
|
||||
|
||||
%files cobalt
|
||||
%license LICENSE_1_0.txt
|
||||
%{_libdir}/libboost_cobalt.so.%{sonamever}
|
||||
%{_libdir}/libboost_cobalt_io.so.%{sonamever}
|
||||
|
||||
%files container
|
||||
%license LICENSE_1_0.txt
|
||||
%{_libdir}/libboost_container.so.%{sonamever}
|
||||
|
|
@ -1065,16 +1122,10 @@ fi
|
|||
%license LICENSE_1_0.txt
|
||||
%{_libdir}/libboost_math_c99.so.%{sonamever}
|
||||
%{_libdir}/libboost_math_c99f.so.%{sonamever}
|
||||
%ifnarch ppc64 ppc64le
|
||||
# long double not supported for this platform
|
||||
%{_libdir}/libboost_math_c99l.so.%{sonamever}
|
||||
%endif
|
||||
%{_libdir}/libboost_math_c99l.so.%{sonamever}
|
||||
%{_libdir}/libboost_math_tr1.so.%{sonamever}
|
||||
%{_libdir}/libboost_math_tr1f.so.%{sonamever}
|
||||
%ifnarch ppc64 ppc64le
|
||||
# long double not supported for this platform
|
||||
%{_libdir}/libboost_math_tr1l.so.%{sonamever}
|
||||
%endif
|
||||
%{_libdir}/libboost_math_tr1l.so.%{sonamever}
|
||||
|
||||
%files nowide
|
||||
%license LICENSE_1_0.txt
|
||||
|
|
@ -1086,6 +1137,10 @@ fi
|
|||
%{_libdir}/libboost_numpy%{python3_version_nodots}.so.%{sonamever}
|
||||
%endif
|
||||
|
||||
%files process
|
||||
%license LICENSE_1_0.txt
|
||||
%{_libdir}/libboost_process.so.%{sonamever}
|
||||
|
||||
%files test
|
||||
%license LICENSE_1_0.txt
|
||||
%{_libdir}/libboost_prg_exec_monitor.so.%{sonamever}
|
||||
|
|
@ -1119,10 +1174,9 @@ fi
|
|||
%{_libdir}/libboost_stacktrace_addr2line.so.%{sonamever}
|
||||
%{_libdir}/libboost_stacktrace_basic.so.%{sonamever}
|
||||
%{_libdir}/libboost_stacktrace_noop.so.%{sonamever}
|
||||
|
||||
%files system
|
||||
%license LICENSE_1_0.txt
|
||||
%{_libdir}/libboost_system.so.%{sonamever}
|
||||
%if %{with stacktrace_from_exception}
|
||||
%{_libdir}/libboost_stacktrace_from_exception.so.%{sonamever}
|
||||
%endif
|
||||
|
||||
%files thread
|
||||
%license LICENSE_1_0.txt
|
||||
|
|
@ -1136,6 +1190,10 @@ fi
|
|||
%license LICENSE_1_0.txt
|
||||
%{_libdir}/libboost_type_erasure.so.%{sonamever}
|
||||
|
||||
%files url
|
||||
%license LICENSE_1_0.txt
|
||||
%{_libdir}/libboost_url.so.%{sonamever}
|
||||
|
||||
%files wave
|
||||
%license LICENSE_1_0.txt
|
||||
%{_libdir}/libboost_wave.so.%{sonamever}
|
||||
|
|
@ -1153,8 +1211,12 @@ fi
|
|||
%files devel
|
||||
%license LICENSE_1_0.txt
|
||||
%{_includedir}/%{name}
|
||||
%{_libdir}/cmake
|
||||
%{_libdir}/libboost_atomic.so
|
||||
%{_libdir}/libboost_charconv.so
|
||||
%{_libdir}/libboost_chrono.so
|
||||
%{_libdir}/libboost_cobalt.so
|
||||
%{_libdir}/libboost_cobalt_io.so
|
||||
%{_libdir}/libboost_container.so
|
||||
%{_libdir}/libboost_contract.so
|
||||
%if %{with context}
|
||||
|
|
@ -1174,18 +1236,15 @@ fi
|
|||
%{_libdir}/libboost_log_setup.so
|
||||
%{_libdir}/libboost_math_tr1.so
|
||||
%{_libdir}/libboost_math_tr1f.so
|
||||
%ifnarch ppc64 ppc64le
|
||||
%{_libdir}/libboost_math_tr1l.so
|
||||
%endif
|
||||
%{_libdir}/libboost_math_c99.so
|
||||
%{_libdir}/libboost_math_c99f.so
|
||||
%ifnarch ppc64 ppc64le
|
||||
%{_libdir}/libboost_math_c99l.so
|
||||
%endif
|
||||
%{_libdir}/libboost_nowide.so
|
||||
%if %{with python3}
|
||||
%{_libdir}/libboost_numpy%{python3_version_nodots}.so
|
||||
%endif
|
||||
%{_libdir}/libboost_process.so
|
||||
%{_libdir}/libboost_prg_exec_monitor.so
|
||||
%{_libdir}/libboost_unit_test_framework.so
|
||||
%{_libdir}/libboost_program_options.so
|
||||
|
|
@ -1199,10 +1258,14 @@ fi
|
|||
%{_libdir}/libboost_stacktrace_addr2line.so
|
||||
%{_libdir}/libboost_stacktrace_basic.so
|
||||
%{_libdir}/libboost_stacktrace_noop.so
|
||||
%if %{with stacktrace_from_exception}
|
||||
%{_libdir}/libboost_stacktrace_from_exception.so
|
||||
%endif
|
||||
%{_libdir}/libboost_system.so
|
||||
%{_libdir}/libboost_thread.so
|
||||
%{_libdir}/libboost_timer.so
|
||||
%{_libdir}/libboost_type_erasure.so
|
||||
%{_libdir}/libboost_url.so
|
||||
%{_libdir}/libboost_wave.so
|
||||
|
||||
%files static
|
||||
|
|
@ -1224,8 +1287,11 @@ fi
|
|||
|
||||
%files openmpi-devel
|
||||
%license LICENSE_1_0.txt
|
||||
%{_libdir}/openmpi/lib/cmake
|
||||
%{_libdir}/openmpi/lib/libboost_mpi.so
|
||||
%{_libdir}/openmpi/lib/libboost_graph.so
|
||||
%{_libdir}/openmpi/lib/libboost_graph_parallel.so
|
||||
%{_libdir}/openmpi/lib/libboost_container.so
|
||||
|
||||
%if %{with python3}
|
||||
|
||||
|
|
@ -1242,7 +1308,9 @@ fi
|
|||
|
||||
%files graph-openmpi
|
||||
%license LICENSE_1_0.txt
|
||||
%{_libdir}/openmpi/lib/libboost_graph.so.%{sonamever}
|
||||
%{_libdir}/openmpi/lib/libboost_graph_parallel.so.%{sonamever}
|
||||
%{_libdir}/openmpi/lib/libboost_container.so.%{sonamever}
|
||||
|
||||
%endif
|
||||
|
||||
|
|
@ -1255,8 +1323,11 @@ fi
|
|||
|
||||
%files mpich-devel
|
||||
%license LICENSE_1_0.txt
|
||||
%{_libdir}/mpich/lib/cmake
|
||||
%{_libdir}/mpich/lib/libboost_mpi.so
|
||||
%{_libdir}/mpich/lib/libboost_graph.so
|
||||
%{_libdir}/mpich/lib/libboost_graph_parallel.so
|
||||
%{_libdir}/mpich/lib/libboost_container.so
|
||||
|
||||
%if %{with python3}
|
||||
|
||||
|
|
@ -1268,18 +1339,20 @@ fi
|
|||
%files mpich-python3-devel
|
||||
%license LICENSE_1_0.txt
|
||||
%{_libdir}/mpich/lib/libboost_mpi_python%{python3_version_nodots}.so
|
||||
|
||||
%endif
|
||||
|
||||
%files graph-mpich
|
||||
%license LICENSE_1_0.txt
|
||||
%{_libdir}/mpich/lib/libboost_graph.so.%{sonamever}
|
||||
%{_libdir}/mpich/lib/libboost_graph_parallel.so.%{sonamever}
|
||||
%{_libdir}/mpich/lib/libboost_container.so.%{sonamever}
|
||||
|
||||
%endif
|
||||
|
||||
%files build
|
||||
%license LICENSE_1_0.txt
|
||||
%{_datadir}/%{name}-build/
|
||||
%{_datadir}/b2
|
||||
|
||||
%files doctools
|
||||
%license LICENSE_1_0.txt
|
||||
|
|
@ -1292,6 +1365,206 @@ fi
|
|||
%{_mandir}/man1/b2.1*
|
||||
|
||||
%changelog
|
||||
* Thu Jan 15 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 1.90.0-4
|
||||
- Add dependencies on new subpackages to metapackage
|
||||
|
||||
* Tue Jan 13 2026 Jonathan Wakely <jwakely@fedoraproject.org> - 1.90.0-3
|
||||
- Fix libboost_system.so linker script to avoid ldcondig warning
|
||||
|
||||
* Mon Jan 12 2026 Jonathan Wakely <jwakely@fedoraproject.org> - 1.90.0-2
|
||||
- Add patch for boost/range/detail/any_iterator_interface.hpp
|
||||
|
||||
* Sat Jan 10 2026 Jonathan Wakely <jwakely@fedoraproject.org> - 1.90.0-1
|
||||
- Rebase to 1.90.0
|
||||
- See https://fedoraproject.org/wiki/Changes/F44Boost189
|
||||
- Drop boost-system subpackage and libboost_thread.so linker script
|
||||
- Add new boost-charconv, boost-cobalt, and boost-process subpackages
|
||||
|
||||
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 1.83.0-17
|
||||
- Rebuilt for Python 3.14.0rc3 bytecode
|
||||
|
||||
* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 1.83.0-16
|
||||
- Rebuilt for Python 3.14.0rc2 bytecode
|
||||
|
||||
* Tue Aug 05 2025 František Zatloukal <fzatlouk@redhat.com> - 1.83.0-15
|
||||
- Rebuilt for icu 77.1
|
||||
|
||||
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.83.0-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Tue Jun 03 2025 Python Maint <python-maint@redhat.com> - 1.83.0-13
|
||||
- Rebuilt for Python 3.14
|
||||
|
||||
* Sun Jan 26 2025 Wolfgang Stöggl <c72578@yahoo.de> - 1.83.0-12
|
||||
- Add boost-1.83-fix-no-member-named_that_error.patch
|
||||
|
||||
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.83.0-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Tue Dec 24 2024 Sandro <devel@penguinpee.nl> - 1.83.0-10
|
||||
- Backport patches for NumPy 2.x
|
||||
|
||||
* Fri Dec 06 2024 Pete Walter <pwalter@fedoraproject.org> - 1.83.0-9
|
||||
- Rebuild for ICU 76
|
||||
|
||||
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.83.0-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Sat Jun 08 2024 Python Maint <python-maint@redhat.com> - 1.83.0-7
|
||||
- Rebuilt for Python 3.13
|
||||
|
||||
* Thu Jun 06 2024 Jonathan Wakely <jwakely@fedoraproject.org> - 1.83.0-6
|
||||
- Add missing Requires for rpminspect errors.
|
||||
|
||||
* Sun Jun 02 2024 Songsong Zhang <U2FsdGVkX1@gmail.com> - 1.83.0-6
|
||||
- Backport patch to fix RISC-V functions missing
|
||||
|
||||
* Sat May 25 2024 Kefu Chai <tchaikov@fedoraproject.org> - 1.83.0-5
|
||||
- Add patch to fix Boost.Math bug where float_next(+INF) and float_prior(-INF)
|
||||
returns NaN, but they should return +INF and -INF respectively.
|
||||
See https://github.com/boostorg/math/issues/1132 and its fix at
|
||||
|
||||
* Sun May 05 2024 Kefu Chai <tchaikov@fedoraproject.org> - 1.83.0-4
|
||||
- Add patch for Boost.Multiprecision bug
|
||||
See https://github.com/boostorg/multiprecision/pull/618
|
||||
|
||||
* Wed Jan 31 2024 Pete Walter <pwalter@fedoraproject.org> - 1.83.0-3
|
||||
- Rebuild for ICU 74
|
||||
|
||||
* Tue Jan 23 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.83.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.83.0-1
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Wed Dec 06 2023 Patrick Palka <ppalka@redhat.com> - 1.83.0-0
|
||||
- Rebase to 1.83.0
|
||||
- See https://fedoraproject.org/wiki/Changes/F40Boost183
|
||||
- Drop patch for accumulators library that has since been applied upstream.
|
||||
- Fix spurious Boost.Regex test failures.
|
||||
|
||||
* Sun Oct 29 2023 Orion Poplawski <orion@nwra.com> - 1.81.0-10
|
||||
- Rebuild for openmpi 5.0.0, drops support for i686
|
||||
|
||||
* Tue Aug 29 2023 Tom Callaway <spot@fedoraproject.org> - 1.81.0-9
|
||||
- apply upstream fixes for failing random tests
|
||||
|
||||
* Sun Aug 20 2023 Kefu Chai <tchaikov@fedoraproject.org> - 1.81.0-8
|
||||
- Add patch for Boost.Accumulators bug
|
||||
See https://github.com/boostorg/accumulators/pull/54
|
||||
|
||||
* Wed Aug 2 2023 Tom Callaway <spot@fedoraproject.org> - 1.81.0-7
|
||||
- add symlink for b2 files
|
||||
|
||||
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.81.0-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Tue Jul 11 2023 František Zatloukal <fzatlouk@redhat.com> - 1.81.0-5
|
||||
- Rebuilt for ICU 73.2
|
||||
|
||||
* Thu Jul 06 2023 Jonathan Wakely <jwakely@fedoraproject.org> - 1.81.0-4
|
||||
- Update License for SPDX migration
|
||||
|
||||
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 1.81.0-3
|
||||
- Rebuilt for Python 3.12
|
||||
|
||||
* Fri May 05 2023 Nianqing Yao <imbearchild@outlook.com> - 1.81.0-3
|
||||
- Fix build for riscv64
|
||||
See https://github.com/fedora-riscv/boost/tree/f38-rv64
|
||||
|
||||
* Wed Mar 15 2023 Jonathan Wakely <jwakely@fedoraproject.org> - 1.81.0-2
|
||||
- Change spec file to use autospec for applying patches
|
||||
|
||||
* Wed Mar 15 2023 Jonathan Wakely <jwakely@fedoraproject.org> - 1.81.0-1
|
||||
- Add patch for Boost.Phoenix bugs (#2178210)
|
||||
|
||||
* Mon Feb 20 2023 Thomas Rodgers <trodgers@redhat.com> - 1.81.0-0
|
||||
- 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, rename to boost_build on install
|
||||
|
||||
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.78.0-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Sat Dec 31 2022 Pete Walter <pwalter@fedoraproject.org> - 1.78.0-10
|
||||
- Rebuild for ICU 72
|
||||
|
||||
* Mon Aug 01 2022 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.78.0-9
|
||||
- Rebuilt for ICU 71.1
|
||||
|
||||
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.78.0-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Thu Jul 14 2022 Jonathan Wakely <jwakely@redhat.com> - 1.78.0-7
|
||||
- Add boost-json to umbrella package
|
||||
|
||||
* Fri Jun 24 2022 Jonathan Wakely <jwakely@redhat.com> - 1.78.0-6
|
||||
- Restore Provides for boost-python3-devel (#2100748)
|
||||
|
||||
* Wed Jun 22 2022 Laurent Rineau <laurent.rineau@cgal.org> - 1.78.0-5
|
||||
- Fix the CMake config file for openmpi and mpich
|
||||
|
||||
* Tue Jun 21 2022 Jonathan Wakely <jwakely@redhat.com> - 1.78.0-4
|
||||
- Remove old Obsoletes tags
|
||||
|
||||
* Tue Jun 14 2022 Python Maint <python-maint@redhat.com> - 1.78.0-3
|
||||
- Rebuilt for Python 3.11
|
||||
|
||||
* Tue Jun 14 2022 Laurent Rineau <laurent.rineau@cgal.org> - 1.78.0-2
|
||||
- Re-add the CMake config file provided by Boost
|
||||
|
||||
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.78.0-1
|
||||
- Rebuilt for Python 3.11
|
||||
|
||||
* Fri Apr 29 2022 Thomas Rodgers <trodgers@redhat.com> - 1.78.0-0
|
||||
- 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
|
||||
|
||||
* Wed Apr 27 2022 Thomas Rodgers <trodgers@redhat.com> - 1.76.0-13
|
||||
- Add missing boost-1.76.0-enum_type_object-type-python-3.11.patch file
|
||||
|
||||
* Tue Apr 26 2022 Thomas Rodgers <trodgers@redhat.com> - 1.76.0-12
|
||||
- Merged https://src.fedoraproject.org/rpms/boost/pull-request/13 (#204336)
|
||||
|
||||
* Tue Apr 26 2022 Thomas Rodgers <trodgers@redhat.com> - 1.76.0-11
|
||||
- Add BuildRequires: libzstd-devel to fix (#2042336)
|
||||
|
||||
* Thu Mar 31 2022 Jonathan Wakely <jwakely@redhat.com> - 1.76.0-10
|
||||
- Add patch to fix XML validation errors in ptr_container docs
|
||||
|
||||
* Wed Feb 2 2022 Thomas Rodgers <trodgers@redhat.com> - 1.76.0-9
|
||||
- Add patch to fix narrowing conversions on ppc64le
|
||||
https://github.com/boostorg/interval/issues/29
|
||||
|
||||
* Tue Feb 1 2022 Laurent Rineau <laurent.rineau@cgal.org> - 1.76.0-8
|
||||
- Add patch to fix Boost Multiprecision on ppc64le
|
||||
https://github.com/boostorg/multiprecision/issues/419
|
||||
- Acknowledge the change of the ABI of ppc64le with long double.
|
||||
|
||||
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.76.0-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Wed Sep 01 2021 Jonathan Wakely <jwakely@redhat.com> - 1.76.0-6
|
||||
- Add patch to fix CI failure
|
||||
|
||||
* Wed Sep 01 2021 Jonathan Wakely <jwakely@redhat.com> - 1.76.0-5
|
||||
- Make boost-python3 depend on specific 3.X version (#1896713)
|
||||
|
||||
|
|
@ -2303,7 +2576,7 @@ fi
|
|||
- Drop obsolete Obsoletes: boost-python and boost-doc <= 1.30.2
|
||||
|
||||
* Tue Jan 12 2010 Benjamin Kosnik <bkoz@redhat.com> - 1.41.0-1
|
||||
- Don't package generated debug libs, even with
|
||||
- Don't package generated debug libs, even with
|
||||
(-DCMAKE_BUILD_TYPE=RelWithDebInfo | Release).
|
||||
- Update and include boost-cmake-soname.patch.
|
||||
- Uncomment ctest.
|
||||
|
|
|
|||
|
|
@ -1,21 +0,0 @@
|
|||
changequote(`[', `]')dnl
|
||||
/* GNU ld script
|
||||
|
||||
Boost.Thread header files pull in enough of Boost.System that
|
||||
symbols from the latter library are referenced by a compiled object
|
||||
that includes Boost.Thread headers. libboost_system-mt.so is among
|
||||
libboost_thread-mt.so's DT_NEEDED, but program linker requires that
|
||||
missing symbols are satisfied by direct dependency, not by a
|
||||
transitive one. Hence this linker script, which brings in the
|
||||
Boost.System DSO. */
|
||||
|
||||
INPUT(libboost_thread.so.VERSION)
|
||||
INPUT(libboost_system.so.VERSION)
|
||||
ifdef([HAS_ATOMIC_FLAG_LOCKFREE],[],
|
||||
[
|
||||
/* If the given architecture doesn't have lock-free implementation of
|
||||
boost::atomic_flag, the dependency on Boost.Atomic may leak from
|
||||
the header files to client binaries. */
|
||||
|
||||
INPUT(libboost_atomic.so.VERSION)
|
||||
])dnl
|
||||
|
|
@ -1,6 +1,5 @@
|
|||
summary: CI Gating Plan
|
||||
discover:
|
||||
how: fmf
|
||||
directory: tests
|
||||
execute:
|
||||
how: beakerlib
|
||||
how: tmt
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (boost_1_76_0.tar.bz2) = 5d68bed98c57e03b4cb2420d9b856e5f0669561a6142a4b0c9c8a58dc5b6b28e16ccbb16ac559c3a3198c45769a246bf996b96cb7b6a019dd15f05c2270e9429
|
||||
SHA512 (boost_1_90_0.tar.bz2) = 1c81b60f63367d7249f277f0a569c181926dcf5a725e30433dd336205f1782880489dd00df6a1a74fd107765d3ca2cd49f806788cabb7d5700a8a55927a9a199
|
||||
|
|
|
|||
|
|
@ -54,17 +54,26 @@ rlJournalStart
|
|||
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 "cd $TmpDir/BUILD/boost*"
|
||||
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 $TmpDir/BUILD/boost*/libs/$test_path/test/Jamfile* ]; then
|
||||
rlRun "cd $TmpDir/BUILD/boost*/libs/$test_path/test"
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue