projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71e108c
)
Fix MLIR Python bindings build (NFC)
author
Mehdi Amini
<joker.eph@gmail.com>
Thu, 5 Nov 2020 21:16:27 +0000
(21:16 +0000)
committer
Mehdi Amini
<joker.eph@gmail.com>
Thu, 5 Nov 2020 21:16:27 +0000
(21:16 +0000)
The CMake macro refactoring had a hardcoded value left instead of using
the function argument.
Didn't catch it locally before because it required a clean build to
trigger.
mlir/cmake/modules/AddMLIRPythonExtension.cmake
patch
|
blob
|
history
diff --git
a/mlir/cmake/modules/AddMLIRPythonExtension.cmake
b/mlir/cmake/modules/AddMLIRPythonExtension.cmake
index
5741f51
..
e5e81d6
100644
(file)
--- a/
mlir/cmake/modules/AddMLIRPythonExtension.cmake
+++ b/
mlir/cmake/modules/AddMLIRPythonExtension.cmake
@@
-73,7
+73,7
@@
function(add_mlir_python_extension libname extname)
# project separation perspective and a discussion on how to better
# segment MLIR libraries needs to happen.
LIBRARY_OUTPUT_DIRECTORY ${LLVM_BINARY_DIR}/python
- OUTPUT_NAME "
_mlirTransforms
"
+ OUTPUT_NAME "
${extname}
"
PREFIX "${PYTHON_MODULE_PREFIX}"
SUFFIX "${PYTHON_MODULE_SUFFIX}${PYTHON_MODULE_EXTENSION}"
)