[Mlir-commits] [mlir] [MLIR][Python] Remove stale NumPy detection message (PR #211235)

Anutosh Bhat llvmlistbot at llvm.org
Wed Jul 22 04:15:07 PDT 2026


https://github.com/anutosh491 created https://github.com/llvm/llvm-project/pull/211235

NumPy stopped being requested as a CMake Python component when its unused build-time dependency was removed in #108465  . Remove the remaining status message, which now prints empty version and include directory values.

>From a6199bce8c2be3593892db42c3062ae3c806ab69 Mon Sep 17 00:00:00 2001
From: anutosh491 <andersonbhat491 at gmail.com>
Date: Wed, 22 Jul 2026 16:43:22 +0530
Subject: [PATCH] [MLIR][Python] Remove stale NumPy detection message

---
 mlir/cmake/modules/MLIRDetectPythonEnv.cmake | 1 -
 1 file changed, 1 deletion(-)

diff --git a/mlir/cmake/modules/MLIRDetectPythonEnv.cmake b/mlir/cmake/modules/MLIRDetectPythonEnv.cmake
index 068d6712393c2..325144bd82dd5 100644
--- a/mlir/cmake/modules/MLIRDetectPythonEnv.cmake
+++ b/mlir/cmake/modules/MLIRDetectPythonEnv.cmake
@@ -52,7 +52,6 @@ macro(mlir_configure_python_dev_packages)
     endif()
     message(STATUS "Found python include dirs: ${Python3_INCLUDE_DIRS}")
     message(STATUS "Found python libraries: ${Python3_LIBRARIES}")
-    message(STATUS "Found numpy v${Python3_NumPy_VERSION}: ${Python3_NumPy_INCLUDE_DIRS}")
     message(STATUS "Python extension suffix for modules: '${Python3_SOABI}'")
     if(nanobind_DIR)
       message(STATUS "Using explicit nanobind cmake directory: ${nanobind_DIR} (-Dnanobind_DIR to change)")



More information about the Mlir-commits mailing list