Hello community,

here is the log from the commit of package gasnet for openSUSE:Factory checked 
in at 2017-10-07 17:52:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gasnet (Old)
 and      /work/SRC/openSUSE:Factory/.gasnet.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gasnet"

Sat Oct  7 17:52:03 2017 rev:10 rq:532255 version:1.30.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/gasnet/gasnet.changes    2017-09-12 
19:53:23.823931664 +0200
+++ /work/SRC/openSUSE:Factory/.gasnet.new/gasnet.changes       2017-10-07 
17:52:32.390360216 +0200
@@ -1,0 +2,6 @@
+Thu Oct  5 13:04:42 UTC 2017 - [email protected]
+
+- Force load of MPI environment
+- Use OpenMPI2 instead of OpenMPI1 except for ppc64be (unsupported by OpenMPI 
>= 2)
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ gasnet.spec ++++++
--- /var/tmp/diff_new_pack.PIlDCc/_old  2017-10-07 17:52:33.138327335 +0200
+++ /var/tmp/diff_new_pack.PIlDCc/_new  2017-10-07 17:52:33.138327335 +0200
@@ -17,6 +17,12 @@
 
 
 %define _buildshell /bin/bash
+%ifarch ppc64
+%define mpi_implem openmpi
+%else
+%define mpi_implem openmpi2
+%endif
+
 Name:           gasnet
 Version:        1.30.0
 Release:        0
@@ -40,9 +46,9 @@
 %ifarch x86_64
 BuildRequires:  libpsm2-devel
 %endif
+BuildRequires:  %{mpi_implem}
+BuildRequires:  %{mpi_implem}-devel
 BuildRequires:  libtool
-BuildRequires:  openmpi
-BuildRequires:  openmpi-devel
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
@@ -107,6 +113,7 @@
 sed -i -e "s/__DATE__/\"$FAKE_BUILDDATE\"/" -e 
"s/__TIME__/\"$FAKE_BUILDTIME\"/" gasnet_tools.c gasnet_trace.c tests/test.h
 
 %build
+. %{_libdir}/mpi/gcc/%{mpi_implem}/bin/mpivars.sh
 %configure --enable-udp --enable-mpi --enable-par --enable-ibv 
--disable-aligned-segments  --enable-segment-fast --with-segment-mmap-max=4GB 
--disable-debug --enable-force-posix-realtime \
 %ifarch x86_64 %{ix86}
     --enable-ofi \
@@ -120,9 +127,11 @@
 make %{?_smp_mflags} MANUAL_CFLAGS="%optflags -fPIC" 
MANUAL_MPICFLAGS="%optflags -fPIC" MANUAL_CXXFLAGS="%optflags -fPIC"
 
 %check
+. %{_libdir}/mpi/gcc/%{mpi_implem}/bin/mpivars.sh
 make %{?_smp_mflags} check MANUAL_CFLAGS="%optflags -fPIC" 
MANUAL_MPICFLAGS="%optflags -fPIC" MANUAL_CXXFLAGS="%optflags -fPIC"
 
 %install
+. %{_libdir}/mpi/gcc/%{mpi_implem}/bin/mpivars.sh
 make %{?_smp_mflags} DESTDIR=%{buildroot} install
 %fdupes %{buildroot}/%{_prefix}
 chmod +x %{buildroot}/%{_bindir}/*.pl


Reply via email to