[llvm] [mlir] [MLIR][Standalone] test Standalone against installed distribution (PR #157944)

Mehdi Amini via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 16 08:47:18 PDT 2025


================
@@ -240,6 +243,65 @@ add_custom_target(check-mlir-build-only
 )
 set_target_properties(check-mlir-build-only PROPERTIES FOLDER "MLIR/Tests")
 
+get_property(LLVM_EXPORTS GLOBAL PROPERTY LLVM_EXPORTS)
+get_property(MLIR_EXPORTS GLOBAL PROPERTY MLIR_EXPORTS)
+if(CLANG_ENABLE_CIR)
+  list(APPEND MLIR_EXPORTS cir-opt cir-translate cir-lsp-server)
+endif()
----------------
joker-eph wrote:

`cir-lsp-server ` is the only thing outside of `mlir/` using `add_mlir_tool`, `cir-opt` is using `add_clang_tool`, can we just update `cir-lsp-server ` ?

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


More information about the llvm-commits mailing list