rocmPackages: fix rocmlir build

This commit is contained in:
Martin Schwaighofer 2024-02-11 20:58:46 +01:00
parent fee0f69855
commit 3fe25ab923
1 changed files with 1 additions and 0 deletions

View File

@ -87,6 +87,7 @@ in stdenv.mkDerivation (finalAttrs: {
postPatch = ''
patchShebangs mlir
patchShebangs external/llvm-project/mlir/lib/Dialect/GPU/AmdDeviceLibsIncGen.py
substituteInPlace mlir/utils/performance/common/CMakeLists.txt \
--replace "/opt/rocm" "${clr}"