mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
Merge pull request #17200 from knedlsepp/openmpi-for-darwin
openmpi: Remove libibverbs on unsupported platforms
This commit is contained in:
commit
79ad32fd17
1 changed files with 3 additions and 1 deletions
|
@ -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 a new issue