[Mlir-commits] [mlir] 1de7a17 - [MLIR][python] Disable SONAME on extensions.
Stella Laurenzo
llvmlistbot at llvm.org
Thu Jul 29 17:47:36 PDT 2021
Author: Stella Laurenzo
Date: 2021-07-30T00:47:11Z
New Revision: 1de7a17ff3201e4aa29cf53c0745e8666fbf8286
URL: https://github.com/llvm/llvm-project/commit/1de7a17ff3201e4aa29cf53c0745e8666fbf8286
DIFF: https://github.com/llvm/llvm-project/commit/1de7a17ff3201e4aa29cf53c0745e8666fbf8286.diff
LOG: [MLIR][python] Disable SONAME on extensions.
* Broken out of https://reviews.llvm.org/D106419
* Otherwise, same named modules will conflict with each other.
Differential Revision: https://reviews.llvm.org/D107113
Added:
Modified:
mlir/cmake/modules/AddMLIRPython.cmake
Removed:
################################################################################
diff --git a/mlir/cmake/modules/AddMLIRPython.cmake b/mlir/cmake/modules/AddMLIRPython.cmake
index df3795efe50e..48390f45ff90 100644
--- a/mlir/cmake/modules/AddMLIRPython.cmake
+++ b/mlir/cmake/modules/AddMLIRPython.cmake
@@ -485,6 +485,7 @@ function(add_mlir_python_extension libname extname)
OUTPUT_NAME "${extname}"
PREFIX "${PYTHON_MODULE_PREFIX}"
SUFFIX "${PYTHON_MODULE_SUFFIX}${PYTHON_MODULE_EXTENSION}"
+ NO_SONAME ON
)
if(WIN32)
More information about the Mlir-commits
mailing list