HomePhabricator

[flang][driver] Add missing dependency (shared library builds, NFC)

Authored by awarzynski on Sep 24 2020, 12:57 PM.

Description

[flang][driver] Add missing dependency (shared library builds, NFC)

flang-new depends on libclangFrontend (it uses DiagnosticConsumer
classes from there). This patch adds the missing dependency in CMake.

clang::TextDiagnosticBuffer is only reported as missing when compiling
flang-new with BUILD_SHARED_LIBS=ON. This symbol is linked in
statically with libflangFrontend when BUILD_SHARED_LIBS=OFF.

Details

Committed
awarzynskiSep 24 2020, 1:11 PM
Parents
rGf8a92adfa242: Remove dead branch identified by @rsmith on post-commit for D88236
Branches
Unknown
Tags
Unknown