ucc: split outputs -> out, dev

This commit is contained in:
Markus Kowalewski 2023-10-08 11:12:53 +02:00
parent 47c6341abb
commit 71b60a7bb7

View file

@ -18,6 +18,8 @@ stdenv.mkDerivation rec {
sha256 = "sha256-7Mo9zU0sogGyDdWIfTgUPoR5Z8D722asC2y7sHnKbzs="; sha256 = "sha256-7Mo9zU0sogGyDdWIfTgUPoR5Z8D722asC2y7sHnKbzs=";
}; };
outputs = [ "out" "dev" ];
enableParallelBuilding = true; enableParallelBuilding = true;
postPatch = '' postPatch = ''
@ -42,6 +44,12 @@ stdenv.mkDerivation rec {
++ lib.optional enableAvx "--with-avx" ++ lib.optional enableAvx "--with-avx"
++ lib.optional enableCuda "--with-cuda=${cudatoolkit}"; ++ lib.optional enableCuda "--with-cuda=${cudatoolkit}";
postInstall = ''
find $out/lib/ -name "*.la" -exec rm -f \{} \;
moveToOutput bin/ucc_info $dev
'';
meta = with lib; { meta = with lib; {
description = "Collective communication operations API"; description = "Collective communication operations API";
license = licenses.bsd3; license = licenses.bsd3;