about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMartin Schwaighofer <mschwaig@users.noreply.github.com>2024-02-11 20:58:46 +0100
committerMartin Schwaighofer <mschwaig@users.noreply.github.com>2024-03-21 22:48:32 +0100
commit3fe25ab923a5673e46d2be9a9379fd01b6cb85b2 (patch)
treed37eb26fcc7d48872fec3c68bed548a904cd5fbc
parentfee0f69855c725f242be48d4bd332c4fee076bc8 (diff)
downloadnixlib-3fe25ab923a5673e46d2be9a9379fd01b6cb85b2.tar
nixlib-3fe25ab923a5673e46d2be9a9379fd01b6cb85b2.tar.gz
nixlib-3fe25ab923a5673e46d2be9a9379fd01b6cb85b2.tar.bz2
nixlib-3fe25ab923a5673e46d2be9a9379fd01b6cb85b2.tar.lz
nixlib-3fe25ab923a5673e46d2be9a9379fd01b6cb85b2.tar.xz
nixlib-3fe25ab923a5673e46d2be9a9379fd01b6cb85b2.tar.zst
nixlib-3fe25ab923a5673e46d2be9a9379fd01b6cb85b2.zip
rocmPackages: fix rocmlir build
-rw-r--r--pkgs/development/rocm-modules/6/rocmlir/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/rocm-modules/6/rocmlir/default.nix b/pkgs/development/rocm-modules/6/rocmlir/default.nix
index 5edd5bf28758..2b9956f97a8f 100644
--- a/pkgs/development/rocm-modules/6/rocmlir/default.nix
+++ b/pkgs/development/rocm-modules/6/rocmlir/default.nix
@@ -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}"