mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
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:
parent
c26a79a556
commit
840716a8b6
@ -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 ];
|
||||||
|
Loading…
Reference in New Issue
Block a user