ucx: split outputs -> out, doc, dev
This commit is contained in:
@@ -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; {
|
||||
|
||||
Reference in New Issue
Block a user