[Mlir-commits] [mlir] [mlir][cmake] Fix MLIR shared library installation (PR #152195)

Boyana Norris llvmlistbot at llvm.org
Wed Aug 6 14:05:38 PDT 2025


================
@@ -388,6 +388,9 @@ function(add_mlir_library name)
 
   if(TARGET ${name})
     target_link_libraries(${name} INTERFACE ${LLVM_COMMON_LIBS})
+    if(ARG_INSTALL_WITH_TOOLCHAIN)
+      set_target_properties(${name} PROPERTIES MLIR_INSTALL_WITH_TOOLCHAIN TRUE)
----------------
brnorris03 wrote:

Configuration total times are essentially the same. I didn't know I could generate perfetto traces for cmake -- very cool! The time increase in the affected functions is ~4 ms.

https://github.com/llvm/llvm-project/pull/152195


More information about the Mlir-commits mailing list