From 12806ec0f80006769dc51cfcd85e1a594a2c0f00 Mon Sep 17 00:00:00 2001 From: Martin Schwaighofer Date: Sat, 10 Feb 2024 19:23:58 +0100 Subject: rocmPackages: fix rocm-runtime build --- pkgs/development/rocm-modules/6/rocm-runtime/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pkgs/development/rocm-modules/6/rocm-runtime/default.nix') 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 ''; -- cgit 1.4.1