Accepting request 829938 from devel:libraries:c_c++

- fix nothing provides libboost_mpi_python-py3-1_74_0 

- provide/obsolete boost-nowide 10.0.2 

- update to 1.74.0:
  * adds Boost.NoWide
  * see https://www.boost.org/users/history/version_1_72_0.html
  * see https://www.boost.org/users/history/version_1_73_0.html
  * see https://www.boost.org/users/history/version_1_74_0.html
- remove riscv-support.patch, 3ecbf83f.patch (upstream)
- remove boost-visibility.patch,
  boost-no_segfault_in_Regex_filter.patch (obsolete, will never go upstream)
- add boost-remove-cmakedir.patch (remove buildroot embedding in cmake files)
- remove python 2.7, it is 2020 after all

OBS-URL: https://build.opensuse.org/request/show/829938
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/boost?expand=0&rev=138
This commit is contained in:
Dominique Leuenberger 2020-09-01 18:02:16 +00:00 committed by Git OBS Bridge
commit 6d4737dc86
17 changed files with 229 additions and 677 deletions

View File

@ -1,35 +0,0 @@
commit 3ecbf83ff33750ceffda199de97283d200357633
Author: Andrey Semashev <andrey.semashev@gmail.com>
Date: Sat Apr 13 21:54:45 2019 +0300
Added MPI Python libs to install target.
This fixes mpi plugins for Python not being built and installed.
Index: boost_1_71_0/libs/mpi/build/Jamfile.v2
===================================================================
--- boost_1_71_0.orig/libs/mpi/build/Jamfile.v2
+++ boost_1_71_0/libs/mpi/build/Jamfile.v2
@@ -74,6 +74,7 @@ rule python-tag ( name : type ? : proper
return [ tag $(result) : $(type) : $(property-set) ] ;
}
+mpi_python_libs = ;
if [ mpi.configured ]
{
@@ -169,6 +170,8 @@ lib boost_mpi
<link>shared <runtime-link>shared
<python-debugging>on:<define>BOOST_DEBUG_PYTHON
;
+
+ mpi_python_libs = boost_mpi_python mpi ;
}
}
else if ! ( --without-mpi in [ modules.peek : ARGV ] )
@@ -185,4 +188,4 @@ else
alias boost_mpi ;
}
-boost-install boost_mpi ;
+boost-install boost_mpi $(mpi_python_libs) ;

View File

@ -1,25 +1,25 @@
libboost_atomic1_71_0
libboost_container1_71_0
libboost_context1_71_0
libboost_coroutine1_71_0
libboost_date_time1_71_0
libboost_fiber1_71_0
libboost_filesystem1_71_0
libboost_graph1_71_0
libboost_graph_parallel1_71_0
libboost_iostreams1_71_0
libboost_locale1_71_0
libboost_math1_71_0
libboost_mpi1_71_0
libboost_test1_71_0
libboost_program_options1_71_0
libboost_python-py2_7-1_71_0
libboost_python-py3-1_71_0
libboost_random1_71_0
libboost_serialization1_71_0
libboost_stacktrace1_71_0
libboost_system1_71_0
libboost_thread1_71_0
libboost_type_erasure1_71_0
libboost_wave1_71_0
libboost_regex1_71_0
libboost_atomic1_74_0
libboost_container1_74_0
libboost_context1_74_0
libboost_coroutine1_74_0
libboost_date_time1_74_0
libboost_fiber1_74_0
libboost_filesystem1_74_0
libboost_graph1_74_0
libboost_graph_parallel1_74_0
libboost_iostreams1_74_0
libboost_locale1_74_0
libboost_math1_74_0
libboost_mpi1_74_0
libboost_nowide1_74_0
libboost_test1_74_0
libboost_program_options1_74_0
libboost_python-py3-1_74_0
libboost_random1_74_0
libboost_serialization1_74_0
libboost_stacktrace1_74_0
libboost_system1_74_0
libboost_thread1_74_0
libboost_type_erasure1_74_0
libboost_wave1_74_0
libboost_regex1_74_0

View File

