openmpi: Use external hwloc and libevent

Recommended in the upgrade guide:
https://www.open-mpi.org/software/ompi/major-changes.php
This commit is contained in:
Markus Kowalewski 2019-01-28 18:28:44 +01:00
parent c26a79a556
commit 840716a8b6
No known key found for this signature in database
GPG Key ID: 502A248E3FB4FF48

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, gfortran, perl, libnl, rdma-core, zlib { stdenv, fetchurl, gfortran, perl, libnl, rdma-core, zlib
, numactl , numactl, libevent, hwloc
# Enable the Sun Grid Engine bindings # Enable the Sun Grid Engine bindings
, enableSGE ? false , enableSGE ? false
@ -24,7 +24,7 @@ in stdenv.mkDerivation rec {
''; '';
buildInputs = with stdenv; [ gfortran zlib ] buildInputs = with stdenv; [ gfortran zlib ]
++ lib.optionals isLinux [ libnl numactl ] ++ lib.optionals isLinux [ libnl numactl libevent hwloc ]
++ lib.optional (isLinux || isFreeBSD) rdma-core; ++ lib.optional (isLinux || isFreeBSD) rdma-core;
nativeBuildInputs = [ perl ]; nativeBuildInputs = [ perl ];