openmpi: fix hwloc NUMA cpu allocation capability (#45459)

This commit is contained in:
markuskowa 2018-08-22 23:16:06 +02:00 committed by xeji
parent 2dec33b60d
commit 1471e865d2

View File

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