[Mlir-commits] [mlir] [MLIR][Python] Remove stale Python module naming status message (PR #211243)
Anutosh Bhat
llvmlistbot at llvm.org
Wed Jul 22 05:15:04 PDT 2026
https://github.com/anutosh491 created https://github.com/llvm/llvm-project/pull/211243
`PYTHON_MODULE_PREFIX`, `PYTHON_MODULE_SUFFIX`, and `PYTHON_MODULE_EXTENSION` are remnants of the previous pybind11-based Python discovery path and are no longer populated or used by the nanobind build.
The relevant Python SOABI is already reported through `Python3_SOABI`, so we can remove the redundant status message, which currently prints only empty values.
>From 888aade84499d8a4bdf4f32de12860a2f7fd36e4 Mon Sep 17 00:00:00 2001
From: anutosh491 <andersonbhat491 at gmail.com>
Date: Wed, 22 Jul 2026 17:42:37 +0530
Subject: [PATCH] [MLIR][Python] Remove stale Python module naming status
message
---
mlir/cmake/modules/MLIRDetectPythonEnv.cmake | 3 ---
1 file changed, 3 deletions(-)
diff --git a/mlir/cmake/modules/MLIRDetectPythonEnv.cmake b/mlir/cmake/modules/MLIRDetectPythonEnv.cmake
index 068d6712393c2..ad176af6ef580 100644
--- a/mlir/cmake/modules/MLIRDetectPythonEnv.cmake
+++ b/mlir/cmake/modules/MLIRDetectPythonEnv.cmake
@@ -84,8 +84,5 @@ macro(mlir_configure_python_dev_packages)
endif()
find_package(nanobind 2.9 CONFIG REQUIRED)
message(STATUS "Found nanobind v${nanobind_VERSION}: ${nanobind_INCLUDE_DIR}")
- message(STATUS "Python prefix = '${PYTHON_MODULE_PREFIX}', "
- "suffix = '${PYTHON_MODULE_SUFFIX}', "
- "extension = '${PYTHON_MODULE_EXTENSION}")
endif()
endmacro()
More information about the Mlir-commits
mailing list