Compare commits
11 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
b4161c034b | ||
|
783423d8bf | ||
|
a1d6628b87 | ||
|
a1de2dd789 | ||
|
0ce09a361d | ||
|
85cce1266f | ||
|
e6f200d1fc | ||
|
856666bfc5 | ||
|
ece46177bc | ||
|
ab7969c7cd | ||
|
488acc0800 |
@ -0,0 +1,26 @@
|
|||||||
|
From 8787f6b0718b6b0750869ba52bc65d26db665a05 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Ananth Jasty <ajasty@cavium.com>
|
||||||
|
Date: Wed, 15 Apr 2015 17:59:47 -0700
|
||||||
|
Subject: [PATCH] Changes required for aarch64 support in boost::config.
|
||||||
|
|
||||||
|
---
|
||||||
|
libs/config/checks/architecture/arm.cpp | 4 +++-
|
||||||
|
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/libs/config/checks/architecture/arm.cpp b/libs/config/checks/architecture/arm.cpp
|
||||||
|
index 6a83737..794aba8 100644
|
||||||
|
--- a/libs/config/checks/architecture/arm.cpp
|
||||||
|
+++ b/libs/config/checks/architecture/arm.cpp
|
||||||
|
@@ -8,6 +8,8 @@
|
||||||
|
|
||||||
|
#if !defined(__arm__) && !defined(__thumb__) && \
|
||||||
|
!defined(__TARGET_ARCH_ARM) && !defined(__TARGET_ARCH_THUMB) && \
|
||||||
|
- !defined(_ARM) && !defined(_M_ARM)
|
||||||
|
+ !defined(_ARM) && !defined(_M_ARM) && \
|
||||||
|
+ !defined(__aarch64__)
|
||||||
|
#error "Not ARM"
|
||||||
|
#endif
|
||||||
|
+
|
||||||
|
--
|
||||||
|
2.4.5
|
||||||
|
|
98
0002-Fix-a-regression-with-non-constexpr-types.patch
Normal file
98
0002-Fix-a-regression-with-non-constexpr-types.patch
Normal file
@ -0,0 +1,98 @@
|
|||||||
|
diff --git a/include/boost/fusion/adapted/struct/detail/define_struct.hpp b/include/boost/fusion/adapted/struct/detail/define_struct.hpp
|
||||||
|
index 2554292..ce3737e 100644
|
||||||
|
--- a/include/boost/fusion/adapted/struct/detail/define_struct.hpp
|
||||||
|
+++ b/include/boost/fusion/adapted/struct/detail/define_struct.hpp
|
||||||
|
@@ -69,7 +69,7 @@
|
||||||
|
ATTRIBUTES_SEQ, ATTRIBUTE_TUPEL_SIZE) \
|
||||||
|
\
|
||||||
|
template<typename Seq> \
|
||||||
|
- BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED \
|
||||||
|
+ BOOST_FUSION_GPU_ENABLED \
|
||||||
|
self_type& \
|
||||||
|
operator=(Seq const& seq) \
|
||||||
|
{ \
|
||||||
|
@@ -128,7 +128,7 @@
|
||||||
|
ATTRIBUTE_TUPEL_SIZE, \
|
||||||
|
ATTRIBUTES_SEQ) \
|
||||||
|
\
|
||||||
|
- BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED \
|
||||||
|
+ BOOST_FUSION_GPU_ENABLED \
|
||||||
|
NAME() \
|
||||||
|
: BOOST_PP_SEQ_FOR_EACH_I_R( \
|
||||||
|
1, \
|
||||||
|
@@ -137,7 +137,7 @@
|
||||||
|
ATTRIBUTES_SEQ) \
|
||||||
|
{} \
|
||||||
|
\
|
||||||
|
- BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED \
|
||||||
|
+ BOOST_FUSION_GPU_ENABLED \
|
||||||
|
NAME(self_type const& other_self) \
|
||||||
|
: BOOST_PP_SEQ_FOR_EACH_I_R( \
|
||||||
|
1, \
|
||||||
|
@@ -147,7 +147,7 @@
|
||||||
|
{} \
|
||||||
|
\
|
||||||
|
template<typename Seq> \
|
||||||
|
- BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED \
|
||||||
|
+ BOOST_FUSION_GPU_ENABLED \
|
||||||
|
NAME(Seq const& seq \
|
||||||
|
BOOST_PP_IF( \
|
||||||
|
BOOST_PP_DEC(BOOST_PP_SEQ_SIZE(ATTRIBUTES_SEQ)), \
|
||||||
|
@@ -167,7 +167,7 @@
|
||||||
|
#define BOOST_FUSION_DEFINE_STRUCT_CTOR_1( \
|
||||||
|
NAME, ATTRIBUTES_SEQ, ATTRIBUTE_TUPEL_SIZE) \
|
||||||
|
\
|
||||||
|
- BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED \
|
||||||
|
+ BOOST_FUSION_GPU_ENABLED \
|
||||||
|
explicit \
|
||||||
|
NAME(boost::call_traits< \
|
||||||
|
BOOST_PP_TUPLE_ELEM( \
|
||||||
|
@@ -180,7 +180,7 @@
|
||||||
|
#define BOOST_FUSION_DEFINE_TPL_STRUCT_CTOR_1( \
|
||||||
|
TEMPLATE_PARAMS_SEQ, NAME, ATTRIBUTES_SEQ, ATTRIBUTE_TUPEL_SIZE) \
|
||||||
|
\
|
||||||
|
- BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED \
|
||||||
|
+ BOOST_FUSION_GPU_ENABLED \
|
||||||
|
explicit \
|
||||||
|
NAME(typename boost::call_traits< \
|
||||||
|
typename boost::fusion::detail::get_first_arg< \
|
||||||
|
@@ -217,7 +217,7 @@
|
||||||
|
#define BOOST_FUSION_DEFINE_TPL_STRUCT_CTOR_N( \
|
||||||
|
TEMPLATE_PARAMS_SEQ, NAME, ATTRIBUTES_SEQ, ATTRIBUTE_TUPEL_SIZE) \
|
||||||
|
\
|
||||||
|
- BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED \
|
||||||
|
+ BOOST_FUSION_GPU_ENABLED \
|
||||||
|
NAME(BOOST_PP_SEQ_FOR_EACH_I_R( \
|
||||||
|
1, \
|
||||||
|
BOOST_FUSION_DEFINE_TPL_STRUCT_CTOR_ARG_I, \
|
||||||
|
@@ -245,7 +245,7 @@
|
||||||
|
#define BOOST_FUSION_DEFINE_STRUCT_CTOR_N( \
|
||||||
|
NAME, ATTRIBUTES_SEQ, ATTRIBUTE_TUPEL_SIZE) \
|
||||||
|
\
|
||||||
|
- BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED \
|
||||||
|
+ BOOST_FUSION_GPU_ENABLED \
|
||||||
|
NAME(BOOST_PP_SEQ_FOR_EACH_I_R( \
|
||||||
|
1, \
|
||||||
|
BOOST_FUSION_DEFINE_STRUCT_CTOR_ARG_I, \
|
||||||
|
diff --git a/include/boost/fusion/adapted/struct/detail/define_struct_inline.hpp b/include/boost/fusion/adapted/struct/detail/define_struct_inline.hpp
|
||||||
|
index a5a3ae0..a037ffe 100644
|
||||||
|
--- a/include/boost/fusion/adapted/struct/detail/define_struct_inline.hpp
|
||||||
|
+++ b/include/boost/fusion/adapted/struct/detail/define_struct_inline.hpp
|
||||||
|
@@ -66,7 +66,7 @@
|
||||||
|
#define BOOST_FUSION_IGNORE_2(ARG1, ARG2)
|
||||||
|
|
||||||
|
#define BOOST_FUSION_MAKE_COPY_CONSTRUCTOR(NAME, ATTRIBUTES_SEQ) \
|
||||||
|
- BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED \
|
||||||
|
+ BOOST_FUSION_GPU_ENABLED \
|
||||||
|
NAME(BOOST_PP_SEQ_FOR_EACH_I( \
|
||||||
|
BOOST_FUSION_MAKE_CONST_REF_PARAM, \
|
||||||
|
~, \
|
||||||
|
@@ -337,7 +337,7 @@
|
||||||
|
typedef boost::mpl::int_<N> index; \
|
||||||
|
typedef boost_fusion_detail_Seq sequence_type; \
|
||||||
|
\
|
||||||
|
- BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED \
|
||||||
|
+ BOOST_FUSION_GPU_ENABLED \
|
||||||
|
BOOST_FUSION_ITERATOR_NAME(NAME)(boost_fusion_detail_Seq& seq) \
|
||||||
|
: seq_(seq) \
|
||||||
|
BOOST_FUSION_DEFINE_ITERATOR_WKND_INIT_LIST_ENTRIES( \
|
12
boost-1.50.0-long-double-1.patch
Normal file
12
boost-1.50.0-long-double-1.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
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;
|
||||||
|
+}
|
57
boost-1.53.0-context.patch
Normal file
57
boost-1.53.0-context.patch
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
--- 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
|
15
boost-1.54.0-python-unused_typedef.patch
Normal file
15
boost-1.54.0-python-unused_typedef.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
diff -up boost_1_53_0/boost/python/to_python_value.hpp\~ boost_1_53_0/boost/python/to_python_value.hpp
|
||||||
|
--- boost_1_53_0/boost/python/to_python_value.hpp~ 2007-12-16 11:12:07.000000000 +0100
|
||||||
|
+++ boost_1_53_0/boost/python/to_python_value.hpp 2013-07-23 16:19:02.518904596 +0200
|
||||||
|
@@ -147,8 +147,8 @@ namespace detail
|
||||||
|
template <class T>
|
||||||
|
inline PyObject* registry_to_python_value<T>::operator()(argument_type x) const
|
||||||
|
{
|
||||||
|
- typedef converter::registered<argument_type> r;
|
||||||
|
# if BOOST_WORKAROUND(__GNUC__, < 3)
|
||||||
|
+ typedef converter::registered<argument_type> r;
|
||||||
|
// suppresses an ICE, somehow
|
||||||
|
(void)r::converters;
|
||||||
|
# endif
|
||||||
|
|
||||||
|
Diff finished. Tue Jul 23 16:19:05 2013
|
98
boost-1.55.0-python-test-PyImport_AppendInittab.patch
Normal file
98
boost-1.55.0-python-test-PyImport_AppendInittab.patch
Normal file
@ -0,0 +1,98 @@
|
|||||||
|
diff -up boost_1_55_0/libs/python/test/exec.cpp\~ boost_1_55_0/libs/python/test/exec.cpp
|
||||||
|
--- boost_1_55_0/libs/python/test/exec.cpp~ 2010-07-05 00:38:38.000000000 +0200
|
||||||
|
+++ boost_1_55_0/libs/python/test/exec.cpp 2015-01-09 21:31:12.903218280 +0100
|
||||||
|
@@ -56,6 +56,20 @@ void eval_test()
|
||||||
|
BOOST_TEST(value == "ABCDEFG");
|
||||||
|
}
|
||||||
|
|
||||||
|
+struct PyCtx
|
||||||
|
+{
|
||||||
|
+ PyCtx() {
|
||||||
|
+ Py_Initialize();
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ ~PyCtx() {
|
||||||
|
+ // N.B. certain problems may arise when Py_Finalize is called when
|
||||||
|
+ // using Boost.Python. However in this test suite it all seems to
|
||||||
|
+ // work fine.
|
||||||
|
+ Py_Finalize();
|
||||||
|
+ }
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
void exec_test()
|
||||||
|
{
|
||||||
|
// Register the module with the interpreter
|
||||||
|
@@ -68,6 +82,8 @@ void exec_test()
|
||||||
|
) == -1)
|
||||||
|
throw std::runtime_error("Failed to add embedded_hello to the interpreter's "
|
||||||
|
"builtin modules");
|
||||||
|
+
|
||||||
|
+ PyCtx ctx;
|
||||||
|
// Retrieve the main module
|
||||||
|
python::object main = python::import("__main__");
|
||||||
|
|
||||||
|
@@ -148,41 +164,43 @@ void check_pyerr(bool pyerr_expected=fal
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
+template <class Cb>
|
||||||
|
+bool
|
||||||
|
+run_and_handle_exception(Cb cb, bool pyerr_expected = false)
|
||||||
|
+{
|
||||||
|
+ PyCtx ctx;
|
||||||
|
+ if (python::handle_exception(cb)) {
|
||||||
|
+ check_pyerr(pyerr_expected);
|
||||||
|
+ return true;
|
||||||
|
+ } else {
|
||||||
|
+ return false;
|
||||||
|
+ }
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
int main(int argc, char **argv)
|
||||||
|
{
|
||||||
|
BOOST_TEST(argc == 2 || argc == 3);
|
||||||
|
std::string script = argv[1];
|
||||||
|
- // Initialize the interpreter
|
||||||
|
- Py_Initialize();
|
||||||
|
|
||||||
|
- if (python::handle_exception(eval_test)) {
|
||||||
|
- check_pyerr();
|
||||||
|
- }
|
||||||
|
- else if(python::handle_exception(exec_test)) {
|
||||||
|
- check_pyerr();
|
||||||
|
- }
|
||||||
|
- else if (python::handle_exception(boost::bind(exec_file_test, script))) {
|
||||||
|
+ // N.B. exec_test mustn't be called through run_and_handle_exception
|
||||||
|
+ // as it needs to handles the python context by itself.
|
||||||
|
+ if (run_and_handle_exception(eval_test)
|
||||||
|
+ || python::handle_exception(exec_test))
|
||||||
|
check_pyerr();
|
||||||
|
- }
|
||||||
|
-
|
||||||
|
- if (python::handle_exception(exec_test_error))
|
||||||
|
- {
|
||||||
|
- check_pyerr(/*pyerr_expected*/ true);
|
||||||
|
- }
|
||||||
|
else
|
||||||
|
- {
|
||||||
|
+ run_and_handle_exception(boost::bind(exec_file_test, script));
|
||||||
|
+
|
||||||
|
+ if (!run_and_handle_exception(exec_test_error, true))
|
||||||
|
BOOST_ERROR("Python exception expected, but not seen.");
|
||||||
|
- }
|
||||||
|
|
||||||
|
if (argc > 2) {
|
||||||
|
+ PyCtx ctx;
|
||||||
|
// The main purpose is to test compilation. Since this test generates
|
||||||
|
// a file and I (rwgk) am uncertain about the side-effects, run it only
|
||||||
|
// if explicitly requested.
|
||||||
|
exercise_embedding_html();
|
||||||
|
}
|
||||||
|
|
||||||
|
- // Boost.Python doesn't support Py_Finalize yet.
|
||||||
|
- // Py_Finalize();
|
||||||
|
return boost::report_errors();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Diff finished. Fri Jan 9 21:31:13 2015
|
@ -1,5 +1,33 @@
|
|||||||
--- boost_1_66_0/tools/build/src/tools/gcc.jam~ 2017-12-13 23:56:50.000000000 +0000
|
diff -up ./tools/build/src/tools/gcc.jam~ ./tools/build/src/tools/gcc.jam
|
||||||
+++ boost_1_66_0/tools/build/src/tools/gcc.jam 2018-01-19 12:48:26.264755316 +0000
|
--- ./tools/build/src/tools/gcc.jam~ 2015-02-09 15:01:04.850331626 +0100
|
||||||
|
+++ ./tools/build/src/tools/gcc.jam 2015-02-09 15:44:29.122307134 +0100
|
||||||
|
@@ -366,17 +366,17 @@ generators.override gcc.compile.c++.pch
|
||||||
|
toolset.flags gcc.compile PCH_FILE <pch>on : <pch-file> ;
|
||||||
|
|
||||||
|
# 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>off : ;
|
||||||
|
+toolset.flags gcc.compile OPTIONS <optimization>speed : ;
|
||||||
|
+toolset.flags gcc.compile OPTIONS <optimization>space : ;
|
||||||
|
|
||||||
|
-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 -pedantic ;
|
||||||
|
+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-as-errors>on : -Werror ;
|
||||||
|
|
||||||
|
toolset.flags gcc.compile OPTIONS <debug-symbols>on : -g ;
|
||||||
@@ -603,7 +603,7 @@ rule compile.fortran ( targets * : sourc
|
@@ -603,7 +603,7 @@ rule compile.fortran ( targets * : sourc
|
||||||
|
|
||||||
actions compile.c++ bind PCH_FILE
|
actions compile.c++ bind PCH_FILE
|
||||||
@ -18,32 +46,3 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
actions compile.c.preprocess bind PCH_FILE
|
actions compile.c.preprocess bind PCH_FILE
|
||||||
@@ -755,17 +755,17 @@ 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 -pedantic ;
|
|
||||||
+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-as-errors>on : -Werror ;
|
|
||||||
|
|
||||||
toolset.flags gcc.compile OPTIONS <debug-symbols>on : -g ;
|
|
@ -49,8 +49,8 @@
|
|||||||
extension-suffix ?= "" ;
|
extension-suffix ?= "" ;
|
||||||
+ abi-letters ?= "" ;
|
+ abi-letters ?= "" ;
|
||||||
|
|
||||||
local cmds-to-try ;
|
# Normalize and dissect any version number.
|
||||||
|
local major-minor ;
|
||||||
@@ -922,7 +923,7 @@ local rule configure ( version ? : cmd-o
|
@@ -922,7 +923,7 @@ local rule configure ( version ? : cmd-o
|
||||||
}
|
}
|
||||||
else
|
else
|
19
boost-1.57.0-spirit-unused_typedef.patch
Normal file
19
boost-1.57.0-spirit-unused_typedef.patch
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
diff -up boost_1_57_0/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp\~ boost_1_57_0/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp
|
||||||
|
--- boost_1_57_0/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp~ 2014-10-13 12:21:40.000000000 +0200
|
||||||
|
+++ boost_1_57_0/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp 2015-01-20 13:25:50.069710766 +0100
|
||||||
|
@@ -282,12 +282,12 @@ struct grammar_definition
|
||||||
|
#if !defined(BOOST_SPIRIT_SINGLE_GRAMMAR_INSTANCE)
|
||||||
|
typedef impl::grammar_helper_base<GrammarT> helper_base_t;
|
||||||
|
typedef grammar_helper_list<GrammarT> helper_list_t;
|
||||||
|
- typedef typename helper_list_t::vector_t::reverse_iterator iterator_t;
|
||||||
|
|
||||||
|
helper_list_t& helpers =
|
||||||
|
grammartract_helper_list::do_(self);
|
||||||
|
|
||||||
|
# if defined(BOOST_INTEL_CXX_VERSION)
|
||||||
|
+ typedef typename helper_list_t::vector_t::reverse_iterator iterator_t;
|
||||||
|
for (iterator_t i = helpers.rbegin(); i != helpers.rend(); ++i)
|
||||||
|
(*i)->undefine(self);
|
||||||
|
# else
|
||||||
|
|
||||||
|
Diff finished. Tue Jan 20 13:25:53 2015
|
22
boost-1.57.0-uuid-comparison.patch
Normal file
22
boost-1.57.0-uuid-comparison.patch
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
From fc32eea4ac9e514a7d210306cd9fa3a017dfe02c Mon Sep 17 00:00:00 2001
|
||||||
|
From: VemundH <vehandel@online.no>
|
||||||
|
Date: Tue, 30 Sep 2014 21:53:45 +0200
|
||||||
|
Subject: [PATCH] remove incorrect casts
|
||||||
|
|
||||||
|
---
|
||||||
|
include/boost/uuid/detail/uuid_x86.hpp | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/include/boost/uuid/detail/uuid_x86.hpp b/include/boost/uuid/detail/uuid_x86.hpp
|
||||||
|
index 1a329b0..5a2cdec 100644
|
||||||
|
--- a/include/boost/uuid/detail/uuid_x86.hpp
|
||||||
|
+++ b/include/boost/uuid/detail/uuid_x86.hpp
|
||||||
|
@@ -100,7 +100,7 @@ inline bool operator< (uuid const& lhs, uuid const& rhs) BOOST_NOEXCEPT
|
||||||
|
cmp = (cmp - 1u) ^ cmp;
|
||||||
|
rcmp = (rcmp - 1u) ^ rcmp;
|
||||||
|
|
||||||
|
- return static_cast< uint16_t >(cmp) < static_cast< uint16_t >(rcmp);
|
||||||
|
+ return cmp < rcmp;
|
||||||
|
}
|
||||||
|
|
||||||
|
} // namespace uuids
|
45
boost-1.58-asio-use-future.patch
Normal file
45
boost-1.58-asio-use-future.patch
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
From 42e7869f411a75512fb6994c634eb086fb9eb5cc Mon Sep 17 00:00:00 2001
|
||||||
|
From: Christopher Kohlhoff <chris@kohlhoff.com>
|
||||||
|
Date: Sun, 11 Sep 2016 12:04:18 +1000
|
||||||
|
Subject: [PATCH] Fix allocator usage to compile with g++ 6.
|
||||||
|
|
||||||
|
---
|
||||||
|
include/boost/asio/impl/use_future.hpp | 16 ++++++++++------
|
||||||
|
1 file changed, 10 insertions(+), 6 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/include/boost/asio/impl/use_future.hpp b/include/boost/asio/impl/use_future.hpp
|
||||||
|
index b954e14..92106f4 100644
|
||||||
|
--- a/include/boost/asio/impl/use_future.hpp
|
||||||
|
+++ b/include/boost/asio/impl/use_future.hpp
|
||||||
|
@@ -34,10 +34,12 @@ namespace detail {
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
// Construct from use_future special value.
|
||||||
|
- template <typename Allocator>
|
||||||
|
- promise_handler(use_future_t<Allocator> uf)
|
||||||
|
+ template <typename Alloc>
|
||||||
|
+ promise_handler(use_future_t<Alloc> uf)
|
||||||
|
: promise_(std::allocate_shared<std::promise<T> >(
|
||||||
|
- uf.get_allocator(), std::allocator_arg, uf.get_allocator()))
|
||||||
|
+ typename Alloc::template rebind<char>::other(uf.get_allocator()),
|
||||||
|
+ std::allocator_arg,
|
||||||
|
+ typename Alloc::template rebind<char>::other(uf.get_allocator())))
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
@@ -66,10 +68,12 @@ namespace detail {
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
// Construct from use_future special value. Used during rebinding.
|
||||||
|
- template <typename Allocator>
|
||||||
|
- promise_handler(use_future_t<Allocator> uf)
|
||||||
|
+ template <typename Alloc>
|
||||||
|
+ promise_handler(use_future_t<Alloc> uf)
|
||||||
|
: promise_(std::allocate_shared<std::promise<void> >(
|
||||||
|
- uf.get_allocator(), std::allocator_arg, uf.get_allocator()))
|
||||||
|
+ typename Alloc::template rebind<char>::other(uf.get_allocator()),
|
||||||
|
+ std::allocator_arg,
|
||||||
|
+ typename Alloc::template rebind<char>::other(uf.get_allocator())))
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
27
boost-1.58-binomial_heap.patch
Normal file
27
boost-1.58-binomial_heap.patch
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
From 8091fbf00ae6953d34b717ab077a041420e5ba43 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Tim Blechmann <tim@klingt.org>
|
||||||
|
Date: Sat, 5 Sep 2015 09:04:32 +0200
|
||||||
|
Subject: [PATCH] heap: binomial heap - fix size handling in pop()
|
||||||
|
|
||||||
|
---
|
||||||
|
include/boost/heap/binomial_heap.hpp | 5 +++++
|
||||||
|
1 file changed, 5 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/include/boost/heap/binomial_heap.hpp b/include/boost/heap/binomial_heap.hpp
|
||||||
|
index 7e0760f..01ccf3f 100644
|
||||||
|
--- a/include/boost/heap/binomial_heap.hpp
|
||||||
|
+++ b/include/boost/heap/binomial_heap.hpp
|
||||||
|
@@ -404,8 +404,13 @@ class binomial_heap:
|
||||||
|
binomial_heap children(value_comp(), element->children, sz);
|
||||||
|
if (trees.empty()) {
|
||||||
|
stability_counter_type stability_count = super_t::get_stability_count();
|
||||||
|
+ size_t size = constant_time_size ? size_holder::get_size()
|
||||||
|
+ : 0;
|
||||||
|
swap(children);
|
||||||
|
super_t::set_stability_count(stability_count);
|
||||||
|
+
|
||||||
|
+ if (constant_time_size)
|
||||||
|
+ size_holder::set_size( size );
|
||||||
|
} else
|
||||||
|
merge_and_clear_nodes(children);
|
||||||
|
|
52
boost-1.58-ublas-inlines.patch
Normal file
52
boost-1.58-ublas-inlines.patch
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
From ca2ff08600fa63c8dea90897cfe649427bf58a6e Mon Sep 17 00:00:00 2001
|
||||||
|
From: Nasos <nasos_i@hotmail.com>
|
||||||
|
Date: Wed, 5 Aug 2015 10:17:51 -0400
|
||||||
|
Subject: [PATCH] Corrected inline issue in storage.hpp
|
||||||
|
|
||||||
|
---
|
||||||
|
include/boost/numeric/ublas/storage.hpp | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/include/boost/numeric/ublas/storage.hpp b/include/boost/numeric/ublas/storage.hpp
|
||||||
|
index 8821309..19bc907 100644
|
||||||
|
--- a/include/boost/numeric/ublas/storage.hpp
|
||||||
|
+++ b/include/boost/numeric/ublas/storage.hpp
|
||||||
|
@@ -777,8 +777,8 @@ namespace boost { namespace numeric { namespace ublas {
|
||||||
|
BOOST_UBLAS_INLINE
|
||||||
|
shallow_array_adaptor (size_type size, pointer data):
|
||||||
|
size_ (size), own_ (false), data_ (data, leaker<value_type> ()) {}
|
||||||
|
- BOOST_UBLAS_INLINE
|
||||||
|
template <size_t N>
|
||||||
|
+ BOOST_UBLAS_INLINE
|
||||||
|
shallow_array_adaptor (T (&data)[N]):
|
||||||
|
size_ (N), own_ (false), data_ (data, leaker<value_type> ()) {}
|
||||||
|
|
||||||
|
From b805369990aed13a2c837f642a280a7b6352e012 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Nasos <nasos_i@hotmail.com>
|
||||||
|
Date: Wed, 5 Aug 2015 10:31:25 -0400
|
||||||
|
Subject: [PATCH] Corrected inline issue in storage.hpp
|
||||||
|
|
||||||
|
---
|
||||||
|
include/boost/numeric/ublas/storage.hpp | 4 ++--
|
||||||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/include/boost/numeric/ublas/storage.hpp b/include/boost/numeric/ublas/storage.hpp
|
||||||
|
index 19bc907..bd64892 100644
|
||||||
|
--- a/include/boost/numeric/ublas/storage.hpp
|
||||||
|
+++ b/include/boost/numeric/ublas/storage.hpp
|
||||||
|
@@ -833,13 +833,13 @@ namespace boost { namespace numeric { namespace ublas {
|
||||||
|
void resize (size_type size, pointer data, value_type init) {
|
||||||
|
resize_internal (size, data, init, true);
|
||||||
|
}
|
||||||
|
- BOOST_UBLAS_INLINE
|
||||||
|
template <size_t N>
|
||||||
|
+ BOOST_UBLAS_INLINE
|
||||||
|
void resize (T (&data)[N]) {
|
||||||
|
resize_internal (N, data, value_type (), false);
|
||||||
|
}
|
||||||
|
- BOOST_UBLAS_INLINE
|
||||||
|
template <size_t N>
|
||||||
|
+ BOOST_UBLAS_INLINE
|
||||||
|
void resize (T (&data)[N], value_type init) {
|
||||||
|
resize_internal (N, data, init, true);
|
||||||
|
}
|
@ -1,8 +1,8 @@
|
|||||||
--- boost_1_66_0/tools/build/src/tools/gcc.jam~ 2018-01-19 13:09:56.041685502 +0000
|
--- boost_1_58_0/tools/build/src/tools/gcc.jam~ 2015-07-17 15:14:57.381636224 +0100
|
||||||
+++ boost_1_66_0/tools/build/src/tools/gcc.jam 2018-01-19 13:09:56.042685500 +0000
|
+++ boost_1_58_0/tools/build/src/tools/gcc.jam 2015-07-27 17:35:29.122264048 +0100
|
||||||
@@ -421,7 +421,9 @@
|
@@ -421,7 +421,9 @@
|
||||||
|
|
||||||
rule set-address-model-options ( targets * : sources * : properties * )
|
rule setup-address-model ( targets * : sources * : properties * )
|
||||||
{
|
{
|
||||||
- local model = [ feature.get-values address-model : $(properties) ] ;
|
- local model = [ feature.get-values address-model : $(properties) ] ;
|
||||||
+ # For RPM builds the address model flag is passed in %{optflags}.
|
+ # For RPM builds the address model flag is passed in %{optflags}.
|
18
boost-1.58.0-variant-includes.patch
Normal file
18
boost-1.58.0-variant-includes.patch
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
commit 2b2cc6543c44beeb8331dc8e1a7eff2e071a8cc8
|
||||||
|
Author: Antony Polukhin <antoshkka@gmail.com>
|
||||||
|
Date: Sun May 10 21:53:27 2015 +0300
|
||||||
|
|
||||||
|
Fix error with missing include, that was found by Maarten de Vries
|
||||||
|
|
||||||
|
diff --git a/include/boost/variant/detail/element_index.hpp b/include/boost/variant/detail/element_index.hpp
|
||||||
|
index bd80bdd..842b018 100644
|
||||||
|
--- a/include/boost/variant/detail/element_index.hpp
|
||||||
|
+++ b/include/boost/variant/detail/element_index.hpp
|
||||||
|
@@ -16,6 +16,7 @@
|
||||||
|
#include "boost/variant/recursive_wrapper_fwd.hpp"
|
||||||
|
#include "boost/variant/variant_fwd.hpp"
|
||||||
|
|
||||||
|
+#include "boost/type_traits/remove_cv.hpp"
|
||||||
|
#include "boost/mpl/find_if.hpp"
|
||||||
|
|
||||||
|
namespace boost { namespace detail { namespace variant {
|
@ -1,87 +0,0 @@
|
|||||||
--- boost_1_63_0/libs/mpi/build/Jamfile.v2 2016-12-22 06:33:17.000000000 -0600
|
|
||||||
+++ boost_1_63_0/libs/mpi/build/Jamfile.v2 2017-05-19 01:45:05.485563800 -0500
|
|
||||||
@@ -11,6 +11,7 @@
|
|
||||||
import mpi ;
|
|
||||||
import indirect ;
|
|
||||||
import python ;
|
|
||||||
+import feature ;
|
|
||||||
|
|
||||||
libraries = ;
|
|
||||||
|
|
||||||
@@ -53,18 +54,38 @@ lib boost_mpi
|
|
||||||
<library>../../serialization/build//boost_serialization
|
|
||||||
<library>/mpi//mpi [ mpi.extra-requirements ]
|
|
||||||
;
|
|
||||||
+
|
|
||||||
+rule cond ( test ? : yes * : no * ) { if $(test) { return $(yes) ; } else { return $(no) ; } }
|
|
||||||
|
|
||||||
libraries += boost_mpi ;
|
|
||||||
+rule find-py3-version
|
|
||||||
+{
|
|
||||||
+ local versions = [ feature.values python ] ;
|
|
||||||
+ local py3ver ;
|
|
||||||
+ for local v in $(versions)
|
|
||||||
+ {
|
|
||||||
+ if $(v) >= 3.0
|
|
||||||
+ {
|
|
||||||
+ py3ver = $(v) ;
|
|
||||||
+ }
|
|
||||||
+ }
|
|
||||||
+ return $(py3ver) ;
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+py3-version = [ find-py3-version ] ;
|
|
||||||
|
|
||||||
if [ python.configured ]
|
|
||||||
{
|
|
||||||
- lib boost_mpi_python
|
|
||||||
+
|
|
||||||
+ rule lib_boost_mpi_python ( is-py3 ? ) {
|
|
||||||
+
|
|
||||||
+ lib [ cond $(is-py3) : boost_mpi_python3 : boost_mpi_python ]
|
|
||||||
: # Sources
|
|
||||||
python/serialize.cpp
|
|
||||||
: # Requirements
|
|
||||||
<library>boost_mpi
|
|
||||||
<library>/mpi//mpi [ mpi.extra-requirements ]
|
|
||||||
- <library>/boost/python//boost_python
|
|
||||||
+ [ cond $(is-py3) : <library>/boost/python//boost_python3 : <library>/boost/python//boost_python ]
|
|
||||||
<link>shared:<define>BOOST_MPI_DYN_LINK=1
|
|
||||||
<link>shared:<define>BOOST_MPI_PYTHON_DYN_LINK=1
|
|
||||||
<link>shared:<define>BOOST_PYTHON_DYN_LINK=1
|
|
||||||
@@ -76,7 +97,6 @@ libraries += boost_mpi ;
|
|
||||||
: # Usage requirements
|
|
||||||
<library>/mpi//mpi [ mpi.extra-requirements ]
|
|
||||||
;
|
|
||||||
- libraries += boost_mpi_python ;
|
|
||||||
|
|
||||||
python-extension mpi
|
|
||||||
: # Sources
|
|
||||||
@@ -93,8 +113,8 @@ libraries += boost_mpi ;
|
|
||||||
python/status.cpp
|
|
||||||
python/py_timer.cpp
|
|
||||||
: # Requirements
|
|
||||||
- <library>/boost/python//boost_python
|
|
||||||
- <library>boost_mpi_python
|
|
||||||
+ [ cond $(is-py3) : <library>/boost/python//boost_python3 : <library>/boost/python//boost_python ]
|
|
||||||
+ [ cond $(is-py3) : <library>boost_mpi_python3 : <library>boost_mpi_python ]
|
|
||||||
<library>boost_mpi
|
|
||||||
<library>/mpi//mpi [ mpi.extra-requirements ]
|
|
||||||
<link>shared:<define>BOOST_MPI_DYN_LINK=1
|
|
||||||
@@ -102,6 +122,16 @@ libraries += boost_mpi ;
|
|
||||||
<link>shared:<define>BOOST_PYTHON_DYN_LINK=1
|
|
||||||
<link>shared <runtime-link>shared
|
|
||||||
;
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
+ if $(py3-version) {
|
|
||||||
+ lib_boost_mpi_python yes ;
|
|
||||||
+ libraries += boost_mpi_python3 ;
|
|
||||||
+ } else {
|
|
||||||
+ lib_boost_mpi_python ;
|
|
||||||
+ libraries += boost_mpi_python ;
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if ! ( --without-mpi in [ modules.peek : ARGV ] )
|
|
@ -1,26 +0,0 @@
|
|||||||
--- boost_1_66_0/tools/build/src/engine/build.jam~ 2018-02-07 21:36:14.552201421 +0000
|
|
||||||
+++ boost_1_66_0/tools/build/src/engine/build.jam 2018-02-07 21:36:29.014173266 +0000
|
|
||||||
@@ -4,7 +4,7 @@
|
|
||||||
#~ http://www.boost.org/LICENSE_1_0.txt)
|
|
||||||
|
|
||||||
# Clean env vars of any "extra" empty values.
|
|
||||||
-for local v in ARGV CC CFLAGS LIBS
|
|
||||||
+for local v in ARGV CC CFLAGS LIBS RPM_OPT_FLAGS RPM_LD_FLAGS
|
|
||||||
{
|
|
||||||
local values ;
|
|
||||||
for local x in $($(v))
|
|
||||||
@@ -215,12 +215,12 @@
|
|
||||||
: -L$(--python-lib[1]) -l$(--python-lib[2]) ;
|
|
||||||
## GCC 2.x, 3.x, 4.x
|
|
||||||
toolset gcc gcc : "-o " : -D
|
|
||||||
- : -pedantic -fno-strict-aliasing
|
|
||||||
+ : -pedantic -fno-strict-aliasing $(RPM_OPT_FLAGS)
|
|
||||||
[ opt --release : [ opt --symbols : -g : -s ] -O3 ]
|
|
||||||
[ opt --debug : -g -O0 -fno-inline ]
|
|
||||||
[ opt --profile : -O3 -g -pg ]
|
|
||||||
-I$(--python-include) -I$(--extra-include) -Wno-long-long
|
|
||||||
- : -L$(--python-lib[1]) -l$(--python-lib[2]) ;
|
|
||||||
+ : -L$(--python-lib[1]) -l$(--python-lib[2]) $(RPM_LD_FLAGS) ;
|
|
||||||
## GCC 2.x, 3.x on CYGWIN but without cygwin1.dll
|
|
||||||
toolset gcc-nocygwin gcc : "-o " : -D
|
|
||||||
: -s -O3 -mno-cygwin
|
|
@ -1,23 +0,0 @@
|
|||||||
From fdbdb94db64e888fce90fe519be23c2a4396a82e Mon Sep 17 00:00:00 2001
|
|
||||||
From: pradeep <pradeep@arrayfire.com>
|
|
||||||
Date: Tue, 8 May 2018 14:53:38 +0530
|
|
||||||
Subject: [PATCH 1/2] Fix return var qualifier in svm_ptr::get_context
|
|
||||||
|
|
||||||
Lack of `const` qualifier is throwing errors with GCC 8.1
|
|
||||||
---
|
|
||||||
include/boost/compute/memory/svm_ptr.hpp | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/include/boost/compute/memory/svm_ptr.hpp b/include/boost/compute/memory/svm_ptr.hpp
|
|
||||||
index c8753f5b..56cf1268 100644
|
|
||||||
--- a/include/boost/compute/memory/svm_ptr.hpp
|
|
||||||
+++ b/include/boost/compute/memory/svm_ptr.hpp
|
|
||||||
@@ -126,7 +126,7 @@ class svm_ptr
|
|
||||||
return m_ptr - other.m_ptr;
|
|
||||||
}
|
|
||||||
|
|
||||||
- context& get_context() const
|
|
||||||
+ const context& get_context() const
|
|
||||||
{
|
|
||||||
return m_context;
|
|
||||||
}
|
|
@ -1,20 +0,0 @@
|
|||||||
--- boost_1_66_0/tools/build/src/tools/gcc.jam~ 2018-01-19 13:23:45.361330881 +0000
|
|
||||||
+++ boost_1_66_0/tools/build/src/tools/gcc.jam 2018-01-19 13:23:45.362330880 +0000
|
|
||||||
@@ -1191,7 +1191,7 @@ rule link ( targets * : sources * : prop
|
|
||||||
|
|
||||||
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)
|
|
||||||
}
|
|
||||||
|
|
||||||
rule link.dll ( targets * : sources * : properties * )
|
|
||||||
@@ -1204,7 +1204,7 @@ rule link.dll ( targets * : sources * :
|
|
||||||
# Differs from 'link' above only by -shared.
|
|
||||||
actions link.dll bind LIBRARIES
|
|
||||||
{
|
|
||||||
- "$(CONFIG_COMMAND)" -L"$(LINKPATH)" -Wl,$(RPATH_OPTION:E=-R)$(SPACE)-Wl,$(RPATH) "$(.IMPLIB-COMMAND)$(<[1])" -o "$(<[-1])" $(HAVE_SONAME)-Wl,$(SONAME_OPTION)$(SPACE)-Wl,$(<[-1]:D=) -shared $(START-GROUP) "$(>)" "$(LIBRARIES)" $(FINDLIBS-ST-PFX) -l$(FINDLIBS-ST) $(FINDLIBS-SA-PFX) -l$(FINDLIBS-SA) $(END-GROUP) $(OPTIONS) $(USER_OPTIONS)
|
|
||||||
+ "$(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,39 +0,0 @@
|
|||||||
From 660487c43fde76f3e64f1cb2e644500da92fe582 Mon Sep 17 00:00:00 2001
|
|
||||||
From: =?UTF-8?q?Bernhard=20Rosenkr=C3=A4nzer?= <bero@lindev.ch>
|
|
||||||
Date: Fri, 9 Feb 2018 18:20:30 +0100
|
|
||||||
Subject: [PATCH] Fix build with Python 3.7
|
|
||||||
MIME-Version: 1.0
|
|
||||||
Content-Type: text/plain; charset=UTF-8
|
|
||||||
Content-Transfer-Encoding: 8bit
|
|
||||||
|
|
||||||
Python 3.7 changes the return type of _PyUnicode_AsString()
|
|
||||||
from void* to const char* -- causing the build of boost-python
|
|
||||||
to fail.
|
|
||||||
|
|
||||||
Signed-off-by: Bernhard Rosenkränzer <bero@lindev.ch>
|
|
||||||
---
|
|
||||||
src/converter/builtin_converters.cpp | 7 ++++++-
|
|
||||||
1 file changed, 6 insertions(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/src/converter/builtin_converters.cpp b/src/converter/builtin_converters.cpp
|
|
||||||
index 1c28af7fc..ee2d5b479 100644
|
|
||||||
--- a/libs/python/src/converter/builtin_converters.cpp
|
|
||||||
+++ b/libs/python/src/converter/builtin_converters.cpp
|
|
||||||
@@ -45,11 +45,16 @@ namespace
|
|
||||||
{
|
|
||||||
return PyString_Check(obj) ? PyString_AsString(obj) : 0;
|
|
||||||
}
|
|
||||||
-#else
|
|
||||||
+#elif PY_VERSION_HEX < 0x03070000
|
|
||||||
void* convert_to_cstring(PyObject* obj)
|
|
||||||
{
|
|
||||||
return PyUnicode_Check(obj) ? _PyUnicode_AsString(obj) : 0;
|
|
||||||
}
|
|
||||||
+#else
|
|
||||||
+ void* convert_to_cstring(PyObject* obj)
|
|
||||||
+ {
|
|
||||||
+ return PyUnicode_Check(obj) ? const_cast<void*>(reinterpret_cast<const void*>(_PyUnicode_AsString(obj))) : 0;
|
|
||||||
+ }
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// Given a target type and a SlotPolicy describing how to perform a
|
|
@ -1,15 +0,0 @@
|
|||||||
--- boost_1_66_0/boost/spirit/home/karma/numeric/detail/numeric_utils.hpp~ 2018-02-23 16:59:53.785141676 +0000
|
|
||||||
+++ boost_1_66_0/boost/spirit/home/karma/numeric/detail/numeric_utils.hpp 2018-02-23 17:00:16.838092946 +0000
|
|
||||||
@@ -68,7 +68,11 @@
|
|
||||||
typedef unsignedtype type; \
|
|
||||||
static type call(signedtype n) \
|
|
||||||
{ \
|
|
||||||
- return static_cast<unsignedtype>((n >= 0) ? n : -n); \
|
|
||||||
+ if (n >= 0) \
|
|
||||||
+ return n; \
|
|
||||||
+ if (n == std::numeric_limits<signedtype>::min()) \
|
|
||||||
+ return (unsignedtype)n; \
|
|
||||||
+ return (unsignedtype)(-n); \
|
|
||||||
} \
|
|
||||||
} \
|
|
||||||
/**/
|
|
1254
boost.spec
1254
boost.spec
File diff suppressed because it is too large
Load Diff
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (boost_1_66_0.tar.bz2) = 0f34075d35391d66876e5189a01a11880a79428e1b267456348ee148dba9dc3abdc74d568f1853be631d20b584b1c804b42443c266f7622164acfc10be3dab8b
|
b8839650e61e9c1c0a89f371dd475546 boost_1_58_0.tar.bz2
|
||||||
|
Loading…
Reference in New Issue
Block a user