[all-commits] [llvm/llvm-project] b9a283: [flang][driver] Add missing dependency (shared lib...

Andrzej WarzyƄski via All-commits all-commits at lists.llvm.org
Thu Sep 24 13:13:36 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b9a2837f1617ea94ae4b4be66d984ea9c7e7252c
      https://github.com/llvm/llvm-project/commit/b9a2837f1617ea94ae4b4be66d984ea9c7e7252c
  Author: Andrzej Warzynski <andrzej.warzynski at arm.com>
  Date:   2020-09-24 (Thu, 24 Sep 2020)

  Changed paths:
    M flang/tools/flang-driver/CMakeLists.txt

  Log Message:
  -----------
  [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.




More information about the All-commits mailing list