[llvm-branch-commits] [libclc] [libclc] Fix linking against libIRReader (release/18.x) (PR #91553)
Thomas Debesse via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed May 8 20:35:53 PDT 2024
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 <dev at 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
)
More information about the llvm-branch-commits
mailing list