openmpi: fix hwloc NUMA cpu allocation capability (#45459)
This commit is contained in:
parent
2dec33b60d
commit
1471e865d2
@ -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 ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user