depot/third_party/nixpkgs/pkgs/development/libraries/ucx/default.nix
Default email 3e2acf8aff Project import generated by Copybara.
GitOrigin-RevId: d42cd445dde587e9a993cd9434cb43da07c4c5de
2021-05-20 18:08:51 -05:00

37 lines
867 B
Nix

{ lib, stdenv, fetchFromGitHub, autoreconfHook, doxygen
, numactl, rdma-core, libbfd, libiberty, perl, zlib
}:
stdenv.mkDerivation rec {
pname = "ucx";
version = "1.10.1";
src = fetchFromGitHub {
owner = "openucx";
repo = "ucx";
rev = "v${version}";
sha256 = "1jl7wrmcpf6lakpi1gvjcs18cy0mmwgsv5wdd80zyl41cpd8gm8d";
};
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 ];
};
}