[flang-commits] [flang] [flang][Driver] Add correct libraries to driver (PR #117373)

Tarun Prabhu via flang-commits flang-commits at lists.llvm.org
Fri Nov 22 12:26:01 PST 2024


https://github.com/tarunprabhu created https://github.com/llvm/llvm-project/pull/117373

A recent commit (23d7a6cedb519853508) introduced a dependency on libLLVMMC.so which was missed. This should fix the resulting buildbot failures.

>From b4aeab45c1dbc3c84b82cff5c721b58a5fceb6dc Mon Sep 17 00:00:00 2001
From: Tarun Prabhu <tarun.prabhu at gmail.com>
Date: Fri, 22 Nov 2024 13:21:31 -0700
Subject: [PATCH] [flang][Driver] Add correct libraries to driver

A recent commit (23d7a6cedb519853508) introduced a dependency on libLLVMMC.so
which was missed. This should fix the resulting buildbot failures.
---
 flang/tools/flang-driver/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/flang/tools/flang-driver/CMakeLists.txt b/flang/tools/flang-driver/CMakeLists.txt
index 9a89a6185a3291..06b61e5951881b 100644
--- a/flang/tools/flang-driver/CMakeLists.txt
+++ b/flang/tools/flang-driver/CMakeLists.txt
@@ -6,6 +6,7 @@ link_directories(${LLVM_LIBRARY_DIR})
 
 set( LLVM_LINK_COMPONENTS
   ${LLVM_TARGETS_TO_BUILD}
+  MC
   Option
   Support
   TargetParser



More information about the flang-commits mailing list