Accepting request 1110449 from home:aschnell:boost

- update to 1.83.0
  * new libraries:
    + Compat - Header-only Library.
  * for details on all changes see,
    https://www.boost.org/users/history/version_1_83_0.html
- dynamic_linking.patch: updated
- boost-mpi-noreturn.patch: added

OBS-URL: https://build.opensuse.org/request/show/1110449
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/boost?expand=0&rev=316
This commit is contained in:
Arvin Schnell 2023-09-12 08:16:58 +00:00 committed by Git OBS Bridge
parent 589066fdf3
commit e25c79031e
7 changed files with 73 additions and 51 deletions

View File

@ -1,27 +1,27 @@
libboost_atomic1_82_0
libboost_container1_82_0
libboost_context1_82_0
libboost_coroutine1_82_0
libboost_date_time1_82_0
libboost_fiber1_82_0
libboost_filesystem1_82_0
libboost_graph1_82_0
libboost_graph_parallel1_82_0
libboost_iostreams1_82_0
libboost_locale1_82_0
libboost_math1_82_0
libboost_mpi1_82_0
libboost_nowide1_82_0
libboost_test1_82_0
libboost_program_options1_82_0
libboost_python-py3-1_82_0
libboost_random1_82_0
libboost_serialization1_82_0
libboost_stacktrace1_82_0
libboost_system1_82_0
libboost_thread1_82_0
libboost_type_erasure1_82_0
libboost_wave1_82_0
libboost_url1_82_0
libboost_regex1_82_0
libboost_json1_82_0
libboost_atomic1_83_0
libboost_container1_83_0
libboost_context1_83_0
libboost_coroutine1_83_0
libboost_date_time1_83_0
libboost_fiber1_83_0
libboost_filesystem1_83_0
libboost_graph1_83_0
libboost_graph_parallel1_83_0
libboost_iostreams1_83_0
libboost_locale1_83_0
libboost_math1_83_0
libboost_mpi1_83_0
libboost_nowide1_83_0
libboost_test1_83_0
libboost_program_options1_83_0
libboost_python-py3-1_83_0
libboost_random1_83_0
libboost_serialization1_83_0
libboost_stacktrace1_83_0
libboost_system1_83_0
libboost_thread1_83_0
libboost_type_erasure1_83_0
libboost_wave1_83_0
libboost_url1_83_0
libboost_regex1_83_0
libboost_json1_83_0

12
boost-mpi-noreturn.patch Normal file
View File

@ -0,0 +1,12 @@
diff -r -u boost_1_83_0-orig/boost/mpi/environment.hpp boost_1_83_0/boost/mpi/environment.hpp
--- boost_1_83_0-orig/boost/mpi/environment.hpp 2023-08-08 23:02:53.000000000 +0200
+++ boost_1_83_0/boost/mpi/environment.hpp 2023-09-12 08:36:01.310536799 +0200
@@ -176,7 +176,7 @@
* @param errcode The error code to return to the environment.
* @returns Will not return.
*/
- static void abort(int errcode);
+ [[noreturn]] static void abort(int errcode);
/** Determine if the MPI environment has already been initialized.
*

View File

@ -1,8 +1,19 @@
-------------------------------------------------------------------
Tue Sep 05 07:39:53 CEST 2023 - aschnell@suse.com
- update to 1.83.0
* new libraries:
+ Compat - Header-only Library.
* for details on all changes see,
https://www.boost.org/users/history/version_1_83_0.html
- dynamic_linking.patch: updated
- boost-mpi-noreturn.patch: added
-------------------------------------------------------------------
Thu Apr 20 10:04:18 CEST 2023 - aschnell@suse.com
- update to 1.82.0
* new libraries:
* new libraries:
+ MySQL - MySQL Header-only Library.
* for details on all changes see,
https://www.boost.org/users/history/version_1_82_0.html

View File

@ -19,9 +19,9 @@
#
%global flavor @BUILD_FLAVOR@%{nil}
%define ver 1.82.0
%define _ver 1_82_0
%define package_version 1_82_0
%define ver 1.83.0
%define _ver 1_83_0
%define package_version 1_83_0
%define file_version %_ver
%define lib_appendix %_ver
%define docs_version 1.56.0
@ -235,9 +235,9 @@ ExcludeArch: s390x %{ix86} ppc64 ppc64le
%endif
Name: %{base_name}
Version: 1.82.0
Version: 1.83.0
Release: 0
%define library_version 1_82_0
%define library_version 1_83_0
Summary: Boost C++ Libraries
License: BSL-1.0
Group: Development/Libraries/C and C++
@ -267,6 +267,8 @@ Patch18: dynamic_linking.patch
Patch20: python_library_name.patch
Patch21: boost-remove-cmakedir.patch
Patch22: boost-process.patch
# https://github.com/boostorg/mpi/issues/149
Patch50: boost-mpi-noreturn.patch
%{?suse_build_hwcaps_libs}
BuildRequires: fdupes
BuildRequires: gmp-devel
@ -1279,6 +1281,7 @@ find -type f ! \( -name \*.sh -o -name \*.py -o -name \*.pl \) -exec chmod -x {}
%patch20 -p1
%patch21 -p1
%patch22 -p2
%patch50 -p1
%build
find . -type f -exec chmod u+w {} +

View File

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

3
boost_1_83_0.tar.bz2 Normal file
View File

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

View File

@ -70,21 +70,17 @@ Index: boost_1_80_0/libs/system/build/Jamfile.v2
boost-install boost_system ;
Index: boost_1_80_0/libs/timer/build/Jamfile.v2
===================================================================
--- boost_1_80_0.orig/libs/timer/build/Jamfile.v2
+++ boost_1_80_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)
<link>shared:<define>BOOST_TIMER_DYN_LINK=1
- <link>static:<define>BOOST_TIMER_STATIC_LINK=1
+# <link>static:<define>BOOST_TIMER_STATIC_LINK=1
;
SOURCES = auto_timers_construction cpu_timer ;
@@ -21,7 +21,7 @@ SOURCES = auto_timers_construction cpu_t
lib boost_timer
: $(SOURCES).cpp
: <link>shared:<define>BOOST_TIMER_DYN_LINK=1
--- 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
;