[all-commits] [llvm/llvm-project] 2f90e0: [flang][driver] Add missing dependency in CMake files

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


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

  Changed paths:
    M flang/lib/Frontend/CMakeLists.txt
    M flang/lib/FrontendTool/CMakeLists.txt

  Log Message:
  -----------
  [flang][driver] Add missing dependency in CMake files

The Flang driver depends on libclangBasic. This means, among other
things, that some of the tablegen files (e.g. diagnostic definitions)
need to be generated before various libclangBasic header files can be
included (e.g. DiagnosticIDs.h). If we are lucky, libclangBasic is
indeed built before various flang driver libraries that depend on it
are. This patch makes sure that this is deterministic - i.e.
libclangBasic is built before the Flang driver libraries are.

Differential Revision: https://reviews.llvm.org/D88110




More information about the All-commits mailing list