diff options
author | Georgios Eleftheriou | 2018-10-04 00:57:17 +0200 |
---|---|---|
committer | Georgios Eleftheriou | 2018-10-04 00:57:17 +0200 |
commit | ae3e1cb83872f4c85aef270a24d290cf88d6b2dc (patch) | |
tree | 7cc4454efc1262743e4e4ba86a4e2f43322446ae /mpi.patch | |
parent | 1943d5acd42e4cd108766512abedb6ed5d3c2d77 (diff) | |
download | aur-ae3e1cb83872f4c85aef270a24d290cf88d6b2dc.tar.gz |
improvements (such as safer mpi patch, pkgconfig etc)
Diffstat (limited to 'mpi.patch')
-rw-r--r-- | mpi.patch | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/mpi.patch b/mpi.patch index 4fadc13e26ab..e435f9be3ff5 100644 --- a/mpi.patch +++ b/mpi.patch @@ -6,13 +6,19 @@ https://bugs.archlinux.org/task/33343 --- a/src/H5public.h +++ b/src/H5public.h -@@ -58,6 +58,8 @@ +@@ -57,6 +57,15 @@ # include <stddef.h> #endif #ifdef H5_HAVE_PARALLEL -+# define OMPI_SKIP_MPICXX /* Make sure that cxx specific headers are not included */ -+# define MPICH_SKIP_MPICXX ++# ifndef OMPI_SKIP_MPICXX ++# define OMPI_SKIP_MPICXX ++# endif ++# ifndef MPICH_IGNORE_CXX_SEEK ++# define MPICH_IGNORE_CXX_SEEK ++# endif ++# ifndef MPICH_SKIP_MPICXX ++# define MPICH_SKIP_MPICXX ++# endif # include <mpi.h> #ifndef MPI_FILE_NULL /*MPIO may be defined in mpi.h already */ # include <mpio.h> - |