ucx: split outputs -> out, doc, dev

This commit is contained in:
Markus Kowalewski
2023-10-08 21:37:32 +02:00
parent 71b60a7bb7
commit a0a2fe7d60
@@ -30,6 +30,8 @@ stdenv.mkDerivation rec {
sha256 = "sha256-VxIxrk9qKM6Ncfczl4p2EhXiLNgPaYTmjhqi6/w2ZNY=";
};
outputs = [ "out" "doc" "dev" ];
nativeBuildInputs = [ autoreconfHook doxygen pkg-config ];
buildInputs = [
@@ -51,6 +53,14 @@ stdenv.mkDerivation rec {
] ++ lib.optional enableCuda "--with-cuda=${cudatoolkit'}"
++ lib.optional enableRocm "--with-rocm=${rocm}";
postInstall = ''
find $out/lib/ -name "*.la" -exec rm -f \{} \;
moveToOutput bin/ucx_info $dev
moveToOutput share/ucx/examples $doc
'';
enableParallelBuilding = true;
meta = with lib; {