[Mlir-commits] [mlir] [mlir][Python] dont export all symbols on MSVC for MLIRPythonSupport (PR #175078)
Maksim Levental
llvmlistbot at llvm.org
Thu Jan 8 14:02:34 PST 2026
https://github.com/makslevental created https://github.com/llvm/llvm-project/pull/175078
None
>From 9c849f48e94b548da6e18c3d55f38b104a0890ba Mon Sep 17 00:00:00 2001
From: makslevental <maksim.levental at gmail.com>
Date: Thu, 8 Jan 2026 14:02:14 -0800
Subject: [PATCH] [mlir][Python] dont export all symbols on MSVC for
MLIRPythonSupport
---
mlir/cmake/modules/AddMLIRPython.cmake | 3 ---
1 file changed, 3 deletions(-)
diff --git a/mlir/cmake/modules/AddMLIRPython.cmake b/mlir/cmake/modules/AddMLIRPython.cmake
index f4d078dfe7118..cc8e1dc5df993 100644
--- a/mlir/cmake/modules/AddMLIRPython.cmake
+++ b/mlir/cmake/modules/AddMLIRPython.cmake
@@ -892,9 +892,6 @@ function(add_mlir_python_extension libname extname nb_library_target_name)
NB_DOMAIN=${ARG_MLIR_BINDINGS_PYTHON_NB_DOMAIN}
MLIR_CAPI_BUILDING_LIBRARY=1
)
- if(MSVC)
- set_property(TARGET ${libname} PROPERTY WINDOWS_EXPORT_ALL_SYMBOLS ON)
- endif()
else()
nanobind_add_module(${libname}
NB_DOMAIN ${ARG_MLIR_BINDINGS_PYTHON_NB_DOMAIN}
More information about the Mlir-commits
mailing list