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

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


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-flang-driver

Author: Tarun Prabhu (tarunprabhu)

<details>
<summary>Changes</summary>

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

---
Full diff: https://github.com/llvm/llvm-project/pull/117373.diff


1 Files Affected:

- (modified) flang/tools/flang-driver/CMakeLists.txt (+1) 


``````````diff
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

``````````

</details>


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


More information about the flang-commits mailing list