llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-clang Author: Andy Kaylor (andykaylor) <details> <summary>Changes</summary> https://github.com/llvm/llvm-project/pull/229494 introduced a build dependency on TargetParser in the MLIRCIR component but didn't add it as a link component. This causes link failures when building with shared libraries. This change adds the link component. --- Full diff: https://github.com/llvm/llvm-project/pull/234042.diff 1 Files Affected: - (modified) clang/lib/CIR/Dialect/IR/CMakeLists.txt (+3) ``````````diff diff --git a/clang/lib/CIR/Dialect/IR/CMakeLists.txt b/clang/lib/CIR/Dialect/IR/CMakeLists.txt index ac79ad52f95ec..bea09ab9ba03f 100644 --- a/clang/lib/CIR/Dialect/IR/CMakeLists.txt +++ b/clang/lib/CIR/Dialect/IR/CMakeLists.txt @@ -15,6 +15,9 @@ add_clang_library(MLIRCIR MLIRCIROpInterfacesIncGen MLIRCIRLoopOpInterfaceIncGen + LINK_COMPONENTS + TargetParser + LINK_LIBS PUBLIC MLIRIR MLIRCIRInterfaces `````````` </details> https://github.com/llvm/llvm-project/pull/234042 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
