[Mlir-commits] [mlir] [MLIR][Python] add missing init python file for sources of Core.Python.Extras (PR #104890)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Aug 19 21:13:33 PDT 2024


https://github.com/xurui1995 updated https://github.com/llvm/llvm-project/pull/104890

>From f6ebad4207e82220c96e1e75a5f53b207a33719c Mon Sep 17 00:00:00 2001
From: "Xu, Rui" <rui.xu at intel.com>
Date: Tue, 20 Aug 2024 09:26:42 +0800
Subject: [PATCH 1/2] fix

---
 mlir/python/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/mlir/python/CMakeLists.txt b/mlir/python/CMakeLists.txt
index 23187f256455bb..5b30341bf684b5 100644
--- a/mlir/python/CMakeLists.txt
+++ b/mlir/python/CMakeLists.txt
@@ -34,6 +34,7 @@ declare_mlir_python_sources(MLIRPythonSources.Core.Python.Extras
   ROOT_DIR "${CMAKE_CURRENT_SOURCE_DIR}/mlir"
   ADD_TO_PARENT MLIRPythonSources.Core.Python
   SOURCES
+    extras/__init__.py
     extras/types.py
     extras/meta.py
 )

>From c5ff90d7d467828e6219b49dccf7e582c304ac98 Mon Sep 17 00:00:00 2001
From: "Xu, Rui" <rui.xu at intel.com>
Date: Tue, 20 Aug 2024 12:10:48 +0800
Subject: [PATCH 2/2] removed ununsed python file

---
 mlir/python/CMakeLists.txt          | 1 -
 mlir/python/mlir/extras/__init__.py | 0
 2 files changed, 1 deletion(-)
 delete mode 100644 mlir/python/mlir/extras/__init__.py

diff --git a/mlir/python/CMakeLists.txt b/mlir/python/CMakeLists.txt
index 5b30341bf684b5..23187f256455bb 100644
--- a/mlir/python/CMakeLists.txt
+++ b/mlir/python/CMakeLists.txt
@@ -34,7 +34,6 @@ declare_mlir_python_sources(MLIRPythonSources.Core.Python.Extras
   ROOT_DIR "${CMAKE_CURRENT_SOURCE_DIR}/mlir"
   ADD_TO_PARENT MLIRPythonSources.Core.Python
   SOURCES
-    extras/__init__.py
     extras/types.py
     extras/meta.py
 )
diff --git a/mlir/python/mlir/extras/__init__.py b/mlir/python/mlir/extras/__init__.py
deleted file mode 100644
index e69de29bb2d1d6..00000000000000



More information about the Mlir-commits mailing list