[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
This commit is contained in:
Stella Laurenzo 2021-07-29 22:23:32 +00:00
parent bb6fddb63c
commit 1de7a17ff3
1 changed files with 1 additions and 0 deletions

View File

@ -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)