mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
40 lines
880 B
Nix
40 lines
880 B
Nix
{ lib, stdenv, fetchFromGitHub, autoreconfHook, doxygen
|
|
, numactl, rdma-core, libbfd, libiberty, perl, zlib
|
|
}:
|
|
|
|
let
|
|
version = "1.9.0";
|
|
|
|
in stdenv.mkDerivation {
|
|
name = "ucx-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "openucx";
|
|
repo = "ucx";
|
|
rev = "v${version}";
|
|
sha256 = "0i0ji5ivzxjqh3ys1m517ghw3am7cw1hvf40ma7hsq3wznsyx5s1";
|
|
};
|
|
|
|
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 lib; {
|
|
description = "Unified Communication X library";
|
|
homepage = "http://www.openucx.org";
|
|
license = licenses.bsd3;
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.markuskowa ];
|
|
};
|
|
}
|