diff options
author | Martin Schwaighofer <mschwaig@users.noreply.github.com> | 2024-02-10 19:23:58 +0100 |
---|---|---|
committer | Martin Schwaighofer <mschwaig@users.noreply.github.com> | 2024-03-21 22:48:31 +0100 |
commit | 12806ec0f80006769dc51cfcd85e1a594a2c0f00 (patch) | |
tree | 4fa884ec241f77108d695a3b9ef6fdf34ffcb6b4 /pkgs/development/rocm-modules/6/rocm-runtime/default.nix | |
parent | 5fdc6940542a76726ab0f12ec90994587e82846b (diff) | |
download | nixlib-12806ec0f80006769dc51cfcd85e1a594a2c0f00.tar nixlib-12806ec0f80006769dc51cfcd85e1a594a2c0f00.tar.gz nixlib-12806ec0f80006769dc51cfcd85e1a594a2c0f00.tar.bz2 nixlib-12806ec0f80006769dc51cfcd85e1a594a2c0f00.tar.lz nixlib-12806ec0f80006769dc51cfcd85e1a594a2c0f00.tar.xz nixlib-12806ec0f80006769dc51cfcd85e1a594a2c0f00.tar.zst nixlib-12806ec0f80006769dc51cfcd85e1a594a2c0f00.zip |
rocmPackages: fix rocm-runtime build
Diffstat (limited to 'pkgs/development/rocm-modules/6/rocm-runtime/default.nix')
-rw-r--r-- | pkgs/development/rocm-modules/6/rocm-runtime/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/rocm-modules/6/rocm-runtime/default.nix b/pkgs/development/rocm-modules/6/rocm-runtime/default.nix index fce6bfb40a31..c0e5f69e8d5a 100644 --- a/pkgs/development/rocm-modules/6/rocm-runtime/default.nix +++ b/pkgs/development/rocm-modules/6/rocm-runtime/default.nix @@ -45,6 +45,7 @@ stdenv.mkDerivation (finalAttrs: { postPatch = '' patchShebangs image/blit_src/create_hsaco_ascii_file.sh patchShebangs core/runtime/trap_handler/create_trap_handler_header.sh + patchShebangs core/runtime/blit_shaders/create_blit_shader_header.sh substituteInPlace CMakeLists.txt \ --replace 'hsa/include/hsa' 'include/hsa' @@ -57,7 +58,7 @@ stdenv.mkDerivation (finalAttrs: { ''; fixupPhase = '' - rm -rf $out/hsa/* + mkdir $out/hsa ln -s $out/{include,lib} $out/hsa ''; |