Sync from SUSE:ALP:Source:Standard:1.0 boost revision dce21f69ca4f4a45372b311ef7776a61
This commit is contained in:
commit
59105c3f61
|
@ -0,0 +1,23 @@
|
|||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
|
@ -0,0 +1,4 @@
|
|||
boost-devel has been split up into individual packages for simpler
|
||||
product management. Please stop depending explicitly on boost-devel
|
||||
and depend on individual boost -devel packages
|
||||
|
|
@ -0,0 +1 @@
|
|||
# placeholder
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0"?>
|
||||
<constraints>
|
||||
<hardware>
|
||||
<physicalmemory>
|
||||
<size unit="M">2000</size>
|
||||
</physicalmemory>
|
||||
<disk>
|
||||
<size unit="G">5</size>
|
||||
</disk>
|
||||
</hardware>
|
||||
<sandbox>kvm</sandbox>
|
||||
<hostlabel exclude="true">SLOW_CPU</hostlabel>
|
||||
</constraints>
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
<multibuild>
|
||||
<package>base</package>
|
||||
<package>extra</package>
|
||||
<package>gnu-hpc</package>
|
||||
<package>gnu-openmpi4-hpc</package>
|
||||
<package>gnu-mvapich2-hpc</package>
|
||||
<package>gnu-mpich-hpc</package>
|
||||
</multibuild>
|
|
@ -0,0 +1,27 @@
|
|||
libboost_atomic1_84_0
|
||||
libboost_container1_84_0
|
||||
libboost_context1_84_0
|
||||
libboost_coroutine1_84_0
|
||||
libboost_date_time1_84_0
|
||||
libboost_fiber1_84_0
|
||||
libboost_filesystem1_84_0
|
||||
libboost_graph1_84_0
|
||||
libboost_graph_parallel1_84_0
|
||||
libboost_iostreams1_84_0
|
||||
libboost_locale1_84_0
|
||||
libboost_math1_84_0
|
||||
libboost_mpi1_84_0
|
||||
libboost_nowide1_84_0
|
||||
libboost_test1_84_0
|
||||
libboost_program_options1_84_0
|
||||
libboost_python-py3-1_84_0
|
||||
libboost_random1_84_0
|
||||
libboost_serialization1_84_0
|
||||
libboost_stacktrace1_84_0
|
||||
libboost_system1_84_0
|
||||
libboost_thread1_84_0
|
||||
libboost_type_erasure1_84_0
|
||||
libboost_wave1_84_0
|
||||
libboost_url1_84_0
|
||||
libboost_regex1_84_0
|
||||
libboost_json1_84_0
|
|
@ -0,0 +1,87 @@
|
|||
Index: boost_1_63_0/libs/python/test/exec.cpp
|
||||
===================================================================
|
||||
--- boost_1_63_0.orig/libs/python/test/exec.cpp
|
||||
+++ boost_1_63_0/libs/python/test/exec.cpp
|
||||
@@ -56,8 +56,24 @@ 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()
|
||||
{
|
||||
+ PyCtx ctx;
|
||||
+
|
||||
// Retrieve the main module
|
||||
python::object main = python::import("__main__");
|
||||
|
||||
@@ -138,6 +154,19 @@ 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);
|
||||
@@ -156,29 +185,19 @@ int main(int argc, char **argv)
|
||||
"builtin modules");
|
||||
}
|
||||
|
||||
- // Initialize the interpreter
|
||||
- Py_Initialize();
|
||||
-
|
||||
- if (python::handle_exception(eval_test)) {
|
||||
+ // 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();
|
||||
- }
|
||||
- else if(python::handle_exception(exec_test)) {
|
||||
- check_pyerr();
|
||||
- }
|
||||
- else if (python::handle_exception(boost::bind(exec_file_test, script))) {
|
||||
- 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.
|
|
@ -0,0 +1,82 @@
|
|||
Index: boost_1_80_0/tools/build/src/tools/python.jam
|
||||
===================================================================
|
||||
--- boost_1_80_0.orig/tools/build/src/tools/python.jam
|
||||
+++ boost_1_80_0/tools/build/src/tools/python.jam
|
||||
@@ -102,7 +102,7 @@ py3-version = ;
|
||||
# using python : 2.3 : /usr/local/bin/python ;
|
||||
#
|
||||
rule init ( version ? : cmd-or-prefix ? : includes * : libraries ?
|
||||
- : condition * : extension-suffix ? )
|
||||
+ : condition * : extension-suffix ? : abi-letters ? )
|
||||
{
|
||||
project.push-current $(.project) ;
|
||||
|
||||
@@ -115,7 +115,7 @@ rule init ( version ? : cmd-or-prefix ?
|
||||
}
|
||||
}
|
||||
|
||||
- configure $(version) : $(cmd-or-prefix) : $(includes) : $(libraries) : $(condition) : $(extension-suffix) ;
|
||||
+ configure $(version) : $(cmd-or-prefix) : $(includes) : $(libraries) : $(condition) : $(extension-suffix) : $(abi-letters) ;
|
||||
|
||||
project.pop-current ;
|
||||
}
|
||||
@@ -510,7 +510,7 @@ local rule probe ( python-cmd )
|
||||
# have a value based on the information given.
|
||||
#
|
||||
local rule compute-default-paths ( target-os : version ? : prefix ? :
|
||||
- exec-prefix ? )
|
||||
+ exec-prefix ? : abi-letters ? )
|
||||
{
|
||||
exec-prefix ?= $(prefix) ;
|
||||
|
||||
@@ -677,7 +677,7 @@ rule version-suffix ( version )
|
||||
|
||||
# Declare a target to represent Python's library.
|
||||
#
|
||||
-local rule declare-libpython-target ( version ? : requirements * )
|
||||
+local rule declare-libpython-target ( version ? : requirements * : abi-letters ? )
|
||||
{
|
||||
# Compute the representation of Python version in the name of Python's
|
||||
# library file.
|
||||
@@ -701,13 +701,13 @@ local rule declare-libpython-target ( ve
|
||||
}
|
||||
|
||||
# Declare it.
|
||||
- lib python.lib : : <name>python$(lib-version) $(requirements) ;
|
||||
+ lib python.lib : : <name>python$(lib-version)$(abi-letters) $(requirements) ;
|
||||
}
|
||||
|
||||
|
||||
# Implementation of init.
|
||||
local rule configure ( version ? : cmd-or-prefix ? : includes * : libraries ? :
|
||||
- condition * : extension-suffix ? )
|
||||
+ condition * : extension-suffix ? : abi-letters ? )
|
||||
{
|
||||
local prefix ;
|
||||
local exec-prefix ;
|
||||
@@ -723,6 +723,7 @@ local rule configure ( version ? : cmd-o
|
||||
extension-suffix ?= _d ;
|
||||
}
|
||||
extension-suffix ?= "" ;
|
||||
+ abi-letters ?= "" ;
|
||||
|
||||
local cmds-to-try ;
|
||||
|
||||
@@ -798,7 +799,7 @@ local rule configure ( version ? : cmd-o
|
||||
exec-prefix = $(sys.exec_prefix) ;
|
||||
|
||||
compute-default-paths $(target-os) : $(sys.version) :
|
||||
- $(sys.prefix) : $(sys.exec_prefix) ;
|
||||
+ $(sys.prefix) : $(sys.exec_prefix) : $(sys.abi_letters) ;
|
||||
|
||||
version = $(sys.version) ;
|
||||
interpreter-cmd ?= $(cmd) ;
|
||||
@@ -979,7 +980,7 @@ local rule configure ( version ? : cmd-o
|
||||
}
|
||||
else
|
||||
{
|
||||
- declare-libpython-target $(version) : $(target-requirements) ;
|
||||
+ declare-libpython-target $(version) : $(target-requirements) : $(abi-letters) ;
|
||||
|
||||
# This is an evil hack. On, Windows, when Python is embedded, nothing
|
||||
# seems to set up sys.path to include Python's standard library
|
|
@ -0,0 +1,12 @@
|
|||
Index: boost_1_80_0/tools/build/src/tools/gcc.jam
|
||||
===================================================================
|
||||
--- boost_1_80_0.orig/tools/build/src/tools/gcc.jam
|
||||
+++ boost_1_80_0/tools/build/src/tools/gcc.jam
|
||||
@@ -371,7 +371,6 @@ local rule compile-link-flags ( * )
|
||||
local generic-os = [ set.difference $(all-os) : aix hpux ] ;
|
||||
local arch = power sparc x86 ;
|
||||
compile-link-flags <target-os>$(generic-os)/<architecture>$(arch)/<address-model>32 : -m32 ;
|
||||
- compile-link-flags <target-os>$(generic-os)/<architecture>$(arch)/<address-model>64 : -m64 ;
|
||||
}
|
||||
|
||||
{
|
|
@ -0,0 +1,144 @@
|
|||
Index: libs/python/src/dict.cpp
|
||||
===================================================================
|
||||
--- libs/python/src/dict.cpp.orig
|
||||
+++ libs/python/src/dict.cpp
|
||||
@@ -28,9 +28,9 @@ namespace
|
||||
|
||||
detail::new_reference dict_base::call(object const& arg_)
|
||||
{
|
||||
+ union { PyTypeObject *ptop; PyObject *pop; }pun = { &PyDict_Type };
|
||||
return (detail::new_reference)PyObject_CallFunction(
|
||||
- (PyObject*)&PyDict_Type, const_cast<char*>("(O)"),
|
||||
- arg_.ptr());
|
||||
+ pun.pop, const_cast<char*>("(O)"), arg_.ptr());
|
||||
}
|
||||
|
||||
dict_base::dict_base()
|
||||
Index: libs/python/src/list.cpp
|
||||
===================================================================
|
||||
--- libs/python/src/list.cpp.orig
|
||||
+++ libs/python/src/list.cpp
|
||||
@@ -10,11 +10,11 @@ namespace boost { namespace python { nam
|
||||
|
||||
detail::new_non_null_reference list_base::call(object const& arg_)
|
||||
{
|
||||
+ union{ PyTypeObject *ptop; PyObject *pop; }pun = { &PyList_Type };
|
||||
return (detail::new_non_null_reference)
|
||||
(expect_non_null)(
|
||||
PyObject_CallFunction(
|
||||
- (PyObject*)&PyList_Type, const_cast<char*>("(O)"),
|
||||
- arg_.ptr()));
|
||||
+ pun.pop, const_cast<char*>("(O)"), arg_.ptr()));
|
||||
}
|
||||
|
||||
list_base::list_base()
|
||||
Index: libs/python/src/long.cpp
|
||||
===================================================================
|
||||
--- libs/python/src/long.cpp.orig
|
||||
+++ libs/python/src/long.cpp
|
||||
@@ -8,16 +8,16 @@ namespace boost { namespace python { nam
|
||||
|
||||
new_reference long_base::call(object const& arg_)
|
||||
{
|
||||
+ union { PyTypeObject *ptop; PyObject *pop; }pun = { &PyLong_Type };
|
||||
return (detail::new_reference)PyObject_CallFunction(
|
||||
- (PyObject*)&PyLong_Type, const_cast<char*>("(O)"),
|
||||
- arg_.ptr());
|
||||
+ pun.pop, const_cast<char*>("(O)"), arg_.ptr());
|
||||
}
|
||||
|
||||
new_reference long_base::call(object const& arg_, object const& base)
|
||||
{
|
||||
+ union { PyTypeObject *ptop; PyObject *pop; }pun = { &PyLong_Type };
|
||||
return (detail::new_reference)PyObject_CallFunction(
|
||||
- (PyObject*)&PyLong_Type, const_cast<char*>("(OO)"),
|
||||
- arg_.ptr(), base.ptr());
|
||||
+ pun.pop, const_cast<char*>("(OO)"), arg_.ptr(), base.ptr());
|
||||
}
|
||||
|
||||
long_base::long_base()
|
||||
@@ -25,7 +25,12 @@ long_base::long_base()
|
||||
detail::new_reference(
|
||||
PyObject_CallFunction((PyObject*)&PyLong_Type, const_cast<char*>("()")))
|
||||
)
|
||||
-{}
|
||||
+{
|
||||
+ union { PyTypeObject *ptop; PyObject *pop; }pun = { &PyLong_Type };
|
||||
+ object(detail::new_reference(
|
||||
+ PyObject_CallFunction(pun.pop, const_cast<char*>("()"))));
|
||||
+}
|
||||
+
|
||||
|
||||
long_base::long_base(object_cref arg)
|
||||
: object(long_base::call(arg))
|
||||
Index: libs/python/src/object/class.cpp
|
||||
===================================================================
|
||||
--- libs/python/src/object/class.cpp.orig
|
||||
+++ libs/python/src/object/class.cpp
|
||||
@@ -612,9 +612,11 @@ namespace objects
|
||||
void class_base::add_property(
|
||||
char const* name, object const& fget, char const* docstr)
|
||||
{
|
||||
+ union { PyTypeObject *ptop; PyObject *pop; }pun = { &PyProperty_Type };
|
||||
+
|
||||
object property(
|
||||
(python::detail::new_reference)
|
||||
- PyObject_CallFunction((PyObject*)&PyProperty_Type, const_cast<char*>("Osss"), fget.ptr(), (char*)NULL, (char*)NULL, docstr));
|
||||
+ PyObject_CallFunction(pun.pop, const_cast<char*>("Osss"), fget.ptr(), (char*)NULL, (char*)NULL, docstr));
|
||||
|
||||
this->setattr(name, property);
|
||||
}
|
||||
@@ -622,9 +624,11 @@ namespace objects
|
||||
void class_base::add_property(
|
||||
char const* name, object const& fget, object const& fset, char const* docstr)
|
||||
{
|
||||
+ union { PyTypeObject *ptop; PyObject *pop; }pun = { &PyProperty_Type };
|
||||
+
|
||||
object property(
|
||||
(python::detail::new_reference)
|
||||
- PyObject_CallFunction((PyObject*)&PyProperty_Type, const_cast<char*>("OOss"), fget.ptr(), fset.ptr(), (char*)NULL, docstr));
|
||||
+ PyObject_CallFunction(pun.pop, const_cast<char*>("OOss"), fget.ptr(), fset.ptr(), (char*)NULL, docstr));
|
||||
|
||||
this->setattr(name, property);
|
||||
}
|
||||
Index: libs/python/src/str.cpp
|
||||
===================================================================
|
||||
--- libs/python/src/str.cpp.orig
|
||||
+++ libs/python/src/str.cpp
|
||||
@@ -9,14 +9,14 @@ namespace boost { namespace python { nam
|
||||
|
||||
detail::new_reference str_base::call(object const& arg_)
|
||||
{
|
||||
- return (detail::new_reference)PyObject_CallFunction(
|
||||
#if PY_VERSION_HEX >= 0x03000000
|
||||
- (PyObject*)&PyUnicode_Type,
|
||||
+ union { PyTypeObject *ptop; PyObject *pop; }pun = { &PyUnicode_Type };
|
||||
#else
|
||||
- (PyObject*)&PyString_Type,
|
||||
+ union { PyTypeObject *ptop; PyObject *pop; }pun = { &PyString_Type };
|
||||
#endif
|
||||
- const_cast<char*>("(O)"),
|
||||
- arg_.ptr());
|
||||
+
|
||||
+ return (detail::new_reference)PyObject_CallFunction(
|
||||
+ pun.pop, const_cast<char*>("(O)"), arg_.ptr());
|
||||
}
|
||||
|
||||
str_base::str_base()
|
||||
Index: libs/python/src/tuple.cpp
|
||||
===================================================================
|
||||
--- libs/python/src/tuple.cpp.orig
|
||||
+++ libs/python/src/tuple.cpp
|
||||
@@ -8,9 +8,10 @@ namespace boost { namespace python { nam
|
||||
|
||||
detail::new_reference tuple_base::call(object const& arg_)
|
||||
{
|
||||
+ union { PyTypeObject *ptop; PyObject *pop; }pun = { &PyTuple_Type };
|
||||
+
|
||||
return (detail::new_reference)PyObject_CallFunction(
|
||||
- (PyObject*)&PyTuple_Type, const_cast<char*>("(O)"),
|
||||
- arg_.ptr());
|
||||
+ pun.pop, const_cast<char*>("(O)"), arg_.ptr());
|
||||
}
|
||||
|
||||
tuple_base::tuple_base()
|
|
@ -0,0 +1,36 @@
|
|||
Upstream URL: https://svn.boost.org/trac/boost/ticket/6701
|
||||
|
||||
Check that request size doesn't overflow.
|
||||
|
||||
Index: boost/pool/pool.hpp
|
||||
===================================================================
|
||||
--- boost/pool/pool.hpp.orig
|
||||
+++ boost/pool/pool.hpp
|
||||
@@ -10,6 +10,8 @@
|
||||
#define BOOST_POOL_HPP
|
||||
|
||||
#include <boost/config.hpp> // for workarounds
|
||||
+// std::numeric_limits
|
||||
+#include <boost/limits.hpp>
|
||||
|
||||
// std::less, std::less_equal, std::greater
|
||||
#include <functional>
|
||||
@@ -806,6 +808,9 @@ void * pool<UserAllocator>::ordered_mall
|
||||
if (n > max_chunks())
|
||||
return 0;
|
||||
|
||||
+ if (requested_size && (n > (std::numeric_limits<size_type>::max)() / requested_size))
|
||||
+ return 0;
|
||||
+
|
||||
const size_type partition_size = alloc_size();
|
||||
const size_type total_req_size = n * requested_size;
|
||||
const size_type num_chunks = total_req_size / partition_size +
|
||||
@@ -988,6 +993,8 @@ public:
|
||||
{
|
||||
if(max_alloc_size && (n > max_alloc_size))
|
||||
return 0;
|
||||
+ if(chunk_size && (n > (std::numeric_limits<size_type>::max)() / chunk_size))
|
||||
+ return 0;
|
||||
void* ret = (user_allocator::malloc)(chunk_size * n);
|
||||
used_list.insert(ret);
|
||||
return ret;
|
|
@ -0,0 +1,23 @@
|
|||
From e08374ed95ac33865bda40602c94909e7cd9607f Mon Sep 17 00:00:00 2001
|
||||
From: Eddie-cz <48474051+Eddie-cz@users.noreply.github.com>
|
||||
Date: Mon, 2 Aug 2021 10:49:42 +0200
|
||||
Subject: [PATCH] Update wchar_t.hpp
|
||||
|
||||
---
|
||||
include/boost/process/detail/traits/wchar_t.hpp | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/include/boost/process/detail/traits/wchar_t.hpp b/include/boost/process/detail/traits/wchar_t.hpp
|
||||
index 812a92c..98026d3 100644
|
||||
--- a/include/boost/process/detail/traits/wchar_t.hpp
|
||||
+++ b/include/boost/process/detail/traits/wchar_t.hpp
|
||||
@@ -12,6 +12,8 @@
|
||||
#include <boost/process/detail/traits/env.hpp>
|
||||
#include <boost/process/locale.hpp>
|
||||
|
||||
+#include <algorithm>
|
||||
+
|
||||
namespace boost { namespace process { namespace detail {
|
||||
|
||||
//template
|
||||
|
|
@ -0,0 +1,30 @@
|
|||
Index: boost_1_80_0/tools/boost_install/boost-install.jam
|
||||
===================================================================
|
||||
--- boost_1_80_0.orig/tools/boost_install/boost-install.jam
|
||||
+++ boost_1_80_0/tools/boost_install/boost-install.jam
|
||||
@@ -753,25 +753,6 @@ rule generate-cmake-config- ( target : s
|
||||
"get_filename_component(_BOOST_CMAKEDIR \"${CMAKE_CURRENT_LIST_DIR}/../\" REALPATH)"
|
||||
: true ;
|
||||
|
||||
- if [ path.is-rooted $(cmakedir) ]
|
||||
- {
|
||||
- local cmakedir-native = [ path-native-fwd $(cmakedir) ] ;
|
||||
-
|
||||
- print.text
|
||||
-
|
||||
- ""
|
||||
- "# If the computed and the original directories are symlink-equivalent, use original"
|
||||
- "if(EXISTS \"$(cmakedir-native)\")"
|
||||
- " get_filename_component(_BOOST_CMAKEDIR_ORIGINAL \"$(cmakedir-native)\" REALPATH)"
|
||||
- " if(_BOOST_CMAKEDIR STREQUAL _BOOST_CMAKEDIR_ORIGINAL)"
|
||||
- " set(_BOOST_CMAKEDIR \"$(cmakedir-native)\")"
|
||||
- " endif()"
|
||||
- " unset(_BOOST_CMAKEDIR_ORIGINAL)"
|
||||
- "endif()"
|
||||
- ""
|
||||
- : true ;
|
||||
- }
|
||||
-
|
||||
get-dir "_BOOST_INCLUDEDIR" : $(includedir) ;
|
||||
|
||||
if $(library-type) = INTERFACE
|
|
@ -0,0 +1,14 @@
|
|||
# This line is mandatory to access the configuration functions
|
||||
from Config import *
|
||||
|
||||
addFilter("boost.* shlib-policy-nonversioned-dir")
|
||||
addFilter("boost.* shlib-policy-missing-suffix")
|
||||
addFilter("boost-doc.* devel-dependency")
|
||||
addFilter("boost.* rpm-buildroot-usage")
|
||||
addFilter("boost.* explicit-lib-dependency")
|
||||
addFilter("boost.* filename-too-long-for-joliet")
|
||||
addFilter("boost.* no-binary")
|
||||
addFilter("boost.* static-library-without-debuginfo")
|
||||
addFilter("boost.* obsolete-suse-version-check")
|
||||
addFilter("boost.* shlib-unversioned-lib")
|
||||
addFilter("boost.* no-dependency-on")
|
|
@ -0,0 +1,31 @@
|
|||
Index: tools/build/src/tools/gcc.jam
|
||||
===================================================================
|
||||
--- tools/build/src/tools/gcc.jam.orig
|
||||
+++ tools/build/src/tools/gcc.jam
|
||||
@@ -623,17 +623,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 <optimization>minimal : -O1 ;
|
||||
-toolset.flags gcc.compile OPTIONS <optimization>debug : -Og ;
|
||||
+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 : ;
|
||||
|
||||
-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>off : ;
|
||||
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 ;
|
|
@ -0,0 +1,12 @@
|
|||
Index: libs/python/build/Jamfile
|
||||
===================================================================
|
||||
--- libs/python/build/Jamfile.orig
|
||||
+++ libs/python/build/Jamfile
|
||||
@@ -94,6 +94,7 @@ lib boost_python
|
||||
<python-debugging>on:<define>BOOST_DEBUG_PYTHON
|
||||
-<tag>@$(BOOST_JAMROOT_MODULE)%$(BOOST_JAMROOT_MODULE).tag
|
||||
<tag>@python-tag
|
||||
+ <cxxflags>-fno-strict-aliasing
|
||||
<conditional>@python.require-py
|
||||
|
||||
: # default build
|
|
@ -0,0 +1,13 @@
|
|||
Index: boost_1_58_0/boost/config/compiler/gcc.hpp
|
||||
===================================================================
|
||||
--- boost_1_58_0.orig/boost/config/compiler/gcc.hpp
|
||||
+++ boost_1_58_0/boost/config/compiler/gcc.hpp
|
||||
@@ -73,7 +73,7 @@
|
||||
// those platforms where we can know for sure). It will get turned off again
|
||||
// later if no threading API is detected.
|
||||
//
|
||||
-#if !defined(__MINGW32__) && !defined(linux) && !defined(__linux) && !defined(__linux__)
|
||||
+#if !defined(__MINGW32__)
|
||||
# define BOOST_HAS_THREADS
|
||||
#endif
|
||||
|
|
@ -0,0 +1,46 @@
|
|||
Index: boost_1_74_0/tools/build/src/tools/boostbook.jam
|
||||
===================================================================
|
||||
--- boost_1_74_0.orig/tools/build/src/tools/boostbook.jam
|
||||
+++ boost_1_74_0/tools/build/src/tools/boostbook.jam
|
||||
@@ -546,40 +546,7 @@ rule generate-xml-catalog ( target : sou
|
||||
" <rewriteURI uriStartString=\"http://www.boost.org/tools/boostbook/dtd/\" rewritePrefix=\"file://$(boostbook-dtd-dir)/\"/>"
|
||||
: true ;
|
||||
|
||||
- local docbook-xsl-dir = [ boostbook.docbook-xsl-dir ] ;
|
||||
- if ! $(docbook-xsl-dir)
|
||||
- {
|
||||
- ECHO "BoostBook warning: no DocBook XSL directory specified." ;
|
||||
- ECHO " If you have the DocBook XSL stylesheets installed, please " ;
|
||||
- ECHO " set DOCBOOK_XSL_DIR to the stylesheet directory on either " ;
|
||||
- ECHO " the command line (via -sDOCBOOK_XSL_DIR=...) or in a " ;
|
||||
- ECHO " Boost.Jam configuration file. The DocBook XSL stylesheets " ;
|
||||
- ECHO " are available here: http://docbook.sourceforge.net/ " ;
|
||||
- ECHO " Stylesheets will be downloaded on-the-fly (very slow!) " ;
|
||||
- }
|
||||
- else
|
||||
- {
|
||||
- docbook-xsl-dir = [ format-catalog-path $(docbook-xsl-dir) ] ;
|
||||
- print.text " <rewriteURI uriStartString=\"http://docbook.sourceforge.net/release/xsl/current/\" rewritePrefix=\"file://$(docbook-xsl-dir)/\"/>" ;
|
||||
- }
|
||||
-
|
||||
- local docbook-dtd-dir = [ boostbook.docbook-dtd-dir ] ;
|
||||
- if ! $(docbook-dtd-dir)
|
||||
- {
|
||||
- ECHO "BoostBook warning: no DocBook DTD directory specified." ;
|
||||
- ECHO " If you have the DocBook DTD installed, please set " ;
|
||||
- ECHO " DOCBOOK_DTD_DIR to the DTD directory on either " ;
|
||||
- ECHO " the command line (via -sDOCBOOK_DTD_DIR=...) or in a " ;
|
||||
- ECHO " Boost.Jam configuration file. The DocBook DTD is available " ;
|
||||
- ECHO " here: http://www.oasis-open.org/docbook/xml/4.2/index.shtml" ;
|
||||
- ECHO " The DTD will be downloaded on-the-fly (very slow!) " ;
|
||||
- }
|
||||
- else
|
||||
- {
|
||||
- docbook-dtd-dir = [ format-catalog-path $(docbook-dtd-dir) ] ;
|
||||
- print.text " <rewriteURI uriStartString=\"http://www.oasis-open.org/docbook/xml/4.2/\" rewritePrefix=\"file://$(docbook-dtd-dir)/\"/>" ;
|
||||
- }
|
||||
-
|
||||
+ print.text " <nextCatalog catalog=\"file:///etc/xml/catalog\"/> " ;
|
||||
print.text "</catalog>" ;
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,110 @@
|
|||
Index: boost_1_80_0/libs/test/build/Jamfile.v2
|
||||
===================================================================
|
||||
--- boost_1_80_0.orig/libs/test/build/Jamfile.v2
|
||||
+++ boost_1_80_0/libs/test/build/Jamfile.v2
|
||||
@@ -95,7 +95,7 @@ lib boost_test_exec_monitor
|
||||
: # sources
|
||||
$(TEST_EXEC_MON_SOURCES).cpp
|
||||
: # requirements
|
||||
- <link>static
|
||||
+ # <link>static
|
||||
: # default build
|
||||
: # usage-requirements
|
||||
<link>shared:<define>BOOST_TEST_DYN_LINK=1
|
||||
Index: boost_1_80_0/libs/exception/build/Jamfile.v2
|
||||
===================================================================
|
||||
--- boost_1_80_0.orig/libs/exception/build/Jamfile.v2
|
||||
+++ boost_1_80_0/libs/exception/build/Jamfile.v2
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
project boost/exception
|
||||
: source-location ../src
|
||||
- : requirements <link>static
|
||||
+ : # requirements <link>static
|
||||
;
|
||||
|
||||
lib boost_exception : clone_current_exception_non_intrusive.cpp ;
|
||||
Index: boost_1_80_0/libs/chrono/build/Jamfile.v2
|
||||
===================================================================
|
||||
--- boost_1_80_0.orig/libs/chrono/build/Jamfile.v2
|
||||
+++ boost_1_80_0/libs/chrono/build/Jamfile.v2
|
||||
@@ -90,7 +90,7 @@ project boost/chrono
|
||||
<toolset>sun:<define>__typeof__=__typeof__
|
||||
|
||||
<link>shared:<define>BOOST_CHRONO_DYN_LINK=1
|
||||
- <link>static:<define>BOOST_CHRONO_STATIC_LINK=1
|
||||
+ # <link>static:<define>BOOST_CHRONO_STATIC_LINK=1
|
||||
<toolset>gcc-3.4.4:<linkflags>--enable-auto-import
|
||||
<toolset>gcc-4.3.4:<linkflags>--enable-auto-import
|
||||
<toolset>gcc-4.4.0,<target-os>windows:<linkflags>--enable-auto-import
|
||||
@@ -104,7 +104,7 @@ lib boost_chrono
|
||||
: $(SOURCES).cpp
|
||||
:
|
||||
<link>shared:<define>BOOST_ALL_DYN_LINK=1 # tell source we're building dll's
|
||||
- <link>static:<define>BOOST_All_STATIC_LINK=1 # tell source we're building static lib's
|
||||
+ # <link>static:<define>BOOST_All_STATIC_LINK=1 # tell source we're building static lib's
|
||||
;
|
||||
|
||||
boost-install boost_chrono ;
|
||||
Index: boost_1_80_0/libs/system/build/Jamfile.v2
|
||||
===================================================================
|
||||
--- boost_1_80_0.orig/libs/system/build/Jamfile.v2
|
||||
+++ boost_1_80_0/libs/system/build/Jamfile.v2
|
||||
@@ -11,7 +11,7 @@ project boost/system
|
||||
: source-location ../src
|
||||
: usage-requirements # pass these requirement to dependents (i.e. users)
|
||||
<link>shared:<define>BOOST_SYSTEM_DYN_LINK=1
|
||||
- <link>static:<define>BOOST_SYSTEM_STATIC_LINK=1
|
||||
+# <link>static:<define>BOOST_SYSTEM_STATIC_LINK=1
|
||||
;
|
||||
|
||||
SOURCES = error_code ;
|
||||
@@ -19,7 +19,7 @@ SOURCES = error_code ;
|
||||
lib boost_system
|
||||
: $(SOURCES).cpp
|
||||
: <link>shared:<define>BOOST_SYSTEM_DYN_LINK=1
|
||||
- <link>static:<define>BOOST_SYSTEM_STATIC_LINK=1
|
||||
+# <link>static:<define>BOOST_SYSTEM_STATIC_LINK=1
|
||||
;
|
||||
|
||||
boost-install boost_system ;
|
||||
Index: boost_1_80_0/libs/timer/build/Jamfile.v2
|
||||
===================================================================
|
||||
--- boost_1_83_0.orig/libs/timer/build/Jamfile.v2
|
||||
+++ boost_1_83_0/libs/timer/build/Jamfile.v2
|
||||
@@ -15,11 +15,11 @@
|
||||
: ../src/$(SOURCES).cpp
|
||||
: # requirements
|
||||
<link>shared:<define>BOOST_TIMER_DYN_LINK=1
|
||||
- <link>static:<define>BOOST_TIMER_STATIC_LINK=1
|
||||
+# <link>static:<define>BOOST_TIMER_STATIC_LINK=1
|
||||
: # default-build
|
||||
: # usage-requirements
|
||||
<link>shared:<define>BOOST_TIMER_DYN_LINK=1
|
||||
- <link>static:<define>BOOST_TIMER_STATIC_LINK=1
|
||||
+# <link>static:<define>BOOST_TIMER_STATIC_LINK=1
|
||||
;
|
||||
|
||||
boost-install boost_timer ;
|
||||
Index: boost_1_80_0/libs/filesystem/build/Jamfile.v2
|
||||
===================================================================
|
||||
--- boost_1_80_0.orig/libs/filesystem/build/Jamfile.v2
|
||||
+++ boost_1_80_0/libs/filesystem/build/Jamfile.v2
|
||||
@@ -130,7 +130,7 @@ project boost/filesystem
|
||||
: source-location ../src
|
||||
: usage-requirements # pass these requirement to dependents (i.e. users)
|
||||
<link>shared:<define>BOOST_FILESYSTEM_DYN_LINK=1
|
||||
- <link>static:<define>BOOST_FILESYSTEM_STATIC_LINK=1
|
||||
+# <link>static:<define>BOOST_FILESYSTEM_STATIC_LINK=1
|
||||
;
|
||||
|
||||
SOURCES =
|
||||
@@ -163,7 +163,7 @@ lib boost_filesystem
|
||||
<conditional>@select-platform-specific-sources
|
||||
<include>../src
|
||||
<link>shared:<define>BOOST_FILESYSTEM_DYN_LINK=1
|
||||
- <link>static:<define>BOOST_FILESYSTEM_STATIC_LINK=1
|
||||
+# <link>static:<define>BOOST_FILESYSTEM_STATIC_LINK=1
|
||||
:
|
||||
:
|
||||
;
|
|
@ -0,0 +1 @@
|
|||
boost::exception_detail::clone_current_exception_non_intrusive(boost::exception_detail::clone_base const*&)
|
|
@ -0,0 +1,470 @@
|
|||
libs/algorithm/minmax/example/minmax_ex.cpp
|
||||
libs/algorithm/minmax/example/minmax_timer.cpp
|
||||
libs/assign/test/array.cpp
|
||||
libs/assign/test/list_inserter.cpp
|
||||
libs/assign/test/list_of.cpp
|
||||
libs/assign/test/list_of_workaround.cpp
|
||||
libs/assign/test/std.cpp
|
||||
libs/bind/bind_as_compose.cpp
|
||||
libs/bind/bind_visitor.cpp
|
||||
libs/bind/test/bind_fastcall_mf_test.cpp
|
||||
libs/bind/test/bind_fastcall_test.cpp
|
||||
libs/bind/test/bind_stdcall_mf_test.cpp
|
||||
libs/bind/test/bind_stdcall_test.cpp
|
||||
libs/bind/test/bind_test.cpp
|
||||
libs/bind/test/mem_fn_derived_test.cpp
|
||||
libs/bind/test/mem_fn_fastcall_test.cpp
|
||||
libs/bind/test/mem_fn_stdcall_test.cpp
|
||||
libs/bind/test/mem_fn_test.cpp
|
||||
libs/bind/test/mem_fn_void_test.cpp
|
||||
libs/compatibility/generate_cpp_c_headers.py
|
||||
libs/concept_check/bad_error_eg.cpp
|
||||
libs/concept_check/stl_concept_check.cpp
|
||||
libs/concept_check/stl_concept_covering.cpp
|
||||
libs/config/test/limits_test.cpp
|
||||
libs/config/tools/configure.in
|
||||
libs/conversion/cast_test.cpp
|
||||
libs/conversion/lexical_cast_test.cpp
|
||||
libs/crc/crc_example.cpp
|
||||
libs/filesystem/build/Jamfile.v2
|
||||
libs/filesystem/example/simple_ls.cpp
|
||||
libs/filesystem/test/fstream_test.cpp
|
||||
libs/filesystem/test/operations_test.cpp
|
||||
libs/filesystem/test/path_test.cpp
|
||||
libs/filesystem/test/wide_test.cpp
|
||||
libs/format/example/sample_advanced.cpp
|
||||
libs/format/example/sample_formats.cpp
|
||||
libs/format/example/sample_new_features.cpp
|
||||
libs/format/example/sample_userType.cpp
|
||||
libs/functional/hash/examples/books.cpp
|
||||
libs/functional/hash/examples/point.cpp
|
||||
libs/functional/hash/examples/portable.cpp
|
||||
libs/function/test/allocator_test.cpp
|
||||
libs/function/test/contains_test.cpp
|
||||
libs/function/test/function_30.cpp
|
||||
libs/function/test/function_arith_cxx98.cpp
|
||||
libs/function/test/function_arith_portable.cpp
|
||||
libs/function/test/function_n_test.cpp
|
||||
libs/function/test/function_ref_cxx98.cpp
|
||||
libs/function/test/function_ref_portable.cpp
|
||||
libs/function/test/function_test.cpp
|
||||
libs/function/test/function_test_fail1.cpp
|
||||
libs/function/test/function_test_fail2.cpp
|
||||
libs/function/test/lambda_test.cpp
|
||||
libs/function/test/mem_fun_cxx98.cpp
|
||||
libs/function/test/mem_fun_portable.cpp
|
||||
libs/function/test/stateless_test.cpp
|
||||
libs/function/test/std_bind_cxx98.cpp
|
||||
libs/function/test/std_bind_portable.cpp
|
||||
libs/function/test/sum_avg_cxx98.cpp
|
||||
libs/function/test/sum_avg_portable.cpp
|
||||
libs/graph/doc/iscope99.pdf
|
||||
libs/graph/doc/isomorphism-impl.pdf
|
||||
libs/graph/example/bfs.cpp
|
||||
libs/graph/example/bfs-example2.cpp
|
||||
libs/graph/example/bfs-example.cpp
|
||||
libs/graph/example/biconnected_components.cpp
|
||||
libs/graph/example/city_visitor.cpp
|
||||
libs/graph/example/connected_components.cpp
|
||||
libs/graph/example/csr-example.cpp
|
||||
libs/graph/example/cuthill_mckee_ordering.cpp
|
||||
libs/graph/example/dave.cpp
|
||||
libs/graph/example/dfs-example.cpp
|
||||
libs/graph/example/dfs_parenthesis.cpp
|
||||
libs/graph/example/dijkstra-example.cpp
|
||||
libs/graph/example/family-tree-eg.cpp
|
||||
libs/graph/example/file_dependencies.cpp
|
||||
libs/graph/example/fr_layout.cpp
|
||||
libs/graph/example/girth.cpp
|
||||
libs/graph/example/graphviz.cpp
|
||||
libs/graph/example/incremental_components.cpp
|
||||
libs/graph/example/isomorphism.cpp
|
||||
libs/graph/example/johnson-eg.cpp
|
||||
libs/graph/example/kevin-bacon.cpp
|
||||
libs/graph/example/king_ordering.cpp
|
||||
libs/graph/example/kruskal-example.cpp
|
||||
libs/graph/example/matching_example.cpp
|
||||
libs/graph/example/max_flow.cpp
|
||||
libs/graph/example/miles_span.cpp
|
||||
libs/graph/example/minimum_degree_ordering.cpp
|
||||
libs/graph/example/ordered_out_edges.cpp
|
||||
libs/graph/example/quick_tour.cpp
|
||||
libs/graph/example/reverse-graph-eg.cpp
|
||||
libs/graph/example/roget_components.cpp
|
||||
libs/graph/example/sloan_ordering.cpp
|
||||
libs/graph/example/strong_components.cpp
|
||||
libs/graph/example/transitive_closure.cpp
|
||||
libs/graph/example/transpose-example.cpp
|
||||
libs/graph/example/undirected.cpp
|
||||
libs/graph/example/undirected_dfs.cpp
|
||||
libs/graph/test/dominator_tree_test.cpp
|
||||
libs/graph/test/graph.cpp
|
||||
libs/integer/test/integer_mask_test.cpp
|
||||
libs/integer/test/static_log2_test.cpp
|
||||
libs/integer/test/static_min_max_test.cpp
|
||||
libs/iostreams/doc/tree/tree.js
|
||||
libs/iostreams/example/container_device.hpp
|
||||
libs/iostreams/example/dictionary_filter.hpp
|
||||
libs/iostreams/example/finite_state_filter.hpp
|
||||
libs/iostreams/example/line_wrapping_filter.hpp
|
||||
libs/iostreams/example/shell_comments_filter.hpp
|
||||
libs/iostreams/example/tab_expanding_filter.hpp
|
||||
libs/iostreams/example/unix2dos_filter.hpp
|
||||
libs/iostreams/src/bzip2.cpp
|
||||
libs/iostreams/src/file_descriptor.cpp
|
||||
libs/iostreams/src/mapped_file.cpp
|
||||
libs/iostreams/src/zlib.cpp
|
||||
libs/iostreams/test/bzip2_test.cpp
|
||||
libs/iostreams/test/file_descriptor_test.cpp
|
||||
libs/iostreams/test/finite_state_filter_test.cpp
|
||||
libs/iostreams/test/mapped_file_test.cpp
|
||||
libs/iostreams/test/seekable_file_test.cpp
|
||||
libs/io/test/ios_state_test.cpp
|
||||
libs/iterator/doc/BidirectionalTraversal.rst
|
||||
libs/iterator/doc/counting_iterator.pdf
|
||||
libs/iterator/doc/counting_iterator.rst
|
||||
libs/iterator/doc/facade-and-adaptor.pdf
|
||||
libs/iterator/doc/facade-and-adaptor.rst
|
||||
libs/iterator/doc/filter_iterator.pdf
|
||||
libs/iterator/doc/filter_iterator.rst
|
||||
libs/iterator/doc/ForwardTraversal.rst
|
||||
libs/iterator/doc/function_output_iterator.pdf
|
||||
libs/iterator/doc/function_output_iterator.rst
|
||||
libs/iterator/doc/IncrementableIterator.rst
|
||||
libs/iterator/doc/index.rst
|
||||
libs/iterator/doc/indirect_iterator.pdf
|
||||
libs/iterator/doc/indirect_iterator.rst
|
||||
libs/iterator/doc/iterator_adaptor.pdf
|
||||
libs/iterator/doc/iterator_adaptor.rst
|
||||
libs/iterator/doc/iterator_archetypes.pdf
|
||||
libs/iterator/doc/iterator_archetypes.rst
|
||||
libs/iterator/doc/iterator_concepts.pdf
|
||||
libs/iterator/doc/iterator_concepts.rst
|
||||
libs/iterator/doc/iterator_facade.pdf
|
||||
libs/iterator/doc/iterator_facade.rst
|
||||
libs/iterator/doc/iterator_traits.pdf
|
||||
libs/iterator/doc/iterator_traits.rst
|
||||
libs/iterator/doc/LvalueIterator.rst
|
||||
libs/iterator/doc/new-iter-concepts.pdf
|
||||
libs/iterator/doc/new-iter-concepts.rst
|
||||
libs/iterator/doc/permutation_iterator.pdf
|
||||
libs/iterator/doc/permutation_iterator.rst
|
||||
libs/iterator/doc/pointee.pdf
|
||||
libs/iterator/doc/pointee.rst
|
||||
libs/iterator/doc/RandomAccessTraversal.rst
|
||||
libs/iterator/doc/ReadableIterator.rst
|
||||
libs/iterator/doc/reverse_iterator.pdf
|
||||
libs/iterator/doc/reverse_iterator.rst
|
||||
libs/iterator/doc/SinglePassIterator.rst
|
||||
libs/iterator/doc/SwappableIterator.rst
|
||||
libs/iterator/doc/transform_iterator.pdf
|
||||
libs/iterator/doc/transform_iterator.rst
|
||||
libs/iterator/doc/WritableIterator.rst
|
||||
libs/iterator/doc/zip_iterator.pdf
|
||||
libs/iterator/doc/zip_iterator.rst
|
||||
libs/iterator/example/counting_iterator_example.cpp
|
||||
libs/iterator/example/filter_iterator_example.cpp
|
||||
libs/iterator/example/indirect_iterator_example.cpp
|
||||
libs/iterator/example/node_iterator1.cpp
|
||||
libs/iterator/example/node_iterator2.cpp
|
||||
libs/iterator/example/node_iterator2.hpp
|
||||
libs/iterator/example/node_iterator3.cpp
|
||||
libs/iterator/example/permutation_iter_example.cpp
|
||||
libs/iterator/example/reverse_iterator_example.cpp
|
||||
libs/iterator/example/transform_iterator_example.cpp
|
||||
libs/logic/test/tribool_io_test.cpp
|
||||
libs/logic/test/tribool_rename_test.cpp
|
||||
libs/logic/test/tribool_test.cpp
|
||||
libs/math/octonion/graphics/octonion_blurb17.jpeg
|
||||
libs/math/octonion/octonion_test.cpp
|
||||
libs/math/octonion/output_more.txt
|
||||
libs/math/octonion/output.txt
|
||||
libs/math/quaternion/HSO3.hpp
|
||||
libs/math/quaternion/HSO3SO4.cpp
|
||||
libs/math/quaternion/HSO4.hpp
|
||||
libs/math/quaternion/output_more.txt
|
||||
libs/math/quaternion/output.txt
|
||||
libs/math/quaternion/quaternion_test.cpp
|
||||
libs/math/quaternion/TQE_EA.pdf
|
||||
libs/math/quaternion/TQE.pdf
|
||||
libs/math/special_functions/graphics/special_functions_blurb15.jpeg
|
||||
libs/math/special_functions/graphics/special_functions_blurb17.jpeg
|
||||
libs/math/special_functions/graphics/special_functions_blurb18.jpeg
|
||||
libs/math/special_functions/graphics/special_functions_blurb1.jpeg
|
||||
libs/math/special_functions/graphics/special_functions_blurb20.jpeg
|
||||
libs/math/special_functions/graphics/special_functions_blurb22.jpeg
|
||||
libs/math/special_functions/graphics/special_functions_blurb5.jpeg
|
||||
libs/math/special_functions/graphics/special_functions_blurb6.jpeg
|
||||
libs/math/special_functions/graphics/special_functions_blurb7.jpeg
|
||||
libs/math/special_functions/output_more.txt
|
||||
libs/math/special_functions/output.txt
|
||||
libs/math/special_functions/special_functions_test.cpp
|
||||
libs/math/test/common_factor_test.cpp
|
||||
libs/math/test/log1p_expm1_test.cpp
|
||||
libs/mpl/doc/refmanual.pdf
|
||||
libs/mpl/example/fsm/player1.cpp
|
||||
libs/multi_array/test/access.cpp
|
||||
libs/multi_array/test/assign.cpp
|
||||
libs/multi_array/test/assign_to_array.cpp
|
||||
libs/multi_array/test/compare.cpp
|
||||
libs/multi_array/test/concept_checks.cpp
|
||||
libs/multi_array/test/constructors.cpp
|
||||
libs/multi_array/test/fail_cbracket.cpp
|
||||
libs/multi_array/test/fail_cdata.cpp
|
||||
libs/multi_array/test/fail_citerator.cpp
|
||||
libs/multi_array/test/fail_cparen.cpp
|
||||
libs/multi_array/test/fail_criterator.cpp
|
||||
libs/multi_array/test/fail_csubarray2.cpp
|
||||
libs/multi_array/test/fail_csubarray3.cpp
|
||||
libs/multi_array/test/fail_csubarray.cpp
|
||||
libs/multi_array/test/fail_cview2.cpp
|
||||
libs/multi_array/test/fail_cview3.cpp
|
||||
libs/multi_array/test/fail_cview.cpp
|
||||
libs/multi_array/test/fail_ref_cbracket.cpp
|
||||
libs/multi_array/test/fail_ref_cdata.cpp
|
||||
libs/multi_array/test/fail_ref_citerator.cpp
|
||||
libs/multi_array/test/fail_ref_cparen.cpp
|
||||
libs/multi_array/test/fail_ref_criterator.cpp
|
||||
libs/multi_array/test/fail_ref_csubarray2.cpp
|
||||
libs/multi_array/test/fail_ref_csubarray3.cpp
|
||||
libs/multi_array/test/fail_ref_csubarray.cpp
|
||||
libs/multi_array/test/fail_ref_cview2.cpp
|
||||
libs/multi_array/test/fail_ref_cview3.cpp
|
||||
libs/multi_array/test/fail_ref_cview.cpp
|
||||
libs/multi_array/test/generative_tests.hpp
|
||||
libs/multi_array/test/idxgen1.cpp
|
||||
libs/multi_array/test/index_bases.cpp
|
||||
libs/multi_array/test/iterators.cpp
|
||||
libs/multi_array/test/range1.cpp
|
||||
libs/multi_array/test/reshape.cpp
|
||||
libs/multi_array/test/resize.cpp
|
||||
libs/multi_array/test/slice.cpp
|
||||
libs/multi_array/test/stl_interaction.cpp
|
||||
libs/multi_array/test/storage_order.cpp
|
||||
libs/multi_index/example/basic.cpp
|
||||
libs/multi_index/example/bimap.cpp
|
||||
libs/multi_index/example/complex_structs.cpp
|
||||
libs/multi_index/example/composite_keys.cpp
|
||||
libs/multi_index/example/hashed.cpp
|
||||
libs/multi_index/example/non_default_ctor.cpp
|
||||
libs/multi_index/example/random_access.cpp
|
||||
libs/multi_index/example/rearrange.cpp
|
||||
libs/multi_index/example/sequenced.cpp
|
||||
libs/multi_index/example/serialization.cpp
|
||||
libs/multi_index/perf/test_perf.cpp
|
||||
libs/multi_index/test/test_basic.cpp
|
||||
libs/multi_index/test/test_capacity.cpp
|
||||
libs/multi_index/test/test_comparison.cpp
|
||||
libs/multi_index/test/test_composite_key.cpp
|
||||
libs/multi_index/test/test_conv_iterators.cpp
|
||||
libs/multi_index/test/test_copy_assignment.cpp
|
||||
libs/multi_index/test/test_hash_ops.cpp
|
||||
libs/multi_index/test/test_iterators.cpp
|
||||
libs/multi_index/test/test_key_extractors.cpp
|
||||
libs/multi_index/test/test_list_ops.cpp
|
||||
libs/multi_index/test/test_modifiers.cpp
|
||||
libs/multi_index/test/test_mpl_ops.cpp
|
||||
libs/multi_index/test/test_observers.cpp
|
||||
libs/multi_index/test/test_projection.cpp
|
||||
libs/multi_index/test/test_range.cpp
|
||||
libs/multi_index/test/test_rearrange.cpp
|
||||
libs/multi_index/test/test_safe_mode.cpp
|
||||
libs/multi_index/test/test_serialization1.cpp
|
||||
libs/multi_index/test/test_serialization2.cpp
|
||||
libs/multi_index/test/test_set_ops.cpp
|
||||
libs/multi_index/test/test_special_set_ops.cpp
|
||||
libs/multi_index/test/test_update.cpp
|
||||
libs/preprocessor/doc/examples/array_arithmetic.c
|
||||
libs/preprocessor/doc/examples/catch_builtin.cpp
|
||||
libs/preprocessor/doc/examples/delay.c
|
||||
libs/preprocessor/doc/examples/duffs_device.c
|
||||
libs/preprocessor/doc/examples/is_integral.cpp
|
||||
libs/preprocessor/doc/examples/linear_fib.c
|
||||
libs/ptr_container/test/incomplete_type_test.cpp
|
||||
libs/ptr_container/test/ptr_array.cpp
|
||||
libs/ptr_container/test/simple_test.cpp
|
||||
libs/ptr_container/test/tree_test.cpp
|
||||
libs/ptr_container/test/view_example.cpp
|
||||
libs/python/doc/building.rst
|
||||
libs/python/doc/internals.rst
|
||||
libs/python/doc/PyConDC_2003/bpl.pdf
|
||||
libs/python/doc/v2/callbacks.txt
|
||||
libs/python/example/quickstart/boost-build.jam
|
||||
libs/python/example/quickstart/extending.cpp
|
||||
libs/python/example/quickstart/Jamroot
|
||||
libs/python/example/tutorial/Jamroot
|
||||
libs/python/test/input_iterator.cpp
|
||||
libs/python/test/iterator.cpp
|
||||
libs/python/test/iterator.py
|
||||
libs/python/test/map_indexing_suite.cpp
|
||||
libs/python/test/map_indexing_suite.py
|
||||
libs/python/test/pickle1.cpp
|
||||
libs/python/test/pickle2.cpp
|
||||
libs/python/test/pickle3.cpp
|
||||
libs/python/test/pickle4.cpp
|
||||
libs/python/test/vector_indexing_suite.cpp
|
||||
libs/python/test/vector_indexing_suite.py
|
||||
libs/random/nondet_random_speed.cpp
|
||||
libs/random/random_demo.cpp
|
||||
libs/random/random_speed.cpp
|
||||
libs/random/random_test.cpp
|
||||
libs/range/test/algorithm_example.cpp
|
||||
libs/range/test/array.cpp
|
||||
libs/range/test/iterator_pair.cpp
|
||||
libs/range/test/iterator_range.cpp
|
||||
libs/range/test/reversible_range.cpp
|
||||
libs/range/test/std_container.cpp
|
||||
libs/range/test/string.cpp
|
||||
libs/range/test/sub_range.cpp
|
||||
libs/regex/build/generic.mak
|
||||
libs/regex/example/grep/grep.cpp
|
||||
libs/regex/example/snippets/captures_example.cpp
|
||||
libs/regex/example/snippets/credit_card_example.cpp
|
||||
libs/regex/example/snippets/partial_regex_grep.cpp
|
||||
libs/regex/example/snippets/partial_regex_match.cpp
|
||||
libs/regex/example/snippets/regex_grep_example_1.cpp
|
||||
libs/regex/example/snippets/regex_grep_example_2.cpp
|
||||
libs/regex/example/snippets/regex_grep_example_3.cpp
|
||||
libs/regex/example/snippets/regex_grep_example_4.cpp
|
||||
libs/regex/example/snippets/regex_iterator_example.cpp
|
||||
libs/regex/example/snippets/regex_match_example.cpp
|
||||
libs/regex/example/snippets/regex_merge_example.cpp
|
||||
libs/regex/example/snippets/regex_replace_example.cpp
|
||||
libs/regex/example/snippets/regex_search_example.cpp
|
||||
libs/regex/example/snippets/regex_split_example_1.cpp
|
||||
libs/regex/example/snippets/regex_split_example_2.cpp
|
||||
libs/regex/example/snippets/regex_token_iterator_eg_1.cpp
|
||||
libs/regex/example/snippets/regex_token_iterator_eg_2.cpp
|
||||
libs/regex/example/timer/regex_timer.cpp
|
||||
libs/regex/test/captures/captures_test.cpp
|
||||
libs/regex/test/concepts/concept_check.cpp
|
||||
libs/regex/test/pathology/bad_expression_test.cpp
|
||||
libs/regex/test/pathology/recursion_test.cpp
|
||||
libs/regex/test/regress/basic_tests.cpp
|
||||
libs/regex/test/regress/main.cpp
|
||||
libs/regex/test/regress/test_deprecated.cpp
|
||||
libs/serialization/example/demo_auto_ptr.cpp
|
||||
libs/serialization/example/demo.cpp
|
||||
libs/serialization/example/demo_exception.cpp
|
||||
libs/serialization/example/demo_fast_archive.cpp
|
||||
libs/serialization/example/demofile.txt
|
||||
libs/serialization/example/demo_output.txt
|
||||
libs/serialization/example/demo_pimpl_A.cpp
|
||||
libs/serialization/example/demo_pimpl.cpp
|
||||
libs/serialization/example/demo_polymorphic_A.cpp
|
||||
libs/serialization/example/demo_polymorphic_A.hpp
|
||||
libs/serialization/example/demo_polymorphic.cpp
|
||||
libs/serialization/example/demo_portable_archive.cpp
|
||||
libs/serialization/example/demo_save.xml
|
||||
libs/serialization/example/demo_shared_ptr.cpp
|
||||
libs/serialization/example/demo_xml.cpp
|
||||
libs/serialization/example/demo_xml.hpp
|
||||
libs/serialization/example/demo_xml_load.cpp
|
||||
libs/serialization/example/demo_xml_save.cpp
|
||||
libs/serialization/test/test_delete_pointer.cpp
|
||||
libs/serialization/test/test_diamond.cpp
|
||||
libs/serialization/test/test_no_rtti.cpp
|
||||
libs/signals/example/doc_view.cpp
|
||||
libs/signals/test/dead_slot_test.cpp
|
||||
libs/signals/test/deletion_test.cpp
|
||||
libs/signals/test/ordering_test.cpp
|
||||
libs/signals/test/signal_n_test.cpp
|
||||
libs/signals/test/signal_test.cpp
|
||||
libs/signals/test/trackable_test.cpp
|
||||
libs/smart_ptr/example/scoped_ptr_example.cpp
|
||||
libs/smart_ptr/example/scoped_ptr_example.hpp
|
||||
libs/smart_ptr/example/scoped_ptr_example_test.cpp
|
||||
libs/smart_ptr/example/shared_ptr_example2.cpp
|
||||
libs/smart_ptr/example/shared_ptr_example2.hpp
|
||||
libs/smart_ptr/example/shared_ptr_example2_test.cpp
|
||||
libs/smart_ptr/example/shared_ptr_example.cpp
|
||||
libs/smart_ptr/smarttest.zip
|
||||
libs/smart_ptr/test/pointer_cast_test.cpp
|
||||
libs/smart_ptr/test/pointer_to_other_test.cpp
|
||||
libs/smart_ptr/test/smart_ptr_test.cpp
|
||||
libs/statechart/doc/rationale.pdf
|
||||
libs/statechart/doc/reference.pdf
|
||||
libs/statechart/doc/tutorial.pdf
|
||||
libs/statechart/test/TuTest.cpp
|
||||
libs/statechart/test/TuTest.hpp
|
||||
libs/statechart/test/TuTestMain.cpp
|
||||
libs/static_assert/static_assert_example_1.cpp
|
||||
libs/static_assert/static_assert_example_2.cpp
|
||||
libs/static_assert/static_assert_example_3.cpp
|
||||
libs/static_assert/static_assert_test.cpp
|
||||
libs/static_assert/static_assert_test_fail_1.cpp
|
||||
libs/static_assert/static_assert_test_fail_2.cpp
|
||||
libs/static_assert/static_assert_test_fail_3.cpp
|
||||
libs/static_assert/static_assert_test_fail_4.cpp
|
||||
libs/static_assert/static_assert_test_fail_5.cpp
|
||||
libs/static_assert/static_assert_test_fail_6.cpp
|
||||
libs/static_assert/static_assert_test_fail_7.cpp
|
||||
libs/static_assert/static_assert_test_fail_8.cpp
|
||||
libs/static_assert/static_assert_test_fail_9.cpp
|
||||
libs/test/example/exec_mon_example.cpp
|
||||
libs/test/example/prg_exec_example.cpp
|
||||
libs/test/example/test_case_template_example.cpp
|
||||
libs/test/example/unit_test_example_01.cpp
|
||||
libs/test/example/unit_test_example_02.cpp
|
||||
libs/test/example/unit_test_example_03.cpp
|
||||
libs/test/example/unit_test_example_04.cpp
|
||||
libs/test/example/unit_test_example_05.cpp
|
||||
libs/test/src/compiler_log_formatter.cpp
|
||||
libs/test/src/cpp_main.cpp
|
||||
libs/test/src/exception_safety.cpp
|
||||
libs/test/src/execution_monitor.cpp
|
||||
libs/test/src/framework.cpp
|
||||
libs/test/src/interaction_based.cpp
|
||||
libs/test/src/logged_expectations.cpp
|
||||
libs/test/src/plain_report_formatter.cpp
|
||||
libs/test/src/progress_monitor.cpp
|
||||
libs/test/src/results_collector.cpp
|
||||
libs/test/src/results_reporter.cpp
|
||||
libs/test/src/test_tools.cpp
|
||||
libs/test/src/unit_test_log.cpp
|
||||
libs/test/src/unit_test_main.cpp
|
||||
libs/test/src/unit_test_monitor.cpp
|
||||
libs/test/src/unit_test_parameters.cpp
|
||||
libs/test/src/unit_test_suite.cpp
|
||||
libs/test/src/xml_log_formatter.cpp
|
||||
libs/test/src/xml_report_formatter.cpp
|
||||
libs/test/test/custom_exception_test.cpp
|
||||
libs/test/test/errors_handling_test.cpp
|
||||
libs/test/test/minimal_test.cpp
|
||||
libs/test/test/online_test.cpp
|
||||
libs/test/test/output_test_stream_test.cpp
|
||||
libs/test/test/parameterized_test_test.cpp
|
||||
libs/test/test/prg_exec_fail1.cpp
|
||||
libs/test/test/prg_exec_fail2.cpp
|
||||
libs/test/test/prg_exec_fail3.cpp
|
||||
libs/test/test/prg_exec_fail4.cpp
|
||||
libs/test/test/result_report_test.cpp
|
||||
libs/test/test/test_case_template_test.cpp
|
||||
libs/test/test/test_files/errors_handling_test.pattern
|
||||
libs/test/test/test_files/result_report_test.pattern
|
||||
libs/test/test/test_fp_comparisons.cpp
|
||||
libs/test/test/test_tools_test.cpp
|
||||
libs/type_traits/examples/copy_example.cpp
|
||||
libs/type_traits/examples/fill_example.cpp
|
||||
libs/type_traits/examples/iter_swap_example.cpp
|
||||
libs/type_traits/examples/trivial_destructor_example.cpp
|
||||
libs/utility/addressof_test.cpp
|
||||
libs/utility/base_from_member_test.cpp
|
||||
libs/utility/call_traits_test.cpp
|
||||
libs/utility/iterators_test.cpp
|
||||
libs/utility/noncopyable_test.cpp
|
||||
libs/utility/operators_test.cpp
|
||||
libs/utility/shared_iterator_example1.cpp
|
||||
libs/utility/shared_iterator_example2.cpp
|
||||
libs/utility/shared_iterator_example3.cpp
|
||||
libs/wave/ChangeLog
|
||||
more/blanket-permission.txt
|
||||
tools/build/v2/hacking.txt
|
||||
tools/inspect/build/Jamfile.v2
|
||||
tools/inspect/inspect.cpp
|
||||
tools/inspect/inspector.hpp
|
||||
tools/inspect/link_check.cpp
|
||||
tools/inspect/link_check.hpp
|
||||
tools/inspect/tab_check.cpp
|
||||
tools/inspect/tab_check.hpp
|
||||
tools/quickbook/doc/quickbook.qbk
|
|
@ -0,0 +1,58 @@
|
|||
Python module needs to be built without these extra renames.
|
||||
MPI module needs to reference correct python
|
||||
|
||||
~Index: boost_1_64_0/libs/mpi/build/Jamfile.v2
|
||||
~===================================================================
|
||||
~--- boost_1_64_0.orig/libs/mpi/build/Jamfile.v2
|
||||
~+++ boost_1_64_0/libs/mpi/build/Jamfile.v2
|
||||
~@@ -61,10 +61,10 @@ libraries += boost_mpi ;
|
||||
~ lib boost_mpi_python
|
||||
~ : # Sources
|
||||
~ python/serialize.cpp
|
||||
~+ /user-config//boost_python_alias
|
||||
~ : # Requirements
|
||||
~ <library>boost_mpi
|
||||
~ <library>/mpi//mpi [ mpi.extra-requirements ]
|
||||
~- <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
|
||||
~@@ -92,8 +92,8 @@ libraries += boost_mpi ;
|
||||
~ python/skeleton_and_content.cpp
|
||||
~ python/status.cpp
|
||||
~ python/py_timer.cpp
|
||||
~+ /user-config//boost_python_alias
|
||||
~ : # Requirements
|
||||
~- <library>/boost/python//boost_python
|
||||
~ <library>boost_mpi_python
|
||||
~ <library>boost_mpi
|
||||
~ <library>/mpi//mpi [ mpi.extra-requirements ]
|
||||
Index: boost_1_75_0/boostcpp.jam
|
||||
===================================================================
|
||||
--- boost_1_75_0.orig/boostcpp.jam
|
||||
+++ boost_1_75_0/boostcpp.jam
|
||||
@@ -227,15 +227,15 @@ rule python-tag ( name : type ? : proper
|
||||
{
|
||||
# Add Python version suffix
|
||||
|
||||
- local version = [ $(property-set).get <python> ] ;
|
||||
-
|
||||
- local major-minor = [ MATCH "^([0-9]+)\.([0-9]+)" : $(version) ] ;
|
||||
- local suffix = $(major-minor:J="") ;
|
||||
-
|
||||
- if $(suffix)
|
||||
- {
|
||||
- result = $(result)$(suffix) ;
|
||||
- }
|
||||
+ # local version = [ $(property-set).get <python> ] ;
|
||||
+ #
|
||||
+ # local major-minor = [ MATCH "^([0-9]+)\.([0-9]+)" : $(version) ] ;
|
||||
+ # local suffix = $(major-minor:J="") ;
|
||||
+ #
|
||||
+ # if $(suffix)
|
||||
+ # {
|
||||
+ # result = $(result)$(suffix) ;
|
||||
+ # }
|
||||
|
||||
# Add PYTHON_ID if supplied
|
||||
|
|
@ -0,0 +1,27 @@
|
|||
Author: Adam Majer <adam.majer@suse.de>
|
||||
Summary: Fix MPI module loading
|
||||
|
||||
MPI requires dl.RTLD_NOW|dl.RTLD_GLOBAL flags to load
|
||||
properly.
|
||||
|
||||
|
||||
Index: boost_1_64_0/libs/mpi/build/__init__.py
|
||||
===================================================================
|
||||
--- boost_1_64_0.orig/libs/mpi/build/__init__.py
|
||||
+++ boost_1_64_0/libs/mpi/build/__init__.py
|
||||
@@ -1,10 +1,7 @@
|
||||
import sys
|
||||
-if sys.platform == 'linux2':
|
||||
- import DLFCN as dl
|
||||
- flags = sys.getdlopenflags()
|
||||
- sys.setdlopenflags(dl.RTLD_NOW|dl.RTLD_GLOBAL)
|
||||
- import mpi
|
||||
- sys.setdlopenflags(flags)
|
||||
-else:
|
||||
- import mpi
|
||||
+import DLFCN as dl
|
||||
+flags = sys.getdlopenflags()
|
||||
+sys.setdlopenflags(dl.RTLD_NOW|dl.RTLD_GLOBAL)
|
||||
+import boost.parallel.mpi.mpi
|
||||
+sys.setdlopenflags(flags)
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
#!/bin/sh
|
||||
|
||||
# compares symbols of $1 vs. $2
|
||||
# returns diff of the two global function tables
|
||||
#
|
||||
|
||||
if test $# -ne 2; then
|
||||
echo "$0 library1 library2"
|
||||
exit 2
|
||||
fi
|
||||
|
||||
PARAMS='[0-9a-f]\+[[:space:]]\+g[[:space:]]\+F[[:space:]]\+\.text[[:space:]]\+[0-9a-f]\+[[:space:]]\+'
|
||||
|
||||
objdump -t $1 | grep $PARAMS | sed -e 's#'$PARAMS'##' | sort > temp.$$
|
||||
objdump -t $2 | grep $PARAMS | sed -e 's#'$PARAMS'##' | sort | diff temp.$$ -
|
||||
|
||||
RET=$?
|
||||
|
||||
rm temp.$$
|
||||
|
||||
exit $RET
|
Loading…
Reference in New Issue