[Mlir-commits] [mlir] e205257 - [MLIR][Python] Remove stale Python module naming status message (#211243)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Wed Jul 22 08:57:26 PDT 2026
Author: Anutosh Bhat
Date: 2026-07-22T21:27:22+05:30
New Revision: e2052579d43e2813d2e3429a9aa092023cbf0c5f
URL: https://github.com/llvm/llvm-project/commit/e2052579d43e2813d2e3429a9aa092023cbf0c5f
DIFF: https://github.com/llvm/llvm-project/commit/e2052579d43e2813d2e3429a9aa092023cbf0c5f.diff
LOG: [MLIR][Python] Remove stale Python module naming status message (#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.
Added:
Modified:
mlir/cmake/modules/MLIRDetectPythonEnv.cmake
Removed:
################################################################################
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