Adam Majer
1edcfb5aae
- update to 1.75.0: * new library: + Boost.JSON - JSON parsing library + Boost.LEAF - error handling library + Boost.PFR - basic reflection without macros or boilderplate code * for details on all changes see, https://www.boost.org/users/history/version_1_75_0.html - package boost's jam files so the Boost.Build is more usable - python_library_name.patch: update it to remove python version suffix and keep old sonames. We only support one python3 version at a time. - refreshed patches: boost-no_type_punning.patch boost-strict_aliasing.patch python_library_name.patch - serialization_missing_includes.patch: upstreamed - baselibs.conf: updated to new version OBS-URL: https://build.opensuse.org/request/show/856565 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/boost?expand=0&rev=269
59 lines
2.0 KiB
Diff
59 lines
2.0 KiB
Diff
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
|
|
|