Accepting request 764003 from devel:libraries:c_c++

OBS-URL: https://build.opensuse.org/request/show/764003
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/boost?expand=0&rev=135
This commit is contained in:
Dominique Leuenberger 2020-01-16 17:18:35 +00:00 committed by Git OBS Bridge
commit 06630ba87e
3 changed files with 46 additions and 19 deletions

View File

@ -3,5 +3,7 @@
<package>extra</package>
<package>gnu-hpc</package>
<package>gnu-openmpi2-hpc</package>
<package>gnu-openmpi3-hpc</package>
<package>gnu-mvapich2-hpc</package>
<package>gnu-mpich-hpc</package>
</multibuild>

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jan 13 10:42:07 UTC 2020 - Christian Goll <cgoll@suse.com>
- removed hpc bjam package (boo#1160621)
- added gnu-hpc-openmpi3 and mpich flavor (boo#1160622)
-------------------------------------------------------------------
Fri Dec 13 04:03:05 UTC 2019 - Stefan Brüns <stefan.bruens@rwth-aachen.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package boost
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -94,6 +94,24 @@ ExcludeArch: s390x %{ix86} ppc64 ppc64le ia64 hppa
%endif
%endif
%if "@BUILD_FLAVOR@" == "gnu-openmpi3-hpc"
%define build_base 0
%define name_suffix openmpi3_hpc
%define mpi_vers 3
%define compiler_family gnu
%define mpi_flavor openmpi
%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
%endif
%endif
%if "@BUILD_FLAVOR@" == "gnu-mvapich2-hpc"
%define build_base 0
%define name_suffix mvapich2_hpc
@ -111,6 +129,23 @@ ExcludeArch: s390x %{ix86} ppc64 ppc64le ia64 hppa
%endif
%endif
%if "@BUILD_FLAVOR@" == "gnu-mpich-hpc"
%define build_base 0
%define name_suffix mpich
%define compiler_family gnu
%define mpi_flavor mpich
%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
%endif
%endif
# Python NumPy library is only available on Leap 42.1 OpenSUSE onward
# and is not availble in SLE
%if 0%{?suse_version} >= 1330 || 0%{?is_opensuse}
@ -327,19 +362,6 @@ applications that use the Boost C++ libraries. For documentation see
the documentation packages (html, man or pdf).
%if %{with hpc}
%if ! %{with mpi}
%package -n %{package_name}-jam
Summary: A Boost Make Replacement
Group: Development/Tools/Building
Provides: hpc-boost-jam-impl = %{version}
%description -n %{package_name}-jam
Boost Jam is a build tool based on FTJam, which in turn is based on
Perforce Jam. It contains significant improvements made to facilitate
its use in the Boost Build System. This version is modularized so it
does not conflict with other versions, but the module must be used
before usage.
%endif # ! mpi
%package -n %{package_name}-python3
Summary: Boost.MPI Python 3.x serialization library
Group: System/Libraries
@ -1516,8 +1538,10 @@ install -m 0755 dist/bin/quickbook %{buildroot}%{package_bindir}/quickbook
%if %{build_base}
mkdir -p %{buildroot}%{package_bindir}
%if %{without hpc}
install -m 755 b2 %{buildroot}%{package_bindir}/bjam
ln -s bjam %{buildroot}%{package_bindir}/jam
%endif
# Remove exception library, but only if the symbols are not
# actually used. For now, the only symbol that is linked is
@ -1740,11 +1764,6 @@ EOF
%files -n %{package_name}-devel
%package_includedir
%package_libdir/*.so
# do not package jam/bjam when building with mpi
%if ! %{with mpi}
%files -n %{package_name}-jam
%package_bindir
%endif # ! with mpi
%if %{with python2}
%files -n %{package_name}-python2
%package_python2_sitearch