SHA256
1
0
forked from pool/mvapich2
mvapich2/mvapich2-pthread_yield.patch
Nicolas Morey-Chaisemartin b95e475e85 Accepting request 502493 from home:NMoreyChaisemartin:branches:science:HPC
- Reenable arm compilation
- Rename and cleanup mvapich-s390_get_cycles.patch to
  mvapich2-s390_get_cycles.patch for coherency
- Cleanup mvapich2-pthread_yield.patch
- Add mvapich2-arm-support.patch to provide missing functions for
  armv7hl and aarch64

OBS-URL: https://build.opensuse.org/request/show/502493
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mvapich2?expand=0&rev=6
2017-06-09 07:27:29 +00:00

13 lines
325 B
Diff

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 */