mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
Revert "rocmPackages.composable_kernel: compress output"
This commit is contained in:
parent
229626d4d0
commit
92a9b54db1
File diff suppressed because it is too large
Load Diff
@ -72,9 +72,7 @@ in stdenv.mkDerivation (finalAttrs: {
|
||||
"info" # Avoid `attribute 'info' missing` when using with wrapCC
|
||||
];
|
||||
|
||||
patches = [
|
||||
./add-compression-to-clang-offload-bundler.patch
|
||||
] ++ extraPatches;
|
||||
patches = extraPatches;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ROCm";
|
||||
|
@ -2,14 +2,13 @@
|
||||
, callPackage
|
||||
, rocmUpdateScript
|
||||
, llvm
|
||||
, makeWrapper
|
||||
}:
|
||||
|
||||
callPackage ../base.nix rec {
|
||||
inherit stdenv rocmUpdateScript;
|
||||
targetName = "clang-unwrapped";
|
||||
targetDir = "clang";
|
||||
extraBuildInputs = [ llvm makeWrapper ];
|
||||
extraBuildInputs = [ llvm ];
|
||||
|
||||
extraCMakeFlags = [
|
||||
"-DCLANG_INCLUDE_DOCS=ON"
|
||||
@ -42,12 +41,6 @@ callPackage ../base.nix rec {
|
||||
|
||||
extraPostInstall = ''
|
||||
mv bin/clang-tblgen $out/bin
|
||||
# add wrapper to compress embedded accelerator-specific code
|
||||
# this makes the output of composable_kernel significantly smaller right now
|
||||
# TODO: remove this once ROCm does it out of the box
|
||||
mv $out/bin/clang-offload-bundler $out/bin/clang-offload-bundler-unwrapped
|
||||
makeWrapper $out/bin/clang-offload-bundler-unwrapped $out/bin/clang-offload-bundler \
|
||||
--add-flags '-compress'
|
||||
'';
|
||||
|
||||
requiredSystemFeatures = [ "big-parallel" ];
|
||||
|
Loading…
Reference in New Issue
Block a user