https://github.com/illwieckz created https://github.com/llvm/llvm-project/pull/91553
Fixes #91551: - https://github.com/llvm/llvm-project/issues/91551 The patch is not needed in `main` because another larger patch already merged in `main` includes this change: https://github.com/llvm/llvm-project/commit/61efea7142e904e6492e1ce0566ec23d9d221c1e . This one line patch is enough to fix the build on LLVM 18 branch so it's probably a good idea to merge it, it's obvious, non-intrusive and can't do harm. >From 8a040018e59c9cb9e745885f5292f0e7967197ee Mon Sep 17 00:00:00 2001 From: Thomas Debesse <d...@illwieckz.net> Date: Thu, 9 May 2024 05:18:35 +0200 Subject: [PATCH] [libclc] Fix linking against libIRReader Fixes https://github.com/llvm/llvm-project/issues/91551. --- libclc/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/libclc/CMakeLists.txt b/libclc/CMakeLists.txt index fa1d8e4adbcc4..b7f8bb18c2288 100644 --- a/libclc/CMakeLists.txt +++ b/libclc/CMakeLists.txt @@ -114,6 +114,7 @@ include_directories( ${LLVM_INCLUDE_DIRS} ) set(LLVM_LINK_COMPONENTS BitReader BitWriter + IRReader Core Support ) _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits