[all-commits] [llvm/llvm-project] 5cfbd0: [flang] Add missing dependencies for flang/lib/Opt...

Pete Steinfeld via All-commits all-commits at lists.llvm.org
Fri Mar 10 13:43:29 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5cfbd0f4e762ea3ee4c4c017b242c59264cbc79c
      https://github.com/llvm/llvm-project/commit/5cfbd0f4e762ea3ee4c4c017b242c59264cbc79c
  Author: Peter Steinfeld <psteinfeld at nvidia.com>
  Date:   2023-03-10 (Fri, 10 Mar 2023)

  Changed paths:
    M flang/lib/Optimizer/Dialect/CMakeLists.txt
    M flang/lib/Optimizer/Dialect/Support/CMakeLists.txt

  Log Message:
  -----------
  [flang] Add missing dependencies for flang/lib/Optimizer/Dialect

Patch D145640 wasn't building for me because .cpp files in
flang/lib/Optimizer/Dialect depend on the files generated in
.../build/include/llfm/IR.  But the .cpp file compilations were being
done before the needed include files were generated.

This patch fixes that by adding dependencies on "intrinsics_gen" to the
CMake files in two directories.

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




More information about the All-commits mailing list