Skip to content

Commit 671a2fc

Browse files
authored
Create fix-disable-mlir.patch (#42)
* Create fix-disable-mlir.patch * Update fix-disable-mlir.patch
1 parent 98c921e commit 671a2fc

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
diff --git a/L/LLVM/LLVM_full@19/bundled/patches/0400-MLIR-Disable-tblgen-lsp-server-and-tblgen-to-irdl.patch b/L/LLVM/LLVM_full@19/bundled/patches/0400-MLIR-Disable-tblgen-lsp-server-and-tblgen-to-irdl.patch
2+
index cf21ca81..ba2b5ec0 100644
3+
--- a/L/LLVM/LLVM_full@19/bundled/patches/0400-MLIR-Disable-tblgen-lsp-server-and-tblgen-to-irdl.patch
4+
+++ b/L/LLVM/LLVM_full@19/bundled/patches/0400-MLIR-Disable-tblgen-lsp-server-and-tblgen-to-irdl.patch
5+
@@ -20,11 +20,11 @@ index 01270fa4b0fc..7688c31bf26b 100644
6+
-add_subdirectory(tblgen-lsp-server)
7+
+# add_subdirectory(tblgen-lsp-server)
8+
diff --git a/mlir/test/CMakeLists.txt b/mlir/test/CMakeLists.txt
9+
-index 6724dd4bdd1b..8566faa8a862 100644
10+
+index 69c2e5978689..1a5dabd33e3f 100644
11+
--- a/mlir/test/CMakeLists.txt
12+
+++ b/mlir/test/CMakeLists.txt
13+
-@@ -108,8 +108,8 @@ set(MLIR_TEST_DEPENDS
14+
- mlir-reduce
15+
+@@ -117,8 +117,8 @@ set(MLIR_TEST_DEPENDS
16+
+ mlir-rewrite
17+
mlir-tblgen
18+
mlir-translate
19+
- tblgen-lsp-server
20+
@@ -32,23 +32,20 @@ index 6724dd4bdd1b..8566faa8a862 100644
21+
+ # tblgen-lsp-server
22+
+ # tblgen-to-irdl
23+
)
24+
-
25+
- set(MLIR_TEST_DEPENDS ${MLIR_TEST_DEPENDS}
26+
+ if(NOT MLIR_STANDALONE_BUILD)
27+
+ list(APPEND MLIR_TEST_DEPENDS FileCheck count not split-file)
28+
diff --git a/mlir/tools/CMakeLists.txt b/mlir/tools/CMakeLists.txt
29+
-index 9b474385fdae..1206844f793c 100644
30+
+index 72a857b114fb..c606a3b3dd1d 100644
31+
--- a/mlir/tools/CMakeLists.txt
32+
+++ b/mlir/tools/CMakeLists.txt
33+
-@@ -8,8 +8,8 @@ add_subdirectory(mlir-shlib)
34+
- add_subdirectory(mlir-spirv-cpu-runner)
35+
+@@ -7,8 +7,8 @@ add_subdirectory(mlir-reduce)
36+
+ add_subdirectory(mlir-rewrite)
37+
+ add_subdirectory(mlir-shlib)
38+
add_subdirectory(mlir-translate)
39+
- add_subdirectory(mlir-vulkan-runner)
40+
-add_subdirectory(tblgen-lsp-server)
41+
-add_subdirectory(tblgen-to-irdl)
42+
+# add_subdirectory(tblgen-lsp-server)
43+
+# add_subdirectory(tblgen-to-irdl)
44+
-
45+
+
46+
# mlir-cpu-runner requires ExecutionEngine.
47+
if(MLIR_ENABLE_EXECUTION_ENGINE)
48+
---
49+
-2.44.0
50+
-

0 commit comments

Comments
 (0)