Skip to content

Commit

Permalink
openmpi: unbundle libevent and hwloc on Darwin
Browse files Browse the repository at this point in the history
When these dependencies are not found OpenMPI builds its internal copies.
  • Loading branch information
orivej committed Jul 13, 2019
1 parent d429658 commit ca52fb8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/development/libraries/openmpi/default.nix
Expand Up @@ -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 ];
Expand Down

0 comments on commit ca52fb8

Please sign in to comment.