diff options
author | Eric Bavier <bavier@member.fsf.org> | 2019-01-31 23:03:35 -0600 |
---|---|---|
committer | Eric Bavier <bavier@member.fsf.org> | 2019-02-09 00:50:16 -0600 |
commit | 41313acebf39e04c9ddd0857b8cd8b69991c88c3 (patch) | |
tree | 693b76d14636ef2c4887f8b575642ec96e14a5dc /gnu/packages/linux.scm | |
parent | 1482531cd7d0f1f7e565207240affb68dd822e17 (diff) | |
download | patches-41313acebf39e04c9ddd0857b8cd8b69991c88c3.tar patches-41313acebf39e04c9ddd0857b8cd8b69991c88c3.tar.gz |
gnu: openmpi: Upgrade to 4.0.0.
* gnu/packages/linux.scm (psm)[arguments]: Add 'patch-sysmacros phase to fix
"undefined reference to `minor'" errors while linking against
libinfinipath.so.
* gnu/packages/mpi.scm (openmpi): Upgrade to 4.0.0.
[inputs]: Add libevent.
[arguments]: Simplify configure-flags. Use system libevent. Adjust romio
version strings.
(%openmpi-setup): Use OMPI_MCA_rmaps_base_mapping_policy for oversubscription.
Diffstat (limited to 'gnu/packages/linux.scm')
-rw-r--r-- | gnu/packages/linux.scm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index b1dfb7f701..66a1ad4508 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -4717,6 +4717,13 @@ libraries, which are often integrated directly into libfabric.") (string-append %output "/include"))) (substitute* "Makefile" (("/lib64") "/lib")) + #t)) + (add-after 'unpack 'patch-sysmacros + (lambda _ + (substitute* "ipath/ipath_proto.c" + (("#include <sys/poll.h>" m) + (string-append m "\n" + "#include <sys/sysmacros.h>"))) #t))))) (synopsis "Intel Performance Scaled Messaging (PSM) Libraries") (description |