Hello community,

here is the log from the commit of package boost for openSUSE:Factory checked 
in at 2017-10-13 14:10:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/boost (Old)
 and      /work/SRC/openSUSE:Factory/.boost.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "boost"

Fri Oct 13 14:10:26 2017 rev:118 rq:532726 version:1.65.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/boost/boost.changes      2017-10-05 
11:51:47.363659232 +0200
+++ /work/SRC/openSUSE:Factory/.boost.new/boost.changes 2017-10-13 
14:10:28.319044345 +0200
@@ -1,0 +2,6 @@
+Mon Oct  9 08:13:38 UTC 2017 - [email protected]
+
+- Setup MPI environment prior to building boost.
+- Switch to OpenMPI2 as OpenMPI1 is becoming deprecated.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ boost.spec ++++++
--- /var/tmp/diff_new_pack.CRSjz8/_old  2017-10-13 14:10:32.250871450 +0200
+++ /var/tmp/diff_new_pack.CRSjz8/_new  2017-10-13 14:10:32.250871450 +0200
@@ -27,6 +27,18 @@
 %define my_docdir %{_docdir}/boost-%{version}
 
 # Build with OpenMPI
+%if 0%{?suse_version} >= 1330
+  # OpenMPI >= 2 is not available on ppc64be
+  %ifarch ppc64
+    %define mpi_implem openmpi
+  %else
+    %define mpi_implem openmpi2
+  %endif
+%else
+  # Keep OpenMPI1 for older releases where OpenMPI2 is not available
+  %define mpi_implem openmpi
+%endif
+
 %ifarch ia64 hppa
 %bcond_with  build_mpi
 %else
@@ -131,7 +143,7 @@
 BuildRequires:  zlib-devel
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %if %{with build_mpi}
-BuildRequires:  openmpi-devel
+BuildRequires:  %{mpi_implem}-devel
 %endif
 %if %{with build_docs}
 BuildRequires:  docbook
@@ -558,9 +570,9 @@
 %if %{with python3}
 Requires:       libboost_python-py3-%{lib_appendix}-devel
 %endif
+Requires:       %{mpi_implem}-devel
 Requires:       libboost_mpi%{lib_appendix} = %{version}
 Requires:       libboost_serialization%{lib_appendix}-devel
-Requires:       openmpi-devel
 Provides:       libboost_mpi-devel = %{version}
 Conflicts:      otherproviders(libboost_mpi-devel)
 Conflicts:      boost-devel < 1.63
@@ -1113,8 +1125,7 @@
 
 %if %{with build_mpi}
 # Set PATH, MANPATH and LD_LIBRARY_PATH for mpi
-#. %{_localstatedir}/mpi-selector/data/$(rpm --qf "%{NAME}-%{VERSION}" -q 
openmpi).sh
-# fixme: use mpi-selector ????
+. %{_libdir}/mpi/gcc/%{mpi_implem}/bin/mpivars.sh
 %endif
 
 # Need specific Boost Jam config files.
@@ -1241,6 +1252,11 @@
 # Read shared build instructions
 . ./.build
 
+%if %{with build_mpi}
+# Set PATH, MANPATH and LD_LIBRARY_PATH for mpi
+. %{_libdir}/mpi/gcc/%{mpi_implem}/bin/mpivars.sh
+%endif
+
 %if %{with python3}
 ./b2 -d+2 -q --user-config=./user-config-py3.jam \
     --build-type=minimal --build-dir=./python3-build \


Reply via email to