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

Andrzej WarzyƄski via All-commits all-commits at lists.llvm.org
Fri Sep 25 01:57:08 PDT 2020


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

  Changed paths:
    M flang/unittests/Frontend/CMakeLists.txt

  Log Message:
  -----------
  [flang][driver] Add missing dependency (shared library builds, NFC)

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

The missing dependency manifests itself only 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