Hello community,

here is the log from the commit of package gasnet for openSUSE:Factory checked 
in at 2017-05-27 13:16:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gasnet (Old)
 and      /work/SRC/openSUSE:Factory/.gasnet.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gasnet"

Sat May 27 13:16:34 2017 rev:3 rq:497819 version:1.28.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/gasnet/gasnet.changes    2017-03-20 
17:11:14.195689835 +0100
+++ /work/SRC/openSUSE:Factory/.gasnet.new/gasnet.changes       2017-05-27 
13:16:35.242583983 +0200
@@ -1,0 +2,26 @@
+Tue May 16 15:38:38 UTC 2017 - [email protected]
+
+- Support gasnet over OFI and ibverbs
+
+-------------------------------------------------------------------
+Fri Apr  7 15:23:19 CEST 2017 - [email protected]
+
+- Remove conflict marker.
+
+-------------------------------------------------------------------
+Fri Mar 31 12:04:16 UTC 2017 - [email protected]
+
+- Fix dynamic linking for PSM libraries
+
+-------------------------------------------------------------------
+Fri Mar 31 13:35:50 CEST 2017 - [email protected]
+
+- GASnet relies on libpsm2-compat which again only supports x86_64
+  so make GASnet do the same.  
+
+-------------------------------------------------------------------
+Wed Mar 29 07:57:50 CEST 2017 - [email protected]
+
+- Make dependencies on libs now coming from rdma-core versioned.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ gasnet.spec ++++++
--- /var/tmp/diff_new_pack.J1Bvrm/_old  2017-05-27 13:16:35.806504259 +0200
+++ /var/tmp/diff_new_pack.J1Bvrm/_new  2017-05-27 13:16:35.806504259 +0200
@@ -29,9 +29,16 @@
 BuildRequires:  automake
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
+# For transition to rdma-core make sure the new packages are selected
+# Once the transition is made the version check can be removed
+BuildRequires:  libibverbs-devel >= 12
+BuildRequires:  libfabric-devel
+BuildRequires:  libpsm2-compat
+BuildRequires:  libpsm2-devel
 BuildRequires:  libtool
 BuildRequires:  openmpi
 BuildRequires:  openmpi-devel
+ExclusiveArch:  x86_64
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
@@ -93,7 +100,7 @@
 sed -i -e "s/__DATE__/\"$FAKE_BUILDDATE\"/" -e 
"s/__TIME__/\"$FAKE_BUILDTIME\"/" gasnet_tools.c gasnet_trace.c tests/test.h
 
 %build
-%configure --enable-udp --enable-mpi --enable-par --disable-ibv 
--disable-aligned-segments  --enable-segment-fast --with-segment-mmap-max=4GB 
CC="gcc -fPIC" CXX="g++ -fPIC"
+%configure --enable-udp --enable-mpi --enable-par --enable-ibv 
--disable-aligned-segments  --enable-segment-fast --with-segment-mmap-max=4GB 
CC="gcc -fPIC" CXX="g++ -fPIC"
 make %{?_smp_mflags} MANUAL_CFLAGS="%optflags -fPIC" 
MANUAL_MPICFLAGS="%optflags -fPIC" MANUAL_CXXFLAGS="%optflags -fPIC"
 
 %check
@@ -110,15 +117,22 @@
     [[ -f $l ]] || continue; \
     soname=`basename $l .a`; \
     libdir=`dirname $l`; \
+       linker=`which g++`
     libs= ; \
     [[ ${soname} = libgasnet-*-par* ]] && libs+=" -lpthread"; \
+    [[ ${soname} = libgasnet-psm-seq ]] && libs+=" -lpthread"; \
     [[ ${soname} = libamudp ]] && libs+=" -L${libdir} -lgasnet-smp-par"; \
     [[ ${soname} = libammpi ]] && libs+=" $(mpicc --showme:link)"; \
     [[ ${soname} = libgasnet-udp-* ]] && libs+=" -L${libdir} -lamudp"; \
     [[ ${soname} = libgasnet-mpi-* ]] && libs+=" -L${libdir} -lammpi"; \
-    [[ ${soname} = libgasnet-ibv-* ]] && libs+=" -L${libdir} -lammpi"; \
+    [[ ${soname} = libgasnet-ibv-* ]] && libs+=" -L${libdir} -libverbs 
-lpthread" &&
+          linker=`which mpic++`; \
+    [[ ${soname} = libgasnet-psm-* ]] && libs+=" -L${libdir} -lpsm2" &&
+          linker=`which mpic++`; \
+    [[ ${soname} = libgasnet-ofi-* ]] && libs+=" -L${libdir} -lfabric" &&
+          linker=`which mpic++`; \
     [[ ${soname} = libgasnet-*-* ]] && libs+=" -lrt"; \
-    g++ -shared -Wl,-soname=${soname}-%{version}.so \
+    ${linker} -shared -Wl,-soname=${soname}-%{version}.so \
         -Wl,--as-needed -Wl,-z,defs -Wl,--rpath-link=. \
         -Wl,--whole-archive ${l} -Wl,--no-whole-archive \
         ${libs} -o ${libdir}/${soname}-%{version}.so && \


Reply via email to