Hello community, here is the log from the commit of package boost for openSUSE:Factory checked in at 2019-09-25 02:09:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/boost (Old) and /work/SRC/openSUSE:Factory/.boost.new.7948 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "boost" Wed Sep 25 02:09:02 2019 rev:130 rq:732128 version:1.71.0 Changes: -------- --- /work/SRC/openSUSE:Factory/boost/boost.changes 2019-09-18 13:05:30.956764667 +0200 +++ /work/SRC/openSUSE:Factory/.boost.new.7948/boost.changes 2019-09-25 02:09:10.485588917 +0200 @@ -1,0 +2,11 @@ +Thu Sep 19 15:34:53 UTC 2019 - Andreas Schwab <[email protected]> + +- Enable context on riscv64 +- riscv-support.patch: Add missing bits for riscv support + +------------------------------------------------------------------- +Wed Sep 18 15:38:24 UTC 2019 - Andreas Schwab <[email protected]> + +- Make sure %{_libdir}/cmake is packaged also without openblas-devel + +------------------------------------------------------------------- New: ---- riscv-support.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ boost.spec ++++++ --- /var/tmp/diff_new_pack.Oc678I/_old 2019-09-25 02:09:14.777588480 +0200 +++ /var/tmp/diff_new_pack.Oc678I/_new 2019-09-25 02:09:14.777588480 +0200 @@ -130,7 +130,7 @@ %bcond_with python_numpy %endif # context hasn't been ported to most architectures yet -%ifarch %{ix86} x86_64 %{arm} aarch64 mips ppc ppc64 ppc64le +%ifarch %{ix86} x86_64 %{arm} aarch64 mips ppc ppc64 ppc64le riscv64 %bcond_without build_context %else %bcond_with build_context @@ -197,6 +197,7 @@ Patch18: dynamic_linking.patch Patch20: python_library_name.patch Patch23: 3ecbf83f.patch +Patch24: riscv-support.patch BuildRequires: fdupes BuildRequires: libbz2-devel BuildRequires: libexpat-devel @@ -1230,6 +1231,7 @@ %patch18 -p1 %patch20 -p1 %patch23 -p1 +%patch24 -p1 %build find . -type f -exec chmod u+w {} + @@ -1928,6 +1930,7 @@ %{package_libdir}/libboost_mpi.so.%{version} %files -n libboost_mpi%{library_version}-devel +%dir %{package_libdir}/cmake %dir %{package_libdir}/cmake/boost_mpi-%{version} %{package_libdir}/cmake/boost_mpi-%{version}/* %{package_libdir}/libboost_mpi.so @@ -1936,6 +1939,7 @@ %{package_libdir}/libboost_graph_parallel.so.%{version} %files -n libboost_graph_parallel%{library_version}-devel +%dir %{package_libdir}/cmake %dir %{package_libdir}/cmake/boost_graph_parallel-%{version} %{package_libdir}/cmake/boost_graph_parallel-%{version}/* %{package_libdir}/libboost_graph_parallel.so @@ -1945,6 +1949,7 @@ %{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 @@ -2008,6 +2013,7 @@ %{package_libdir}/libboost_python-py3.so.%{version} %files -n libboost_python-py3-%{library_version}-devel +%dir %{package_libdir}/cmake %dir %{package_libdir}/cmake/boost_python-%{version} %{package_libdir}/cmake/boost_python-%{version}/* %{package_libdir}/libboost_python3.so @@ -2018,6 +2024,7 @@ %{package_libdir}/libboost_numpy-py3.so.%{version} %files -n libboost_numpy-py3-%{library_version}-devel +%dir %{package_libdir}/cmake %dir %{package_libdir}/cmake/boost_numpy-%{version} %{package_libdir}/cmake/boost_numpy-%{version}/* %{package_libdir}/libboost_numpy-py3.so ++++++ riscv-support.patch ++++++ 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 ] ;
