openmpi: Remove libibverbs on unsupported platforms
The libibverbs package is only available on Linux and FreeBSD, but openmpi can be used without it on platforms that don't support it.
This commit is contained in:
parent
03c141b00e
commit
be3a42a294
@ -26,7 +26,8 @@ in stdenv.mkDerivation rec {
|
||||
# https://www.open-mpi.org/community/lists/users/2015/11/28030.php
|
||||
patches = [ ./nbc_copy.patch ];
|
||||
|
||||
buildInputs = [ gfortran libibverbs ];
|
||||
buildInputs = [ gfortran ]
|
||||
++ optional (stdenv.isLinux || stdenv.isFreeBSD) libibverbs;
|
||||
|
||||
nativeBuildInputs = [ perl ];
|
||||
|
||||
@ -46,5 +47,6 @@ in stdenv.mkDerivation rec {
|
||||
description = "Open source MPI-2 implementation";
|
||||
longDescription = "The Open MPI Project is an open source MPI-2 implementation that is developed and maintained by a consortium of academic, research, and industry partners. Open MPI is therefore able to combine the expertise, technologies, and resources from all across the High Performance Computing community in order to build the best MPI library available. Open MPI offers advantages for system and software vendors, application developers and computer science researchers.";
|
||||
maintainers = [ stdenv.lib.maintainers.mornfall ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user