rocmPackages: fix rocm-runtime build

This commit is contained in:
Martin Schwaighofer 2024-02-10 19:23:58 +01:00
parent 5fdc694054
commit 12806ec0f8

View File

@ -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
'';