Skip to content

Commit

Permalink
rocMLIR: Update to v6.2.4
Browse files Browse the repository at this point in the history
Signed-off-by: Gavin Zhao <[email protected]>
  • Loading branch information
GZGavinZhao committed Dec 5, 2024
1 parent 4d47283 commit fde1ece
Show file tree
Hide file tree
Showing 3 changed files with 380 additions and 65 deletions.
23 changes: 23 additions & 0 deletions packages/r/rocmlir/files/fix-missing-includes.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
From 8f43885b05c8c398225c1b702570391f67dd65f9 Mon Sep 17 00:00:00 2001
From: Condor <[email protected]>
Date: Thu, 5 Sep 2024 20:20:02 +0300
Subject: [PATCH] Fix issue 1620

---
mlir/lib/Conversion/TosaToRock/CMakeLists.txt | 2 ++
1 file changed, 2 insertions(+)

diff --git a/mlir/lib/Conversion/TosaToRock/CMakeLists.txt b/mlir/lib/Conversion/TosaToRock/CMakeLists.txt
index ec003c79cf45..8bf8d205253e 100644
--- a/mlir/lib/Conversion/TosaToRock/CMakeLists.txt
+++ b/mlir/lib/Conversion/TosaToRock/CMakeLists.txt
@@ -7,7 +7,9 @@ add_rocmlir_conversion_library(MLIRTosaToRock
${MLIR_MAIN_INCLUDE_DIR}/mlir/IR

DEPENDS
+ MLIRRockPassIncGen
MLIRConversionPassIncGen
+ RocMLIRConversionPassIncGen

LINK_LIBS PUBLIC
MLIRIR
10 changes: 7 additions & 3 deletions packages/r/rocmlir/package.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name : rocmlir
version : 6.0.0
release : 4
version : 6.2.4
release : 5
source :
- https://github.com/ROCm/rocMLIR/archive/refs/tags/rocm-6.0.0.tar.gz : 128915abdceaf5cef26a717d154f2b2f9466f6904f4490f158038878cedbf618
- https://github.com/ROCm/rocMLIR/archive/refs/tags/rocm-6.2.4.tar.gz : 3283685431fd59e20a6ac5737df22c7c7421901779a2a0b6dbd6c1ab1f1b5adb
homepage : https://github.com/ROCmSoftwarePlatform/rocMLIR
license : Apache-2.0
component : programming.devel
Expand All @@ -12,7 +12,11 @@ description: |
patterns : /*
builddeps :
- rocm-cmake
- rocm-device-libs-devel
setup : |
%patch -p1 -i $pkgfiles/fix-missing-includes.patch
sed -i 's|bcPath = rocmPath|bcPath = rocmPath / "lib64"|' external/llvm-project/mlir/lib/Dialect/GPU/AmdDeviceLibsIncGen.py
%cmake_ninja -L \
-DCMAKE_BUILD_TYPE=Release \
-DROCM_SYMLINK_LIBS=OFF \
Expand Down
Loading

0 comments on commit fde1ece

Please sign in to comment.