SHA256
1
0
forked from pool/mvapich2

Accepting request 625262 from science:HPC

OBS-URL: https://build.opensuse.org/request/show/625262
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mvapich2?expand=0&rev=10
This commit is contained in:
Dominique Leuenberger 2018-07-25 14:14:59 +00:00 committed by Git OBS Bridge
commit cccb8080a0
3 changed files with 7 additions and 15 deletions

View File

@ -1,12 +0,0 @@
diff --git src/openpa/test/opa_test.h src/openpa/test/opa_test.h
index 490b916..ec9c7f5 100644
--- src/openpa/test/opa_test.h
+++ src/openpa/test/opa_test.h
@@ -20,6 +20,7 @@
#include <limits.h>
#include <time.h>
#if defined(OPA_HAVE_PTHREAD_H)
+# define GNU_SOURCE
# include <pthread.h>
#endif /* HAVE_PTHREAD_H */

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jul 16 16:13:32 UTC 2018 - msuchanek@suse.com
- Use sched_yield instead of pthread_yield (boo#1102421).
- drop mvapich2-pthread_yield.patch
-------------------------------------------------------------------
Mon Jun 18 13:12:15 UTC 2018 - nmoreychaisemartin@suse.com

View File

@ -163,7 +163,6 @@ Source2: mpivars.csh
Source3: macros.hpc-mvapich2
Source100: _multibuild
Patch0: mvapich2-s390_get_cycles.patch
Patch1: mvapich2-pthread_yield.patch
Patch2: mvapich2-arm-support.patch
Url: http://mvapich.cse.ohio-state.edu/overview/mvapich2/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -293,7 +292,6 @@ is based on MPICH2 and MVICH. This package contains the static libraries
%{?with_hpc:%hpc_debug}
%setup -q -n mvapich2-%{version}%{?rc_ver}
%patch0
%patch1
%patch2
cp /usr/share/automake*/config.* .
@ -315,7 +313,7 @@ cp /usr/share/automake*/config.* .
%endif
--docdir=%{_datadir}/doc/%{name} \
--disable-wrapper-rpath \
--disable-wrapper-rpath \
--enable-yield=sched_yield \
%if "%{build_flavor}" == "psm"
--with-device=ch3:psm \
--with-psm=/usr \