@ -1,8 +1,8 @@
Index: boost_1_71_0/tools/build/src/tools/python.jam
Index: boost_1_74_0/tools/build/src/tools/python.jam
===================================================================
--- boost_1_71_0.orig/tools/build/src/tools/python.jam
+++ boost_1_71_0/tools/build/src/tools/python.jam
@@ -99,7 +99,7 @@ py3-version = ;
--- boost_1_74_0.orig/tools/build/src/tools/python.jam
+++ boost_1_74_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 ?
@ -11,7 +11,7 @@ Index: boost_1_71_0/tools/build/src/tools/python.jam
{
project.push-current $(.project) ;
@@ -112,7 +112,7 @@ rule init ( version ? : cmd-or-prefix ?
@@ -115,7 +115,7 @@ rule init ( version ? : cmd-or-prefix ?
}
}
@ -20,7 +20,7 @@ Index: boost_1_71_0/tools/build/src/tools/python.jam
project.pop-current ;
}
@@ -507,7 +507,7 @@ local rule probe ( python-cmd )
@@ -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 ? :
@ -29,7 +29,7 @@ Index: boost_1_71_0/tools/build/src/tools/python.jam
{
exec-prefix ?= $(prefix) ;
@@ -668,7 +668,7 @@ rule version-suffix ( version )
@@ -671,7 +671,7 @@ rule version-suffix ( version )
# Declare a target to represent Python's library.
#
@ -38,7 +38,7 @@ Index: boost_1_71_0/tools/build/src/tools/python.jam
{
# Compute the representation of Python version in the name of Python's
# library file.
@@ -692,13 +692,13 @@ local rule declare-libpython-target ( ve
@@ -695,13 +695,13 @@ local rule declare-libpython-target ( ve
}
# Declare it.
@ -54,7 +54,7 @@ Index: boost_1_71_0/tools/build/src/tools/python.jam
{
local prefix ;
local exec-prefix ;
@@ -714,6 +714,7 @@ local rule configure ( version ? : cmd-o
@@ -717,6 +717,7 @@ local rule configure ( version ? : cmd-o
extension-suffix ?= _d ;
}
extension-suffix ?= "" ;
@ -62,7 +62,7 @@ Index: boost_1_71_0/tools/build/src/tools/python.jam
local cmds-to-try ;
@@ -789,7 +790,7 @@ local rule configure ( version ? : cmd-o
@@ -792,7 +793,7 @@ local rule configure ( version ? : cmd-o
exec-prefix = $(sys.exec_prefix) ;
compute-default-paths $(target-os) : $(sys.version) :
@ -71,7 +71,7 @@ Index: boost_1_71_0/tools/build/src/tools/python.jam
version = $(sys.version) ;
interpreter-cmd ?= $(cmd) ;
@@ -970,7 +971,7 @@ local rule configure ( version ? : cmd-o
@@ -973,7 +974,7 @@ local rule configure ( version ? : cmd-o
}
else
{

View File

@ -1,8 +1,8 @@
Index: boost_1_67_0/tools/build/src/tools/gcc.jam
Index: boost_1_74_0/tools/build/src/tools/gcc.jam
===================================================================
--- boost_1_67_0.orig/tools/build/src/tools/gcc.jam
+++ boost_1_67_0/tools/build/src/tools/gcc.jam
@@ -360,7 +360,6 @@ local rule compile-link-flags ( * )
--- boost_1_74_0.orig/tools/build/src/tools/gcc.jam
+++ boost_1_74_0/tools/build/src/tools/gcc.jam
@@ -442,7 +442,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 ;

View File

@ -1,11 +0,0 @@
--- boost/iostreams/filter/regex.hpp
+++ boost/iostreams/filter/regex.hpp
@@ -58,7 +58,7 @@
return;
iterator first(&src[0], &src[0] + src.size(), re_, flags_);
iterator last;
- const Ch* suffix = 0;
+ const Ch* suffix = &src[0];
for (; first != last; ++first) {
dest.insert( dest.end(),
first->prefix().first,

View File

@ -0,0 +1,30 @@
Index: boost_1_74_0/tools/boost_install/boost-install.jam
===================================================================
--- boost_1_74_0.orig/tools/boost_install/boost-install.jam
+++ boost_1_74_0/tools/boost_install/boost-install.jam
@@ -652,25 +652,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

View File

@ -2,39 +2,20 @@ Index: tools/build/src/tools/gcc.jam
===================================================================
--- tools/build/src/tools/gcc.jam.orig
+++ tools/build/src/tools/gcc.jam
@@ -569,7 +569,7 @@ rule compile.fortran ( targets * : sourc
actions compile.c++ bind PCH_FILE
{
- "$(CONFIG_COMMAND)" $(LANG) -ftemplate-depth-$(TEMPLATE_DEPTH) $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(PCH_FILE:D)" -I"$(INCLUDES)" -c -o "$(<:W)" "$(>:W)"
+ "$(CONFIG_COMMAND)" $(LANG) $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(PCH_FILE:D)" -I"$(INCLUDES)" -c -o "$(<:W)" "$(>:W)"
}
actions compile.c bind PCH_FILE
@@ -579,7 +579,7 @@ actions compile.c bind PCH_FILE
actions compile.c++.preprocess bind PCH_FILE
{
- "$(CONFIG_COMMAND)" $(LANG) -ftemplate-depth-$(TEMPLATE_DEPTH) $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(PCH_FILE:D)" -I"$(INCLUDES)" "$(>:W)" -E >"$(<:W)"
+ "$(CONFIG_COMMAND)" $(LANG) $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(PCH_FILE:D)" -I"$(INCLUDES)" "$(>:W)" -E >"$(<:W)"
}
actions compile.c.preprocess bind PCH_FILE
@@ -702,15 +702,15 @@ actions compile.c.pch
@@ -704,15 +704,15 @@ 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 <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 : ;

View File

@ -2,7 +2,7 @@ Index: libs/python/build/Jamfile
===================================================================
--- libs/python/build/Jamfile.orig
+++ libs/python/build/Jamfile
@@ -94,6 +94,7 @@ lib boost_python
@@ -96,6 +96,7 @@ lib boost_python
<python-debugging>on:<define>BOOST_DEBUG_PYTHON
-<tag>@$(BOOST_JAMROOT_MODULE)%$(BOOST_JAMROOT_MODULE).tag
<tag>@$(__name__).python-tag

View File

@ -1,8 +1,8 @@
Index: boost_1_56_0/tools/build/src/tools/boostbook.jam
Index: boost_1_74_0/tools/build/src/tools/boostbook.jam
===================================================================
--- boost_1_56_0.orig/tools/build/src/tools/boostbook.jam
+++ boost_1_56_0/tools/build/src/tools/boostbook.jam
@@ -548,40 +548,7 @@ rule generate-xml-catalog ( target : sou
--- 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 ;

View File

@ -1,110 +0,0 @@
---
boost/archive/impl/basic_xml_grammar.hpp | 16 ++++++++--------
libs/serialization/src/basic_xml_grammar.ipp | 14 +++++++-------
2 files changed, 15 insertions(+), 15 deletions(-)
Index: boost/archive/impl/basic_xml_grammar.hpp
===================================================================
--- boost/archive/impl/basic_xml_grammar.hpp.orig
+++ boost/archive/impl/basic_xml_grammar.hpp
@@ -135,7 +135,7 @@ private:
Sch,
NameChar;
- void init_chset();
+ BOOST_SYMBOL_VISIBLE void init_chset();
bool my_parse(
IStream & is,
@@ -143,7 +143,7 @@ private:
const CharType delimiter = L'>'
) const ;
public:
- struct return_values {
+ BOOST_SYMBOL_VISIBLE struct return_values {
StringType object_name;
StringType contents;
//class_id_type class_id;
@@ -159,12 +159,12 @@ public:
tracking_level(false)
{}
} rv;
- bool parse_start_tag(IStream & is) /*const*/;
- bool parse_end_tag(IStream & is) const;
- bool parse_string(IStream & is, StringType & s) /*const*/;
- void init(IStream & is);
- bool windup(IStream & is);
- basic_xml_grammar();
+ BOOST_SYMBOL_VISIBLE bool parse_start_tag(IStream & is) /*const*/;
+ BOOST_SYMBOL_VISIBLE bool parse_end_tag(IStream & is) const;
+ BOOST_SYMBOL_VISIBLE bool parse_string(IStream & is, StringType & s) /*const*/;
+ BOOST_SYMBOL_VISIBLE void init(IStream & is);
+ BOOST_SYMBOL_VISIBLE bool windup(IStream & is);
+ BOOST_SYMBOL_VISIBLE basic_xml_grammar();
};
} // namespace archive
Index: libs/serialization/src/basic_xml_grammar.ipp
===================================================================
--- libs/serialization/src/basic_xml_grammar.ipp.orig
+++ libs/serialization/src/basic_xml_grammar.ipp
@@ -173,7 +173,7 @@ struct append_lit {
} // namespace anonymous
template<class CharType>
-bool basic_xml_grammar<CharType>::my_parse(
+BOOST_SYMBOL_VISIBLE bool basic_xml_grammar<CharType>::my_parse(
typename basic_xml_grammar<CharType>::IStream & is,
const rule_t & rule_,
CharType delimiter
@@ -209,7 +209,7 @@ bool basic_xml_grammar<CharType>::my_par
}
template<class CharType>
-bool basic_xml_grammar<CharType>::parse_start_tag(
+BOOST_SYMBOL_VISIBLE bool basic_xml_grammar<CharType>::parse_start_tag(
typename basic_xml_grammar<CharType>::IStream & is
){
rv.class_name.resize(0);
@@ -217,12 +217,12 @@ bool basic_xml_grammar<CharType>::parse_
}
template<class CharType>
-bool basic_xml_grammar<CharType>::parse_end_tag(IStream & is) const {
+BOOST_SYMBOL_VISIBLE bool basic_xml_grammar<CharType>::parse_end_tag(IStream & is) const {
return my_parse(is, ETag);
}
template<class CharType>
-bool basic_xml_grammar<CharType>::parse_string(IStream & is, StringType & s){
+BOOST_SYMBOL_VISIBLE bool basic_xml_grammar<CharType>::parse_string(IStream & is, StringType & s){
rv.contents.resize(0);
bool result = my_parse(is, content, '<');
// note: unget caused a problem with dinkumware. replace with
@@ -235,7 +235,7 @@ bool basic_xml_grammar<CharType>::parse_
}
template<class CharType>
-basic_xml_grammar<CharType>::basic_xml_grammar(){
+BOOST_SYMBOL_VISIBLE basic_xml_grammar<CharType>::basic_xml_grammar(){
init_chset();
S =
@@ -432,7 +432,7 @@ basic_xml_grammar<CharType>::basic_xml_g
}
template<class CharType>
-void basic_xml_grammar<CharType>::init(IStream & is){
+BOOST_SYMBOL_VISIBLE void basic_xml_grammar<CharType>::init(IStream & is){
init_chset();
if(! my_parse(is, XMLDecl))
boost::serialization::throw_exception(
@@ -453,7 +453,7 @@ void basic_xml_grammar<CharType>::init(I
}
template<class CharType>
-bool basic_xml_grammar<CharType>::windup(IStream & is) {
+BOOST_SYMBOL_VISIBLE bool basic_xml_grammar<CharType>::windup(IStream & is) {
return my_parse(is, ETag);
}

View File

@ -1,3 +1,27 @@
-------------------------------------------------------------------
Thu Aug 27 09:15:59 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- fix nothing provides libboost_mpi_python-py3-1_74_0
-------------------------------------------------------------------
Fri Aug 21 20:06:18 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- provide/obsolete boost-nowide 10.0.2
-------------------------------------------------------------------
Mon Aug 17 17:23:18 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- update to 1.74.0:
* adds Boost.NoWide
* see https://www.boost.org/users/history/version_1_72_0.html
* see https://www.boost.org/users/history/version_1_73_0.html
* see https://www.boost.org/users/history/version_1_74_0.html
- remove riscv-support.patch, 3ecbf83f.patch (upstream)
- remove boost-visibility.patch,
boost-no_segfault_in_Regex_filter.patch (obsolete, will never go upstream)
- add boost-remove-cmakedir.patch (remove buildroot embedding in cmake files)
- remove python 2.7, it is 2020 after all
-------------------------------------------------------------------
Thu Mar 12 10:18:33 UTC 2020 - Adam Majer <adam.majer@suse.de>

View File

@ -16,13 +16,14 @@
#
%define ver 1.71.0
%define _ver 1_71_0
%define package_version 1_71_0
%define ver 1.74.0
%define _ver 1_74_0
%define package_version 1_74_0
%define file_version %_ver
%define lib_appendix %_ver
%define docs_version 1.56.0
%define short_version 1_56
%define python3X python38
%define pname boost
%bcond_with build_docs
%bcond_without package_pdf
@ -33,10 +34,6 @@
%define package_name boost%{library_version}
%define my_docdir %{_docdir}/boost%{library_version}
%if 0%{?suse_version} < 1500
%define python2_sitearch %{python_sitearch}
%endif
# We can't have these inside the "@BUILD_FLAVOR@" because then quilt
# can't understand the spec file. If only @BUILD_FLAVOR@ was a normal macro....
%define build_base 1
@ -57,13 +54,8 @@ ExclusiveArch: do_not_build
%define build_base 0
%define name_suffix -extra
%bcond_without python3
%bcond_without python2
%ifarch ia64 hppa
%bcond_with mpi
%else
%bcond_without mpi
%endif
%endif
%if "@BUILD_FLAVOR@" == "gnu-hpc"
%define build_base 1
@ -85,12 +77,11 @@ ExcludeArch: s390x %{ix86} ppc64 ppc64le
%undefine c_f_ver
%bcond_without hpc
%bcond_without mpi
%bcond_without python2
%bcond_without python3
%if %{with ringdisabled}
ExclusiveArch: do-not-build
%else
ExcludeArch: s390x %{ix86} ppc64 ppc64le ia64 hppa
ExcludeArch: s390x %{ix86} ppc64 ppc64le
%endif
%endif
@ -103,12 +94,11 @@ ExcludeArch: s390x %{ix86} ppc64 ppc64le ia64 hppa
%undefine c_f_ver
%bcond_without hpc
%bcond_without mpi
%bcond_without python2
%bcond_without python3
%if %{with ringdisabled}
ExclusiveArch: do-not-build
%else
ExcludeArch: s390x %{ix86} ppc64 ppc64le ia64 hppa
ExcludeArch: s390x %{ix86} ppc64 ppc64le
%endif
%endif
@ -120,12 +110,11 @@ ExcludeArch: s390x %{ix86} ppc64 ppc64le ia64 hppa
%undefine c_f_ver
%bcond_without hpc
%bcond_without mpi
%bcond_without python2
%bcond_without python3
%if %{with ringdisabled}
ExclusiveArch: do-not-build
%else
ExcludeArch: s390x %{ix86} ppc64 ppc64le ia64 hppa
ExcludeArch: s390x %{ix86} ppc64 ppc64le
%endif
%endif
@ -137,12 +126,11 @@ ExcludeArch: s390x %{ix86} ppc64 ppc64le ia64 hppa
%undefine c_f_ver
%bcond_without hpc
%bcond_without mpi
%bcond_without python2
%bcond_without python3
%if %{with ringdisabled}
ExclusiveArch: do-not-build
%else
ExcludeArch: s390x %{ix86} ppc64 ppc64le ia64 hppa
ExcludeArch: s390x %{ix86} ppc64 ppc64le
%endif
%endif
@ -168,15 +156,13 @@ ExcludeArch: s390x %{ix86} ppc64 ppc64le ia64 hppa
%define package_includedir %{hpc_includedir}
%define base_name %{hpc_package_name %_ver}
%define package_name %{hpc_package_name %_ver}
%define package_python2_sitearch %hpc_python_sitearch
%define package_python3_sitearch %{_hpc_python_sysconfig_path /usr/bin/python3 platlib %{?hpc_prefix}}
%else
%define package_prefix %{_prefix}
%define package_bindir %{_bindir}
%define package_libdir %{_libdir}
%define package_includedir %{_includedir}
%define package_includedir %{_includedir}
%define base_name boost%{name_suffix}
%define package_python2_sitearch %python2_sitearch
%define package_python3_sitearch %python3_sitearch
%endif
@ -188,9 +174,9 @@ ExcludeArch: s390x %{ix86} ppc64 ppc64le ia64 hppa
%endif
Name: %{base_name}
Version: 1.71.0
Version: 1.74.0
Release: 0
%define library_version 1_71_0
%define library_version 1_74_0
Summary: Boost C++ Libraries
License: BSL-1.0
@ -207,22 +193,20 @@ Source101: symbol_diff.sh
Source102: README.boost-devel
Patch1: boost-thread.patch
Patch2: boost-no_type_punning.patch
Patch3: boost-no_segfault_in_Regex_filter.patch
Patch4: boost-pool_check_overflow.patch
Patch5: boost-strict_aliasing.patch
Patch6: boost-use_std_xml_catalog.patch
Patch7: boost-rpmoptflags-only.patch
Patch9: boost-aarch64-flags.patch
Patch10: boost-disable-pch-on-aarch64.patch
Patch13: boost-visibility.patch
Patch15: boost-1.57.0-python-abi_letters.patch
Patch16: boost-1.55.0-python-test-PyImport_AppendInittab.patch
Patch17: python_mpi.patch
Patch18: dynamic_linking.patch
Patch20: python_library_name.patch
Patch23: 3ecbf83f.patch
Patch24: riscv-support.patch
Patch21: boost-remove-cmakedir.patch
BuildRequires: fdupes
BuildRequires: gmp-devel
BuildRequires: libbz2-devel
BuildRequires: libexpat-devel
BuildRequires: libicu-devel
@ -234,22 +218,12 @@ BuildRequires: gcc-c++
%endif
%if ! %{build_base}
BuildRequires: dos2unix
%if %{with python2}
BuildRequires: python2-devel
%if %{with python_numpy}
%if 0%{?suse_version} >= 1500
BuildRequires: python2-numpy-devel
%else
BuildRequires: python-numpy-devel
%endif
%endif # numpy2
%endif # python2
%if %{with python3}
BuildRequires: python3-devel
%if %{with python_numpy}
BuildRequires: python3-numpy-devel
%endif # numpy3
%endif # python3
%endif
%endif
%if %{with build_docs}
BuildRequires: docbook
BuildRequires: docbook-xsl-stylesheets
@ -257,11 +231,11 @@ BuildRequires: doxygen
BuildRequires: libxslt-tools
BuildRequires: texlive-latex
%endif
%endif # ! build_base
%endif
%if %{with hpc}
BuildRequires: %{compiler_family}%{?c_f_ver}-compilers-hpc-macros-devel
BuildRequires: lua-lmod
BuildRequires: python
BuildRequires: python3
BuildRequires: suse-hpc
%hpc_requires
%if %{with mpi}
@ -325,6 +299,7 @@ Requires: libboost_iostreams%{library_version}-devel
Requires: libboost_locale%{library_version}-devel
Requires: libboost_log%{library_version}-devel
Requires: libboost_math%{library_version}-devel
Requires: libboost_nowide%{library_version}-devel
Requires: libboost_program_options%{library_version}-devel
Requires: libboost_random%{library_version}-devel
Requires: libboost_regex%{library_version}-devel
@ -349,13 +324,10 @@ Requires: libboost_fiber%{library_version}-devel
Requires: libboost_graph_parallel%{library_version}-devel
Requires: libboost_mpi%{library_version}-devel
%endif
%if %{with python2}
Requires: libboost_python-py2_7-%{library_version}-devel
%endif
%if %{with python3}
Requires: libboost_python-py3-%{library_version}-devel
%endif
%endif #hpc
%endif
%description -n %{package_name}-devel
This package contains all that is needed to develop/compile
applications that use the Boost C++ libraries. For documentation see
@ -367,20 +339,10 @@ Summary: Boost.MPI Python 3.x serialization library
Group: System/Libraries
Requires: %{package_name}
%description -n %{package_name}-python3
%description -n %{package_name}-python3
This package contains the Boost.MPI Python 3.x serialization
inteface.
%package -n %{package_name}-python2
Summary: Boost.MPI Python 2.x serialization library
Group: System/Libraries
Requires: %{package_name}
%description -n %{package_name}-python2
This package contains the Boost.MPI Python 2.x serialization
inteface.
%endif # hpc
%endif
%package -n boost%{library_version}-jam
Summary: A Boost Make Replacement
@ -730,9 +692,6 @@ Requires: libboost_serialization%{library_version}-devel
Conflicts: boost-devel < 1.63
Conflicts: libboost_mpi-devel-impl
Provides: libboost_mpi-devel-impl = %{version}
%if %{with python2}
Requires: libboost_python-py2_7-%{library_version}-devel
%endif
%if %{with python3}
Requires: libboost_python-py3-%{library_version}-devel
%endif
@ -761,58 +720,43 @@ Provides: libboost_graph_parallel-devel-impl = %{version}
%description -n libboost_graph_parallel%{library_version}-devel
Development headers for Boost.Graph parallel boost library.
%package -n libboost_mpi_python-py2_7-%{library_version}
Summary: Boost.MPI Python serialization library
%package -n libboost_nowide%{library_version}
Summary: Boost.Nowide runtime libraries
Group: System/Libraries
Requires: boost-license%{library_version}
%description -n libboost_mpi_python-py2_7-%{library_version}
This package contains the Boost.MPI Python 2.7 serialization library
%description -n libboost_nowide%{library_version}
This package contains the Boost.Math Runtime libraries.
%package -n libboost_mpi_python-py2_7-%{library_version}-devel
Summary: Development library for Boost.MPI Python 2.7 serialization
%package -n libboost_nowide%{library_version}-devel
Summary: Development headers for Boost.Nowide libraries
Group: Development/Libraries/C and C++
Requires: libboost_mpi%{library_version}-devel = %{version}
Requires: libboost_mpi_python-py2_7-%{library_version} = %{version}
Requires: libboost_python-py2_7-%{library_version} = %{version}
Conflicts: boost-devel < 1.63
Conflicts: libboost_mpi_python-devel-impl
Provides: libboost_mpi_python-devel-impl = %{version}
Provides: boost-nowide-devel = 10.0.2.1
Obsoletes: boost-nowide-devel < 10.0.2.1
%description -n libboost_mpi_python-py2_7-%{library_version}-devel
This package contains the Boost.MPI development library for Python 2.7
serialization interface.
%description -n libboost_nowide%{library_version}-devel
Development headers for Boost.Nowide* boost libraries.
%package -n python2-boost_parallel_mpi%{library_version}
Summary: Python 2.7 bindings for Boost.Parallel.MPI library
Group: Development/Languages/Python
Conflicts: python-boost_parallel_mpi-impl
Provides: python-boost_parallel_mpi%{library_version} = %{version}
Provides: python-boost_parallel_mpi-impl = %{version}
%description -n python2-boost_parallel_mpi%{library_version}
This package contains the Boost.Parallel.MPI bindings for Python 2.7
%package -n libboost_mpi_python-py3-%{library_version}
%package -n libboost_mpi_%{python3X}-py3-%{library_version}
Summary: Boost.MPI Python 3.x serialization library
Group: System/Libraries
Requires: boost-license%{library_version}
%description -n libboost_mpi_python-py3-%{library_version}
%description -n libboost_mpi_%{python3X}-py3-%{library_version}
This package contains the Boost.MPI Python 3.x serialization
inteface.
%package -n libboost_mpi_python-py3-%{library_version}-devel
%package -n libboost_mpi_%{python3X}-py3-%{library_version}-devel
Summary: Development library for Boost.MPI Python 3.x serialization
Group: Development/Libraries/C and C++
Requires: libboost_mpi%{library_version}-devel = %{version}
Requires: libboost_mpi_python-py3-%{library_version} = %{version}
Requires: libboost_mpi_%{python3X}-py3-%{library_version} = %{version}
Requires: libboost_python-py3-%{library_version} = %{version}
Conflicts: boost-devel < 1.63
Conflicts: libboost_mpi_python3-devel-impl
Provides: libboost_mpi_python3-devel-impl = %{version}
%description -n libboost_mpi_python-py3-%{library_version}-devel
%description -n libboost_mpi_%{python3X}-py3-%{library_version}-devel
This package contains the Boost.MPI development library for Python 3.x
serialization interface
@ -868,50 +812,6 @@ Provides: libboost_program_options-devel-impl = %{version}
This package contains development headers for Boost.ProgramOptions
library.
%package -n libboost_python-py2_7-%{library_version}
Summary: Boost.Python runtime library
Group: System/Libraries
Requires: boost-license%{library_version}
%description -n libboost_python-py2_7-%{library_version}
This package contains the Boost::Python runtime library for default
version of python.
%package -n libboost_python-py2_7-%{library_version}-devel
Summary: Development headers for Boost.Python library
Group: Development/Libraries/C and C++
Requires: libboost_headers%{library_version}-devel = %{version}
Requires: libboost_python-py2_7-%{library_version} = %{version}
Conflicts: boost-devel < 1.63
Conflicts: libboost_python-devel-impl
Provides: libboost_python-devel-impl = %{version}
%description -n libboost_python-py2_7-%{library_version}-devel
Development headers for Boost::Python library for the default version of
python.
%package -n libboost_numpy-py2_7-%{library_version}
Summary: Boost.Python.NumPy runtime library
Group: System/Libraries
Requires: boost-license%{library_version}
%description -n libboost_numpy-py2_7-%{library_version}
This package contains the Boost::Python::NumPy runtime library for default
version of python.
%package -n libboost_numpy-py2_7-%{library_version}-devel
Summary: Development headers for Boost.Python.NumPy library
Group: Development/Libraries/C and C++
Requires: libboost_headers%{library_version}-devel = %{version}
Requires: libboost_numpy-py2_7-%{library_version} = %{version}
Conflicts: boost-devel < 1.63
Conflicts: libboost_numpy-devel-impl
Provides: libboost_numpy-devel-impl = %{version}
%description -n libboost_numpy-py2_7-%{library_version}-devel
Development headers for Boost::Python::NumPy library for the default version of
python.
%package -n libboost_python-py3-%{library_version}
Summary: Boost.Python runtime library
Group: System/Libraries
@ -1209,9 +1109,6 @@ tasks.
%if %{with hpc}
%{hpc_master_package}
%{hpc_master_package devel}
%if %{with python2}
%{hpc_master_package python2}
%endif
%if %{with python3}
%{hpc_master_package python3}
%endif
@ -1223,21 +1120,18 @@ tasks.
find -type f ! \( -name \*.sh -o -name \*.py -o -name \*.pl \) -exec chmod -x {} +
%patch1 -p1
%patch2
%patch3
%patch4
%patch5
%patch6 -p1
%patch7
%patch9 -p1
%patch10 -p1
%patch13
%patch15 -p1
%patch16 -p1
%patch17 -p1
%patch18 -p1
%patch20 -p1
%patch23 -p1
%patch24 -p1
%patch21 -p1
%build
find . -type f -exec chmod u+w {} +
@ -1263,7 +1157,7 @@ LIBRARIES_FLAGS+=" --without-fiber"
%endif
EOF
%else # ! build_base
%else
# Since boost build system is broken and incable of handling multiple python versions,
# we need to build boost piece by piece. First time to build all the non-python bits,
@ -1303,7 +1197,7 @@ module load gnu %mpi_flavor
# alias boost_python_alias : : <library>/boost/python//boost_python ;
cat << EOF >user-config.jam
EOF
%endif # ! build_base
%endif
# bootstrap b2
./bootstrap.sh \
@ -1316,31 +1210,6 @@ EOF
%if ! %{build_base}
# Build boost base PYTHON and MPI, installed in python staging
cp user-config.jam user-config-py.jam
cat << EOF >> user-config-py.jam
using python
: %{py_ver}
: %{_bindir}/python2
: %{_includedir}/python%{py_ver}
: %{_libdir}/python%{py_ver}
:
:
;
%if %{with mpi}
using mpi ;
%endif
EOF
%if %{with python2}
./b2 -d+2 -q --user-config=./user-config-py.jam \
--build-type=minimal --build-dir=./python-build \
--python-buildid=py2.7 \
--stagedir=./python-stage %{?_smp_mflags} \
$PY_LIBRARIES_FLAGS \
threading=multi link=shared runtime-link=shared stage
%endif # with python2
# Build boost python3 and MPI, installed in python3 staging
%if %{with python3}
cp user-config.jam user-config-py3.jam
@ -1368,8 +1237,8 @@ EOF
--python-buildid=py3 \
--stagedir=./python3-stage %{?_smp_mflags} \
$PY_LIBRARIES_FLAGS \
threading=multi link=shared runtime-link=shared stage
%endif # python3
python=%{python3_version} threading=multi link=shared runtime-link=shared stage
%endif
%if %{with build_docs}
cat << EOF >>user-config.jam
@ -1389,7 +1258,7 @@ EOF
echo 'using mpi ;' >> ./user-config.jam
%endif
%endif # ! build_base
%endif
# This is run for both mini and non-mini build
./b2 -d+2 -q --user-config=./user-config.jam \
@ -1404,16 +1273,6 @@ echo 'using mpi ;' >> ./user-config.jam
# Can't be too careful!
cp %{SOURCE101} .
chmod +x symbol_diff.sh
%if %{with python3}
#./symbol_diff.sh python3-stage/lib/libboost_mpi.so stage/lib/libboost_mpi.so
#./symbol_diff.sh python3-stage/lib/libboost_serialization.so stage/lib/libboost_serialization.so
%endif
%if %{with python2}
#./symbol_diff.sh python-stage/lib/libboost_serialization.so stage/lib/libboost_serialization.so
#./symbol_diff.sh python-stage/lib/libboost_mpi.so stage/lib/libboost_mpi.so
%endif
#./symbol_diff.sh python-stage/lib/libboost_serialization.so stage/lib/libboost_serialization.so
#./symbol_diff.sh python-stage/lib/libboost_mpi.so stage/lib/libboost_mpi.so
# Build documentation
%if ! %{with hpc}
@ -1427,9 +1286,9 @@ popd
cd doc
./b2 --user-config=../user-config.jam --v2 man %{?_smp_mflags}
%endif
%endif # ! hpc
%endif
%endif # ! build_base
%endif
%install
@ -1458,19 +1317,8 @@ module load gnu %mpi_flavor
threading=multi link=shared runtime-link=shared install
%endif
%if %{with python2}
./b2 -d+2 -q --user-config=./user-config-py.jam \
--build-type=minimal --build-dir=./python-build \
--python-buildid=py2.7 \
--prefix=%{buildroot}%{package_prefix} --exec-prefix=%{buildroot}%{package_bindir} \
--libdir=%{buildroot}%{package_libdir} --includedir=%{buildroot}%{package_includedir} \
--stagedir=./python-stage %{?_smp_mflags} \
$PY_LIBRARIES_FLAGS \
threading=multi link=shared runtime-link=shared install
%endif
%endif # ! build_base
# Generic install
./b2 -d+2 -q \
--build-type=minimal --build-dir=./build --stagedir=./stage \
@ -1485,33 +1333,21 @@ module load gnu %mpi_flavor
! $(ldd %{buildroot}%{package_libdir}/*.so* | grep python\\.)
%if ! %{build_base}
%if %{with python2}
rm -r %{buildroot}%{package_libdir}/libboost_python.so
rm -r %{buildroot}%{package_libdir}/libboost_mpi_python.so
ln -s libboost_mpi_python-py2_7.so %{buildroot}%{package_libdir}/libboost_mpi_python.so
ln -s libboost_python-py2_7.so %{buildroot}%{package_libdir}/libboost_python.so
%endif
%if %{with python3}
! $(ldd %{buildroot}%{package_libdir}/*.so* | grep python3-\\.)
ln -s libboost_python-py3.so %{buildroot}%{package_libdir}/libboost_python3.so
%endif
# Move Python libraries over to proper places
%if %{with python2}
mkdir -p %{buildroot}%{package_python2_sitearch}/boost/parallel/mpi/
mv %{buildroot}/%{package_libdir}/mpi.so %{buildroot}%{package_python2_sitearch}/boost/parallel/mpi/
install -m 0644 libs/mpi/build/__init__.py %{buildroot}%{package_python2_sitearch}/boost/parallel/mpi/
install -m 0644 %{SOURCE11} %{buildroot}%{package_python2_sitearch}/boost/parallel
install -m 0644 %{SOURCE11} %{buildroot}%{package_python2_sitearch}/boost
%endif
%if %{with python3}
mkdir -p %{buildroot}%{package_python3_sitearch}/boost/parallel/mpi/
mv %{buildroot}/%{package_libdir}/mpi.*so %{buildroot}%{package_python3_sitearch}/boost/parallel/mpi/mpi.%{py3_soflags}.so
install -m 0644 libs/mpi/build/__init__.py %{buildroot}%{package_python3_sitearch}/boost/parallel/mpi/
install -m 0644 %{SOURCE11} %{buildroot}%{package_python3_sitearch}/boost/parallel
install -m 0644 %{SOURCE11} %{buildroot}%{package_python3_sitearch}/boost
%if ! %{with hpc}
mv %{buildroot}%{_libdir}/boost-python3.8/mpi.%{py3_soflags}.so %{buildroot}%{package_python3_sitearch}/mpi.%{py3_soflags}.so
rmdir %{buildroot}%{_libdir}/boost-python3.8
%endif
%endif
%if ! %{with hpc}
@ -1533,8 +1369,8 @@ chmod -x ../boost_1_56_pdf/*.pdf
mkdir -p %{buildroot}%{package_bindir}
install -m 0755 dist/bin/quickbook %{buildroot}%{package_bindir}/quickbook
%endif
%endif # ! hpc
%endif # ! build_base
%endif
%endif
%if %{build_base} || %{with hpc}
mkdir -p %{buildroot}%{package_bindir}
@ -1566,13 +1402,12 @@ mkdir -p %{buildroot}%{my_docdir}
%if 0%{?sle_version} >= 120000 && 0%{?sle_version} <= 120200 && !0%{?is_opensuse}
mkdir -p %{buildroot}%{_defaultlicensedir}
%endif
%else # ! build_base
%else
# duplicate from boost-base flavour
rm %{buildroot}%{package_libdir}/cmake/BoostDetectToolset-%{version}.cmake
rm -r %{buildroot}%{package_libdir}/cmake/Boost-%{version}
rm -r %{buildroot}%{package_libdir}/cmake/boost_headers-%{version}
rm -r %{buildroot}%{package_libdir}/cmake/boost_{w,}serialization-%{version}
rm -r %{buildroot}%{package_libdir}/cmake/mpi-%{version}
rm -rf %{buildroot}%{package_libdir}/libboost_numpy.so{,.%{version}}
rm -rf %{buildroot}%{package_libdir}/libboost_mpi_python.so.%{version}
@ -1584,10 +1419,6 @@ rmdir --ignore-fail-on-non-empty %{buildroot}%{package_libdir}
%fdupes %{buildroot}%{my_docdir}
%endif
# Remove bad files - no -f on purpose, so we see when we they fix it.
rm %{buildroot}%{package_libdir}/*.so.1
rm %{buildroot}%{package_libdir}/*.so.1.71
%if %{with hpc}
%hpc_write_modules_files
#%%Module1.0#####################################################################
@ -1618,9 +1449,6 @@ prepend-path CPATH %{hpc_includedir}
prepend-path C_INCLUDE_PATH %{hpc_includedir}
prepend-path CPLUS_INCLUDE_PATH %{hpc_includedir}
}
if ([file isdirectory %{package_python2_sitearch}]) {
prepend-path PYTHONPATH %{package_python2_sitearch}
}
if ([file isdirectory %{package_python3_sitearch}]) {
prepend-path PYTHONPATH %{package_python3_sitearch}
}
@ -1648,6 +1476,7 @@ EOF
%post -n libboost_thread%{library_version} -p /sbin/ldconfig
%post -n libboost_type_erasure%{library_version} -p /sbin/ldconfig
%post -n libboost_math%{library_version} -p /sbin/ldconfig
%post -n libboost_nowide%{library_version} -p /sbin/ldconfig
%post -n libboost_graph%{library_version} -p /sbin/ldconfig
%post -n libboost_stacktrace%{library_version} -p /sbin/ldconfig
%post -n libboost_system%{library_version} -p /sbin/ldconfig
@ -1656,13 +1485,7 @@ EOF
%post -n libboost_chrono%{library_version} -p /sbin/ldconfig
%post -n libboost_locale%{library_version} -p /sbin/ldconfig
%post -n libboost_timer%{library_version} -p /sbin/ldconfig
%else # ! build_base
%if %{with python2}
%post -n libboost_python-py2_7-%{library_version} -p /sbin/ldconfig
%if %{with python_numpy}
%post -n libboost_numpy-py2_7-%{library_version} -p /sbin/ldconfig
%endif
%endif
%else
%if %{with python3}
%post -n libboost_python-py3-%{library_version} -p /sbin/ldconfig
@ -1674,16 +1497,13 @@ EOF
%if %{with mpi}
%post -n libboost_mpi%{library_version} -p /sbin/ldconfig
%post -n libboost_graph_parallel%{library_version} -p /sbin/ldconfig
%if %{with python2}
%post -n libboost_mpi_python-py2_7-%{library_version} -p /sbin/ldconfig
%endif
%if %{with python3}
%post -n libboost_mpi_python-py3-%{library_version} -p /sbin/ldconfig
%post -n libboost_mpi_%{python3X}-py3-%{library_version} -p /sbin/ldconfig
%endif
%endif
%endif # ! build_base
%endif
%if %{with hpc}
%post -n %base_name -p /sbin/ldconfig
%endif
@ -1706,6 +1526,7 @@ EOF
%postun -n libboost_thread%{library_version} -p /sbin/ldconfig
%postun -n libboost_type_erasure%{library_version} -p /sbin/ldconfig
%postun -n libboost_math%{library_version} -p /sbin/ldconfig
%postun -n libboost_nowide%{library_version} -p /sbin/ldconfig
%postun -n libboost_graph%{library_version} -p /sbin/ldconfig
%postun -n libboost_stacktrace%{library_version} -p /sbin/ldconfig
%postun -n libboost_system%{library_version} -p /sbin/ldconfig
@ -1714,13 +1535,7 @@ EOF
%postun -n libboost_chrono%{library_version} -p /sbin/ldconfig
%postun -n libboost_locale%{library_version} -p /sbin/ldconfig
%postun -n libboost_timer%{library_version} -p /sbin/ldconfig
%else # ! build_base
%if %{with python2}
%postun -n libboost_python-py2_7-%{library_version} -p /sbin/ldconfig
%if %{with python_numpy}
%postun -n libboost_numpy-py2_7-%{library_version} -p /sbin/ldconfig
%endif
%endif
%else
%if %{with python3}
%postun -n libboost_python-py3-%{library_version} -p /sbin/ldconfig
@ -1732,16 +1547,13 @@ EOF
%if %{with mpi}
%postun -n libboost_mpi%{library_version} -p /sbin/ldconfig
%postun -n libboost_graph_parallel%{library_version} -p /sbin/ldconfig
%if %{with python2}
%postun -n libboost_mpi_python-py2_7-%{library_version} -p /sbin/ldconfig
%endif
%if %{with python3}
%postun -n libboost_mpi_python-py3-%{library_version} -p /sbin/ldconfig
%postun -n libboost_mpi_%{python3X}-py3-%{library_version} -p /sbin/ldconfig
%endif
%endif
%endif # build_base
%endif
%if %{with hpc}
%postun -n %{base_name} -p /sbin/ldconfig
@ -1756,9 +1568,6 @@ EOF
%dir %{hpc_install_path}
%package_libdir
%exclude %package_libdir/*.so
%if %{with python2}
%exclude %package_python2_sitearch
%endif
%if %{with python3}
%exclude %package_python3_sitearch
%endif
@ -1766,12 +1575,8 @@ EOF
%files -n %{package_name}-devel
%package_includedir
%package_libdir/*.so
%if %{with python2}
%files -n %{package_name}-python2
%package_python2_sitearch
%endif
%if %{with python3}
%files -n %{package_name}-python3
%files -n %{package_name}-python3
%package_python3_sitearch
%endif
@ -1814,7 +1619,7 @@ EOF
%{package_libdir}/cmake/boost_coroutine-%{version}/*
%{package_libdir}/libboost_coroutine.so
%endif # if with build_context
%endif
%files -n libboost_contract%{library_version}
%{package_libdir}/libboost_contract.so.%{version}
@ -1843,7 +1648,7 @@ EOF
%{package_libdir}/cmake/boost_fiber_numa-%{version}/*
%{package_libdir}/libboost_fiber.so
%endif # with boost_fiber
%endif
%files -n libboost_filesystem%{library_version}
%{package_libdir}/libboost_filesystem.so.%{version}
@ -1890,10 +1695,8 @@ EOF
%{package_libdir}/libboost_math_tr1.so.%{version}
%files -n libboost_math%{library_version}-devel
%dir %{package_libdir}/cmake/boost_math-%{version}
%dir %{package_libdir}/cmake/boost_math_c99*-%{version}
%dir %{package_libdir}/cmake/boost_math_tr1*-%{version}
%{package_libdir}/cmake/boost_math-%{version}/*
%{package_libdir}/cmake/boost_math_c99*-%{version}/*
%{package_libdir}/cmake/boost_math_tr1*-%{version}/*
%{package_libdir}/libboost_math_c99f.so
@ -1903,6 +1706,16 @@ EOF
%{package_libdir}/libboost_math_tr1l.so
%{package_libdir}/libboost_math_tr1.so
%files -n libboost_nowide%{library_version}
%{package_libdir}/libboost_nowide.so.%{version}
%files -n libboost_nowide%{library_version}-devel
%dir %{package_libdir}/cmake/boost_nowide-%{version}
%{package_libdir}/cmake/boost_nowide-%{version}/boost_nowide-config.cmake
%{package_libdir}/cmake/boost_nowide-%{version}/boost_nowide-config-version.cmake
%{package_libdir}/cmake/boost_nowide-%{version}/libboost_nowide-variant-shared.cmake
%{package_libdir}/libboost_nowide.so
%files -n libboost_test%{library_version}
%{package_libdir}/libboost_prg_exec_monitor.so.%{version}
%{package_libdir}/libboost_test_exec_monitor.so.%{version}
@ -1926,13 +1739,13 @@ EOF
%dir %{package_libdir}/cmake/boost_program_options-%{version}
%{package_libdir}/cmake/boost_program_options-%{version}/*
%{package_libdir}/libboost_program_options.so
%endif # build_base
%endif
%if ! %{build_base}
%if %{with mpi}
%files -n libboost_mpi%{library_version}
%{package_libdir}/libboost_mpi.so.%{version}
%{package_libdir}/libboost_mpi.so.1*
%files -n libboost_mpi%{library_version}-devel
%dir %{package_libdir}/cmake
@ -1941,7 +1754,7 @@ EOF
%{package_libdir}/libboost_mpi.so
%files -n libboost_graph_parallel%{library_version}
%{package_libdir}/libboost_graph_parallel.so.%{version}
%{package_libdir}/libboost_graph_parallel.so.1*
%files -n libboost_graph_parallel%{library_version}-devel
%dir %{package_libdir}/cmake
@ -1949,37 +1762,15 @@ EOF
%{package_libdir}/cmake/boost_graph_parallel-%{version}/*
%{package_libdir}/libboost_graph_parallel.so
%if %{with python2}
%files -n libboost_mpi_python-py2_7-%{library_version}
%{package_libdir}/libboost_mpi_python-py2_7.so.%{version}
%files -n libboost_mpi_python-py2_7-%{library_version}-devel
%dir %{package_libdir}/cmake
%dir %{package_libdir}/cmake/boost_mpi_python-%{version}
%{package_libdir}/cmake/boost_mpi_python-%{version}/*
%{package_libdir}/libboost_mpi_python-py2_7.so
%{package_libdir}/libboost_mpi_python.so
%files -n python2-boost_parallel_mpi%{library_version}
%dir %{package_python2_sitearch}/boost
%dir %{package_python2_sitearch}/boost/parallel
%dir %{package_python2_sitearch}/boost/parallel/mpi
%{package_python2_sitearch}/boost/__init__.py
%{package_python2_sitearch}/boost/parallel/__init__.py
%{package_python2_sitearch}/boost/parallel/mpi/__init__.py
%{package_python2_sitearch}/boost/parallel/mpi/mpi.so
%endif # with python2
%if %{with python3}
%files -n libboost_mpi_python-py3-%{library_version}
%{package_libdir}/libboost_mpi_python-py3.so.%{version}
%files -n libboost_mpi_%{python3X}-py3-%{library_version}
%{package_libdir}/libboost_mpi_%{python3X}-py3.so.%{version}
%files -n libboost_mpi_python-py3-%{library_version}-devel
%if ! %{with python2}
%files -n libboost_mpi_%{python3X}-py3-%{library_version}-devel
%dir %{package_libdir}/cmake/boost_mpi_python-%{version}
%{package_libdir}/cmake/boost_mpi_python-%{version}/*
%endif
%{package_libdir}/libboost_mpi_python-py3.so
%{package_libdir}/libboost_mpi_%{python3X}-py3.so
%files -n python3-boost_parallel_mpi%{library_version}
%dir %{package_python3_sitearch}/boost
@ -1988,36 +1779,12 @@ EOF
%{package_python3_sitearch}/boost/__init__.py
%{package_python3_sitearch}/boost/parallel/__init__.py
%{package_python3_sitearch}/boost/parallel/mpi/__init__.py
%{package_python3_sitearch}/boost/parallel/mpi/mpi.%{py3_soflags}.so
%endif # with python3
%endif # with mpi
%if %{with python2}
%files -n libboost_python-py2_7-%{library_version}
%{package_libdir}/libboost_python-py2_7.so.%{version}
%files -n libboost_python-py2_7-%{library_version}-devel
##%dir %{package_libdir}/cmake/boost_python-%{version}
##%{package_libdir}/cmake/boost_python-%{version}/*
%{package_libdir}/libboost_python.so
%{package_libdir}/libboost_python-py2_7.so
%if %{with python_numpy}
%files -n libboost_numpy-py2_7-%{library_version}
%{package_libdir}/libboost_numpy-py2_7.so.%{version}
%files -n libboost_numpy-py2_7-%{library_version}-devel
##%dir %{package_libdir}/cmake/boost_numpy-%{version}
##%{package_libdir}/cmake/boost_numpy-%{version}/*
%{package_libdir}/libboost_numpy-py2_7.so
%endif # with numpy
%endif # with python2
%{package_python3_sitearch}/mpi.%{py3_soflags}.so
%endif
%if %{with python3}
%files -n libboost_python-py3-%{library_version}
%{package_libdir}/libboost_python-py3.so.%{version}
%{package_libdir}/libboost_python-py3.so.1*
%files -n libboost_python-py3-%{library_version}-devel
%dir %{package_libdir}/cmake
@ -2028,7 +1795,7 @@ EOF
%if %{with python_numpy}
%files -n libboost_numpy-py3-%{library_version}
%{package_libdir}/libboost_numpy-py3.so.%{version}
%{package_libdir}/libboost_numpy-py3.so.1*
%files -n libboost_numpy-py3-%{library_version}-devel
%dir %{package_libdir}/cmake
@ -2036,9 +1803,9 @@ EOF
%{package_libdir}/cmake/boost_numpy-%{version}/*
%{package_libdir}/libboost_numpy-py3.so
%endif # with numpy
%endif # with python3
%endif # ! build_base
%endif
%endif
%endif
%if %{build_base}
%files -n libboost_serialization%{library_version}
@ -2140,7 +1907,7 @@ EOF
%dir %{package_libdir}/cmake/boost_type_erasure-%{version}
%{package_libdir}/cmake/boost_type_erasure-%{version}/*
%{package_libdir}/libboost_type_erasure.so
%endif # if build_base
%endif
%if ! %{build_base}
%if %{with boost_devel}
@ -2172,7 +1939,7 @@ EOF
%files -n %{package_name}-quickbook
%{package_bindir}/quickbook
%endif
%endif # ! build_base
%endif
%if %{build_base}
%files -n libboost_headers%{library_version}-devel
@ -2192,6 +1959,6 @@ EOF
%endif
%endif
%endif # without hpc
%endif
%changelog

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d73a8da01e8bf8c7eda40b4c84915071a8c8a0df4a6734537ddde4a8580524ee
size 100124647

3
boost_1_74_0.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:83bfc1507731a0906e387fc28b7ef5417d591429e51e788417fe9ff025e116b1
size 109600630

View File

@ -1,7 +1,7 @@
Index: boost_1_70_0/libs/test/build/Jamfile.v2
Index: boost_1_74_0/libs/test/build/Jamfile.v2
===================================================================
--- boost_1_70_0.orig/libs/test/build/Jamfile.v2
+++ boost_1_70_0/libs/test/build/Jamfile.v2
--- boost_1_74_0.orig/libs/test/build/Jamfile.v2
+++ boost_1_74_0/libs/test/build/Jamfile.v2
@@ -95,7 +95,7 @@ lib boost_test_exec_monitor
: # sources
$(TEST_EXEC_MON_SOURCES).cpp
@ -11,10 +11,10 @@ Index: boost_1_70_0/libs/test/build/Jamfile.v2
: # default build
: # usage-requirements
<link>shared:<define>BOOST_TEST_DYN_LINK=1
Index: boost_1_70_0/libs/exception/build/Jamfile.v2
Index: boost_1_74_0/libs/exception/build/Jamfile.v2
===================================================================
--- boost_1_70_0.orig/libs/exception/build/Jamfile.v2
+++ boost_1_70_0/libs/exception/build/Jamfile.v2
--- boost_1_74_0.orig/libs/exception/build/Jamfile.v2
+++ boost_1_74_0/libs/exception/build/Jamfile.v2
@@ -7,7 +7,7 @@
project boost/exception
@ -24,10 +24,10 @@ Index: boost_1_70_0/libs/exception/build/Jamfile.v2
;
lib boost_exception : clone_current_exception_non_intrusive.cpp ;
Index: boost_1_70_0/libs/chrono/build/Jamfile.v2
Index: boost_1_74_0/libs/chrono/build/Jamfile.v2
===================================================================
--- boost_1_70_0.orig/libs/chrono/build/Jamfile.v2
+++ boost_1_70_0/libs/chrono/build/Jamfile.v2
--- boost_1_74_0.orig/libs/chrono/build/Jamfile.v2
+++ boost_1_74_0/libs/chrono/build/Jamfile.v2
@@ -93,7 +93,7 @@ project boost/chrono
<toolset>sun:<define>__typeof__=__typeof__
@ -46,10 +46,10 @@ Index: boost_1_70_0/libs/chrono/build/Jamfile.v2
;
boost-install boost_chrono ;
Index: boost_1_70_0/libs/system/build/Jamfile.v2
Index: boost_1_74_0/libs/system/build/Jamfile.v2
===================================================================
--- boost_1_70_0.orig/libs/system/build/Jamfile.v2
+++ boost_1_70_0/libs/system/build/Jamfile.v2
--- boost_1_74_0.orig/libs/system/build/Jamfile.v2
+++ boost_1_74_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)
@ -68,10 +68,10 @@ Index: boost_1_70_0/libs/system/build/Jamfile.v2
;
boost-install boost_system ;
Index: boost_1_70_0/libs/timer/build/Jamfile.v2
Index: boost_1_74_0/libs/timer/build/Jamfile.v2
===================================================================
--- boost_1_70_0.orig/libs/timer/build/Jamfile.v2
+++ boost_1_70_0/libs/timer/build/Jamfile.v2
--- boost_1_74_0.orig/libs/timer/build/Jamfile.v2
+++ boost_1_74_0/libs/timer/build/Jamfile.v2
@@ -13,7 +13,7 @@ project boost/timer
<library>/boost/chrono//boost_chrono
: usage-requirements # pass these requirement to dependants (i.e. users)
@ -90,11 +90,11 @@ Index: boost_1_70_0/libs/timer/build/Jamfile.v2
;
boost-install boost_timer ;
Index: boost_1_70_0/libs/filesystem/build/Jamfile.v2
Index: boost_1_74_0/libs/filesystem/build/Jamfile.v2
===================================================================
--- boost_1_70_0.orig/libs/filesystem/build/Jamfile.v2
+++ boost_1_70_0/libs/filesystem/build/Jamfile.v2
@@ -11,7 +11,7 @@ project boost/filesystem
--- boost_1_74_0.orig/libs/filesystem/build/Jamfile.v2
+++ boost_1_74_0/libs/filesystem/build/Jamfile.v2
@@ -54,7 +54,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
@ -103,10 +103,10 @@ Index: boost_1_70_0/libs/filesystem/build/Jamfile.v2
;
SOURCES =
@@ -28,7 +28,7 @@ SOURCES =
lib boost_filesystem
: $(SOURCES).cpp
: <link>shared:<define>BOOST_FILESYSTEM_DYN_LINK=1
@@ -75,7 +75,7 @@ lib boost_filesystem
: <define>BOOST_FILESYSTEM_SOURCE
<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
:

View File

@ -27,10 +27,10 @@ MPI module needs to reference correct python
~ <library>boost_mpi_python
~ <library>boost_mpi
~ <library>/mpi//mpi [ mpi.extra-requirements ]
Index: boost_1_69_0/libs/python/Jamfile
Index: boost_1_74_0/libs/python/Jamfile
===================================================================
--- boost_1_69_0.orig/libs/python/Jamfile
+++ boost_1_69_0/libs/python/Jamfile
--- boost_1_74_0.orig/libs/python/Jamfile
+++ boost_1_74_0/libs/python/Jamfile
@@ -36,9 +36,10 @@ local rule split-version ( version )
# For example, Boost.Python built for Python 2.7 uses the suffix "27"
rule version-suffix ( version )
@ -45,21 +45,15 @@ Index: boost_1_69_0/libs/python/Jamfile
}
Index: boost_1_69_0/libs/mpi/build/Jamfile.v2
Index: boost_1_74_0/tools/build/src/tools/python.jam
===================================================================
--- boost_1_69_0.orig/libs/mpi/build/Jamfile.v2
+++ boost_1_69_0/libs/mpi/build/Jamfile.v2
@@ -42,9 +42,10 @@ local rule split-version ( version )
--- boost_1_74_0.orig/tools/build/src/tools/python.jam
+++ boost_1_74_0/tools/build/src/tools/python.jam
@@ -664,6 +664,7 @@ local rule system-library-dependencies (
# For example, Boost.Python built for Python 2.7 uses the suffix "27"
rule version-suffix ( version )
{
- local major-minor = [ split-version $(version) ] ;
- local suffix = $(major-minor:J="") ;
- return $(suffix) ;
+ #local major-minor = [ split-version $(version) ] ;
+ #local suffix = $(major-minor:J="") ;
+ #return $(suffix) ;
+ return "" ;
}
local major-minor = [ split-version $(version) ] ;
local suffix = $(major-minor:J="") ;
return $(suffix) ;

View File

@ -1,88 +0,0 @@
https://github.com/boostorg/boost/commit/5c8898af4
https://github.com/boostorg/predef/commit/fc99bc2
Index: boost_1_71_0/boost/predef/architecture.h
===================================================================
--- boost_1_71_0.orig/boost/predef/architecture.h
+++ boost_1_71_0/boost/predef/architecture.h
@@ -21,6 +21,7 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/architecture/ppc.h>
#include <boost/predef/architecture/ptx.h>
#include <boost/predef/architecture/pyramid.h>
+#include <boost/predef/architecture/riscv.h>
#include <boost/predef/architecture/rs6k.h>
#include <boost/predef/architecture/sparc.h>
#include <boost/predef/architecture/superh.h>
Index: boost_1_71_0/boost/predef/architecture/riscv.h
===================================================================
--- /dev/null
+++ boost_1_71_0/boost/predef/architecture/riscv.h
@@ -0,0 +1,41 @@
+/*
+Distributed under the Boost Software License, Version 1.0.
+(See accompanying file LICENSE_1_0.txt or copy at
+http://www.boost.org/LICENSE_1_0.txt)
+*/
+
+#ifndef BOOST_PREDEF_ARCHITECTURE_RISCV_H
+#define BOOST_PREDEF_ARCHITECTURE_RISCV_H
+
+#include <boost/predef/version_number.h>
+#include <boost/predef/make.h>
+
+/*`
+[heading `BOOST_ARCH_RISCV`]
+
+[@http://en.wikipedia.org/wiki/RISC-V] architecture.
+
+[table
+ [[__predef_symbol__] [__predef_version__]]
+
+ [[`__riscv`] [__predef_detection__]]
+ ]
+ */
+
+#define BOOST_ARCH_RISCV BOOST_VERSION_NUMBER_NOT_AVAILABLE
+
+#if defined(__riscv)
+# undef BOOST_ARCH_RISCV
+# define BOOST_ARCH_RISCV BOOST_VERSION_NUMBER_AVAILABLE
+#endif
+
+#if BOOST_ARCH_RISCV
+# define BOOST_ARCH_RISCV_AVAILABLE
+#endif
+
+#define BOOST_ARCH_RISCV_NAME "RISC-V"
+
+#endif
+
+#include <boost/predef/detail/test.h>
+BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_RISCV,BOOST_ARCH_RISCV_NAME)
Index: boost_1_71_0/boostcpp.jam
===================================================================
--- boost_1_71_0.orig/boostcpp.jam
+++ boost_1_71_0/boostcpp.jam
@@ -607,7 +607,7 @@ rule address-model ( )
return <conditional>@boostcpp.deduce-address-model ;
}
-local deducable-architectures = arm mips1 power sparc x86 combined ;
+local deducable-architectures = arm mips1 power riscv sparc x86 combined ;
feature.feature deduced-architecture : $(deducable-architectures) : propagated optional composite hidden ;
for a in $(deducable-architectures)
{
@@ -618,11 +618,12 @@ rule deduce-architecture ( properties *
{
local result ;
local filtered = [ toolset-properties $(properties) ] ;
- local names = arm mips1 power sparc x86 combined ;
+ local names = arm mips1 power riscv sparc x86 combined ;
local idx = [ configure.find-builds "default architecture" : $(filtered)
: /boost/architecture//arm
: /boost/architecture//mips1
: /boost/architecture//power
+ : /boost/architecture//riscv
: /boost/architecture//sparc
: /boost/architecture//x86
: /boost/architecture//combined ] ;