Drop obsolete patch for mpi serialization make_array
Purge unused patches from repo
This commit is contained in:
parent
c54b0a0c9e
commit
6e3f05c5de
@ -1,12 +0,0 @@
|
|||||||
diff --git a/libs/math/config/has_long_double_support.cpp b/libs/math/config/has_long_double_support.cpp
|
|
||||||
index d314cf3..9022408 100644
|
|
||||||
--- a/libs/math/config/has_long_double_support.cpp
|
|
||||||
+++ b/libs/math/config/has_long_double_support.cpp
|
|
||||||
@@ -8,3 +8,7 @@
|
|
||||||
#ifdef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
|
|
||||||
#error "long double support is not supported by Boost.Math on this Plaform: the long double version of the TR1 library will not be built."
|
|
||||||
#endif
|
|
||||||
+
|
|
||||||
+int main(int argc, char *argv[]) {
|
|
||||||
+ return 0;
|
|
||||||
+}
|
|
@ -1,57 +0,0 @@
|
|||||||
--- boost_1_53_0/libs/context/src/asm/make_ppc32_sysv_elf_gas.S.orig 2013-02-11 14:03:46.631005713 -0600
|
|
||||||
+++ boost_1_53_0/libs/context/src/asm/make_ppc32_sysv_elf_gas.S 2013-02-11 14:06:52.704815403 -0600
|
|
||||||
@@ -87,12 +87,10 @@
|
|
||||||
subi %r0, %r3, 64 # reserve 64 bytes (linkage + parameter area), R4 % 16 == 0
|
|
||||||
stw %r0, 76(%r3) # save address in R3 as stack pointer for context function
|
|
||||||
|
|
||||||
- mflr %r0 # load LR
|
|
||||||
bl 1f # jump to label 1
|
|
||||||
1:
|
|
||||||
mflr %r4 # load LR into R4
|
|
||||||
addi %r4, %r4, finish - 1b # compute abs address of label finish
|
|
||||||
- mtlr %r0 # restore LR
|
|
||||||
stw %r4, 84(%r3) # save address of finish as return address for context function
|
|
||||||
# entered after context function returns
|
|
||||||
|
|
||||||
@@ -108,4 +106,5 @@
|
|
||||||
|
|
||||||
li %r3, 0 # exit code is zero
|
|
||||||
bl _exit@plt # exit application
|
|
||||||
+ .long 0 # We should never get here, so SIGILL if we do
|
|
||||||
.size make_fcontext, .-make_fcontext
|
|
||||||
|
|
||||||
--- boost_1_53_0/libs/context/src/asm/make_ppc64_sysv_elf_gas.S.orig 2013-02-11 14:03:43.726849715 -0600
|
|
||||||
+++ boost_1_53_0/libs/context/src/asm/make_ppc64_sysv_elf_gas.S 2013-02-11 14:22:48.202839078 -0600
|
|
||||||
@@ -99,21 +99,19 @@
|
|
||||||
|
|
||||||
# call align_stack, R3 contains address at 16 byte boundary after return
|
|
||||||
# == pointer to fcontext_t and address of context stack
|
|
||||||
- rlwinm %r3, %r3, 0, 0, 59
|
|
||||||
+ clrrdi %r3, %r3, 4
|
|
||||||
|
|
||||||
std %r0, 184(%r3) # save address of context stack (base) in fcontext_t
|
|
||||||
std %r4, 192(%r3) # save context stack size in fcontext_t
|
|
||||||
std %r5, 176(%r3) # save address of context function in fcontext_t
|
|
||||||
|
|
||||||
- subf %r0, %r3, 64 # 64 bytes on stack for parameter area (== 8 registers)
|
|
||||||
+ subi %r0, %r3, 64 # 64 bytes on stack for parameter area (== 8 registers)
|
|
||||||
std %r0, 152(%r3) # save the stack base
|
|
||||||
|
|
||||||
- mflr %r0 # load LR
|
|
||||||
bl 1f # jump to label 1
|
|
||||||
1:
|
|
||||||
mflr %r4 # load LR into R4
|
|
||||||
addi %r4, %r4, finish - 1b # compute abs address of label finish
|
|
||||||
- mtlr %r0 # restore LR
|
|
||||||
std %r4, 168(%r3) # save address of finish as return address for context function
|
|
||||||
# entered after context function returns
|
|
||||||
|
|
||||||
@@ -128,5 +126,7 @@
|
|
||||||
stwu %r1, -32(%r1) # allocate stack space, SP % 16 == 0
|
|
||||||
|
|
||||||
li %r3, 0 # set return value to zero
|
|
||||||
- bl _exit@plt # exit application
|
|
||||||
+ bl _exit # exit application
|
|
||||||
+ nop # nop is required by the linker
|
|
||||||
+ .long 0 # We should never get here, so SIGILL if we do
|
|
||||||
.size .make_fcontext, .-.make_fcontext
|
|
@ -1,25 +0,0 @@
|
|||||||
From f410fbd64d887e2a8824f968b0533588489b5430 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Jonathan Wakely <jwakely@redhat.com>
|
|
||||||
Date: Wed, 2 Sep 2015 13:02:12 +0100
|
|
||||||
Subject: [PATCH] Python: Fix condition for make_setter overload.
|
|
||||||
|
|
||||||
This fixes the regression caused by 42e7d7b.
|
|
||||||
|
|
||||||
Fixes #39
|
|
||||||
---
|
|
||||||
include/boost/python/data_members.hpp | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/include/boost/python/data_members.hpp b/include/boost/python/data_members.hpp
|
|
||||||
index 139bde3..5d3309c 100644
|
|
||||||
--- a/include/boost/python/data_members.hpp
|
|
||||||
+++ b/include/boost/python/data_members.hpp
|
|
||||||
@@ -305,7 +305,7 @@ inline object make_setter(D& x)
|
|
||||||
return detail::make_setter(x, default_call_policies(), is_member_pointer<D>(), 0);
|
|
||||||
}
|
|
||||||
|
|
||||||
-# if BOOST_WORKAROUND(__EDG_VERSION__, <= 238)
|
|
||||||
+# if !BOOST_WORKAROUND(__EDG_VERSION__, <= 238)
|
|
||||||
template <class D>
|
|
||||||
inline object make_setter(D const& x)
|
|
||||||
{
|
|
@ -1,106 +0,0 @@
|
|||||||
From 7da193fde1a9c1bc925ee980339f4df2e1a66fa7 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Andrey Semashev <andrey.semashev@gmail.com>
|
|
||||||
Date: Sun, 23 Aug 2015 17:27:20 +0300
|
|
||||||
Subject: [PATCH] Fixed compilation of operator<< into a record ostream, when
|
|
||||||
the operator right hand argument is not directly supported by
|
|
||||||
formatting_ostream. Fixed #11549.
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
diff --git a/include/boost/log/sources/record_ostream.hpp b/include/boost/log/sources/record_ostream.hpp
|
|
||||||
index b3c58e2..c1e8059 100644
|
|
||||||
--- a/include/boost/log/sources/record_ostream.hpp
|
|
||||||
+++ b/include/boost/log/sources/record_ostream.hpp
|
|
||||||
@@ -39,6 +39,18 @@ namespace boost {
|
|
||||||
|
|
||||||
BOOST_LOG_OPEN_NAMESPACE
|
|
||||||
|
|
||||||
+template< typename CharT >
|
|
||||||
+class basic_record_ostream;
|
|
||||||
+
|
|
||||||
+namespace aux {
|
|
||||||
+
|
|
||||||
+template< typename StreamT, typename R >
|
|
||||||
+struct enable_if_record_ostream {};
|
|
||||||
+template< typename CharT, typename R >
|
|
||||||
+struct enable_if_record_ostream< basic_record_ostream< CharT >, R > { typedef R type; };
|
|
||||||
+
|
|
||||||
+} // namespace aux
|
|
||||||
+
|
|
||||||
/*!
|
|
||||||
* \brief Logging record adapter with a streaming capability
|
|
||||||
*
|
|
||||||
@@ -174,6 +186,55 @@ typedef basic_record_ostream< char > record_ostream; //!< Convenience typ
|
|
||||||
typedef basic_record_ostream< wchar_t > wrecord_ostream; //!< Convenience typedef for wide-character logging
|
|
||||||
#endif
|
|
||||||
|
|
||||||
+// Implementation note: these operators below should be the least attractive for the compiler
|
|
||||||
+// so that user's overloads are chosen, when present. We use function template partial ordering for this purpose.
|
|
||||||
+// We also don't use perfect forwarding for the right hand argument because in ths case the generic overload
|
|
||||||
+// would be more preferred than the typical one written by users:
|
|
||||||
+//
|
|
||||||
+// record_ostream& operator<< (record_ostream& strm, my_type const& arg);
|
|
||||||
+//
|
|
||||||
+// This is because my_type rvalues require adding const to the type, which counts as a conversion that is not required
|
|
||||||
+// if there is a perfect forwarding overload.
|
|
||||||
+template< typename StreamT, typename T >
|
|
||||||
+inline typename boost::log::aux::enable_if_record_ostream< StreamT, StreamT& >::type
|
|
||||||
+operator<< (StreamT& strm, T const& value)
|
|
||||||
+{
|
|
||||||
+ typedef basic_formatting_ostream< typename StreamT::char_type > formatting_ostream_type;
|
|
||||||
+ static_cast< formatting_ostream_type& >(strm) << value;
|
|
||||||
+ return strm;
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+template< typename StreamT, typename T >
|
|
||||||
+inline typename boost::log::aux::enable_if_record_ostream< StreamT, StreamT& >::type
|
|
||||||
+operator<< (StreamT& strm, T& value)
|
|
||||||
+{
|
|
||||||
+ typedef basic_formatting_ostream< typename StreamT::char_type > formatting_ostream_type;
|
|
||||||
+ static_cast< formatting_ostream_type& >(strm) << value;
|
|
||||||
+ return strm;
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
|
|
||||||
+
|
|
||||||
+template< typename StreamT, typename T >
|
|
||||||
+inline typename boost::log::aux::enable_if_record_ostream< StreamT, StreamT& >::type
|
|
||||||
+operator<< (StreamT&& strm, T const& value)
|
|
||||||
+{
|
|
||||||
+ typedef basic_formatting_ostream< typename StreamT::char_type > formatting_ostream_type;
|
|
||||||
+ static_cast< formatting_ostream_type& >(strm) << value;
|
|
||||||
+ return strm;
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+template< typename StreamT, typename T >
|
|
||||||
+inline typename boost::log::aux::enable_if_record_ostream< StreamT, StreamT& >::type
|
|
||||||
+operator<< (StreamT&& strm, T& value)
|
|
||||||
+{
|
|
||||||
+ typedef basic_formatting_ostream< typename StreamT::char_type > formatting_ostream_type;
|
|
||||||
+ static_cast< formatting_ostream_type& >(strm) << value;
|
|
||||||
+ return strm;
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+#endif // !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
|
|
||||||
+
|
|
||||||
namespace aux {
|
|
||||||
|
|
||||||
//! Internal class that provides formatting streams for record pumps
|
|
||||||
diff --git a/include/boost/log/utility/formatting_ostream.hpp b/include/boost/log/utility/formatting_ostream.hpp
|
|
||||||
index 4345206..744acc0 100644
|
|
||||||
--- a/include/boost/log/utility/formatting_ostream.hpp
|
|
||||||
+++ b/include/boost/log/utility/formatting_ostream.hpp
|
|
||||||
@@ -779,6 +779,13 @@ void basic_formatting_ostream< CharT, TraitsT, AllocatorT >::aligned_write(const
|
|
||||||
|
|
||||||
// Implementation note: these operators below should be the least attractive for the compiler
|
|
||||||
// so that user's overloads are chosen, when present. We use function template partial ordering for this purpose.
|
|
||||||
+// We also don't use perfect forwarding for the right hand argument because in ths case the generic overload
|
|
||||||
+// would be more preferred than the typical one written by users:
|
|
||||||
+//
|
|
||||||
+// formatting_ostream& operator<< (formatting_ostream& strm, my_type const& arg);
|
|
||||||
+//
|
|
||||||
+// This is because my_type rvalues require adding const to the type, which counts as a conversion that is not required
|
|
||||||
+// if there is a perfect forwarding overload.
|
|
||||||
template< typename StreamT, typename T >
|
|
||||||
inline typename boost::log::aux::enable_if_formatting_ostream< StreamT, StreamT& >::type
|
|
||||||
operator<< (StreamT& strm, T const& value)
|
|
@ -1,25 +0,0 @@
|
|||||||
--- boost_1_64_0/tools/build/src/tools/python.jam
|
|
||||||
+++ boost_1_64_0/tools/build/src/tools/python.jam
|
|
||||||
@@ -939,14 +939,14 @@
|
|
||||||
# for a particular target OS as the default. This makes it so that we can
|
|
||||||
# select a python interpreter with only knowledge of the target OS. And hence
|
|
||||||
# can configure different Pythons based on the target OS only.
|
|
||||||
- local toolset-requirements = [ toolset.requirements ] ;
|
|
||||||
- local toolset-target-os-requirements
|
|
||||||
- = [ property.evaluate-conditionals-in-context
|
|
||||||
- [ $(toolset-requirements).raw ] : <target-os>$(target-os) ] ;
|
|
||||||
- if ! <python> in $(toolset-target-os-requirements:G)
|
|
||||||
- {
|
|
||||||
- toolset.add-requirements <target-os>$(target-os):<python>$(version:E=default) ;
|
|
||||||
- }
|
|
||||||
+ #local toolset-requirements = [ toolset.requirements ] ;
|
|
||||||
+ #local toolset-target-os-requirements
|
|
||||||
+ # = [ property.evaluate-conditionals-in-context
|
|
||||||
+ # [ $(toolset-requirements).raw ] : <target-os>$(target-os) ] ;
|
|
||||||
+ #if ! <python> in $(toolset-target-os-requirements:G)
|
|
||||||
+ #{
|
|
||||||
+ # toolset.add-requirements <target-os>$(target-os):<python>$(version:E=default) ;
|
|
||||||
+ #}
|
|
||||||
|
|
||||||
# Register the right suffix for extensions.
|
|
||||||
register-extension-suffix $(extension-suffix) : $(target-requirements) ;
|
|
@ -1,21 +0,0 @@
|
|||||||
From ab924bb5abfa4c00ad11c21632adf97c002ac481 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Jonathan Wakely <jwakely@redhat.com>
|
|
||||||
Date: Thu, 26 Jan 2017 21:52:37 +0000
|
|
||||||
Subject: [PATCH] Add header for serialization::make_array
|
|
||||||
|
|
||||||
---
|
|
||||||
include/boost/mpi/python/serialize.hpp | 1 +
|
|
||||||
1 file changed, 1 insertion(+)
|
|
||||||
|
|
||||||
diff --git a/include/boost/mpi/python/serialize.hpp b/include/boost/mpi/python/serialize.hpp
|
|
||||||
index 5f9136b..8933b34 100644
|
|
||||||
--- a/include/boost/mpi/python/serialize.hpp
|
|
||||||
+++ b/include/boost/mpi/python/serialize.hpp
|
|
||||||
@@ -36,6 +36,7 @@
|
|
||||||
|
|
||||||
#include <boost/serialization/split_free.hpp>
|
|
||||||
#include <boost/serialization/array.hpp>
|
|
||||||
+#include <boost/serialization/array_wrapper.hpp>
|
|
||||||
|
|
||||||
#include <boost/assert.hpp>
|
|
||||||
|
|
11
boost.spec
11
boost.spec
@ -35,7 +35,7 @@ Name: boost
|
|||||||
Summary: The free peer-reviewed portable C++ source libraries
|
Summary: The free peer-reviewed portable C++ source libraries
|
||||||
Version: 1.64.0
|
Version: 1.64.0
|
||||||
%global version_enc 1_64_0
|
%global version_enc 1_64_0
|
||||||
Release: 0.3%{?dist}
|
Release: 0.4%{?dist}
|
||||||
License: Boost and MIT and Python
|
License: Boost and MIT and Python
|
||||||
|
|
||||||
%global toplev_dirname %{name}_%{version_enc}
|
%global toplev_dirname %{name}_%{version_enc}
|
||||||
@ -135,12 +135,10 @@ Patch83: boost-1.63.0-dual-python-build-v2.patch
|
|||||||
|
|
||||||
# https://github.com/boostorg/mpi/pull/39
|
# https://github.com/boostorg/mpi/pull/39
|
||||||
Patch84: boost-1.64.0-mpi-get_data.patch
|
Patch84: boost-1.64.0-mpi-get_data.patch
|
||||||
# https://github.com/boostorg/mpi/pull/40
|
|
||||||
Patch85: boost-1.64.0-mpi-make_array.patch
|
|
||||||
|
|
||||||
# https://svn.boost.org/trac10/ticket/12516
|
# https://svn.boost.org/trac10/ticket/12516
|
||||||
# https://github.com/boostorg/serialization/commit/1d86261581230e2dc5d617a9b16287d326f3e229
|
# https://github.com/boostorg/serialization/commit/1d86261581230e2dc5d617a9b16287d326f3e229
|
||||||
Patch86: boost-1.64.0-serialization-make_array.patch
|
Patch85: boost-1.64.0-serialization-make_array.patch
|
||||||
|
|
||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
%bcond_with docs_generated
|
%bcond_with docs_generated
|
||||||
@ -759,7 +757,6 @@ a number of significant features and is now developed independently
|
|||||||
%patch83 -p1
|
%patch83 -p1
|
||||||
%patch84 -p2
|
%patch84 -p2
|
||||||
%patch85 -p2
|
%patch85 -p2
|
||||||
%patch86 -p2
|
|
||||||
|
|
||||||
# At least python2_version needs to be a macro so that it's visible in
|
# At least python2_version needs to be a macro so that it's visible in
|
||||||
# %%install as well.
|
# %%install as well.
|
||||||
@ -1549,6 +1546,10 @@ fi
|
|||||||
%{_mandir}/man1/bjam.1*
|
%{_mandir}/man1/bjam.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 24 2017 Björn Esser <besser82@fedoraproject.org> - 1.64.0-0.4
|
||||||
|
- Drop obsolete patch for mpi serialization make_array
|
||||||
|
- Purge unused patches from repo
|
||||||
|
|
||||||
* Mon Jul 24 2017 Björn Esser <besser82@fedoraproject.org> - 1.64.0-0.3
|
* Mon Jul 24 2017 Björn Esser <besser82@fedoraproject.org> - 1.64.0-0.3
|
||||||
- Add patch to fix make_array in serialization
|
- Add patch to fix make_array in serialization
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user