openmpi: unbundle libevent and hwloc on Darwin

When these dependencies are not found OpenMPI builds its internal copies.
This commit is contained in:
Orivej Desh
2019-07-13 17:11:55 +00:00
parent d4296584d1
commit ca52fb8554
@@ -32,7 +32,8 @@ in stdenv.mkDerivation rec {
'';
buildInputs = with stdenv; [ gfortran zlib ]
++ lib.optionals isLinux [ libnl numactl libevent hwloc ]
++ lib.optionals isLinux [ libnl numactl ]
++ [ libevent hwloc ]
++ lib.optional (isLinux || isFreeBSD) rdma-core;
nativeBuildInputs = [ perl ];