aboutsummaryrefslogtreecommitdiff
path: root/mlir
diff options
context:
space:
mode:
authorBimo <rui.xu@intel.com>2024-06-19 14:11:58 +0800
committerGitHub <noreply@github.com>2024-06-19 14:11:58 +0800
commit99c43e3ce3142a93bbad4f9efeace254d9a8442c (patch)
tree95ed84808238b7aee9a1c12361b36ae5a789f148 /mlir
parent67a8b8838d3d5024a94e50e0839a03902126bd11 (diff)
downloadllvm-99c43e3ce3142a93bbad4f9efeace254d9a8442c.zip
llvm-99c43e3ce3142a93bbad4f9efeace254d9a8442c.tar.gz
llvm-99c43e3ce3142a93bbad4f9efeace254d9a8442c.tar.bz2
[MLIR][Python] fix mlir python cmake script (#95939)
Encountered a problem when linking multiple CAPI libs. The `COMMON_CAPI_LINK_LIBS` should be multi_value_keywords here.
Diffstat (limited to 'mlir')
-rw-r--r--mlir/cmake/modules/AddMLIRPython.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/mlir/cmake/modules/AddMLIRPython.cmake b/mlir/cmake/modules/AddMLIRPython.cmake
index 0123806..f030798 100644
--- a/mlir/cmake/modules/AddMLIRPython.cmake
+++ b/mlir/cmake/modules/AddMLIRPython.cmake
@@ -203,8 +203,8 @@ endfunction()
function(add_mlir_python_modules name)
cmake_parse_arguments(ARG
""
- "ROOT_PREFIX;INSTALL_PREFIX;COMMON_CAPI_LINK_LIBS"
- "DECLARED_SOURCES"
+ "ROOT_PREFIX;INSTALL_PREFIX"
+ "COMMON_CAPI_LINK_LIBS;DECLARED_SOURCES"
${ARGN})
# Helper to process an individual target.
function(_process_target modules_target sources_target)