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