3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #17200 from knedlsepp/openmpi-for-darwin

openmpi: Remove libibverbs on unsupported platforms
This commit is contained in:
Nikolay Amiantov 2016-07-23 15:18:52 +04:00 committed by GitHub
commit 79ad32fd17

View file

@ -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;
};
}