Loading pkgs/development/libraries/composable_kernel/default.nix +67 −97 Original line number Diff line number Diff line Loading @@ -13,9 +13,7 @@ , gpuTargets ? [ ] # gpuTargets = [ "gfx803" "gfx900" "gfx1030" ... ] }: let # This is now over 3GB, to allow hydra caching we separate it ck = stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: { pname = "composable_kernel"; version = "unstable-2023-01-16"; Loading Loading @@ -85,32 +83,4 @@ let maintainers = teams.rocm.members; platforms = platforms.linux; }; }); in stdenv.mkDerivation { inherit (ck) pname version outputs src passthru requiredSystemFeatures meta; dontUnpack = true; dontPatch = true; dontConfigure = true; dontBuild = true; installPhase = '' runHook preInstall mkdir -p $out cp -an ${ck}/* $out '' + lib.optionalString buildTests '' cp -a ${ck.test} $test '' + lib.optionalString buildExamples '' cp -a ${ck.example} $example '' + '' runHook postInstall ''; # Fix paths preFixup = '' substituteInPlace $out/lib/cmake/composable_kernel/*.cmake \ --replace "${ck}" "$out" ''; } }) Loading
pkgs/development/libraries/composable_kernel/default.nix +67 −97 Original line number Diff line number Diff line Loading @@ -13,9 +13,7 @@ , gpuTargets ? [ ] # gpuTargets = [ "gfx803" "gfx900" "gfx1030" ... ] }: let # This is now over 3GB, to allow hydra caching we separate it ck = stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: { pname = "composable_kernel"; version = "unstable-2023-01-16"; Loading Loading @@ -85,32 +83,4 @@ let maintainers = teams.rocm.members; platforms = platforms.linux; }; }); in stdenv.mkDerivation { inherit (ck) pname version outputs src passthru requiredSystemFeatures meta; dontUnpack = true; dontPatch = true; dontConfigure = true; dontBuild = true; installPhase = '' runHook preInstall mkdir -p $out cp -an ${ck}/* $out '' + lib.optionalString buildTests '' cp -a ${ck.test} $test '' + lib.optionalString buildExamples '' cp -a ${ck.example} $example '' + '' runHook postInstall ''; # Fix paths preFixup = '' substituteInPlace $out/lib/cmake/composable_kernel/*.cmake \ --replace "${ck}" "$out" ''; } })