2020-02-20 12:59:21 +00:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, doxygen
|
|
|
|
, numactl, rdma-core, libbfd, libiberty, perl, zlib
|
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
2020-07-16 16:33:39 +01:00
|
|
|
version = "1.8.1";
|
2020-02-20 12:59:21 +00:00
|
|
|
|
|
|
|
in stdenv.mkDerivation {
|
|
|
|
name = "ucx-${version}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "openucx";
|
|
|
|
repo = "ucx";
|
|
|
|
rev = "v${version}";
|
2020-07-16 16:33:39 +01:00
|
|
|
sha256 = "0yfnx4shgydkp447kipavjzgl6z58jan6l7znhdi8ry4zbgk568a";
|
2020-02-20 12:59:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook doxygen ];
|
|
|
|
|
|
|
|
buildInputs = [ numactl rdma-core libbfd libiberty perl zlib ];
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--with-rdmacm=${rdma-core}"
|
|
|
|
"--with-dc"
|
|
|
|
"--with-rc"
|
|
|
|
"--with-dm"
|
|
|
|
"--with-verbs=${rdma-core}"
|
|
|
|
];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Unified Communication X library";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://www.openucx.org";
|
2020-02-20 12:59:21 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.markuskowa ];
|
|
|
|
};
|
|
|
|
}
|