[all-commits] [llvm/llvm-project] 136558: [mlir][cmake] Fix missing entries in `tablegen_com...

Markus Böck via All-commits all-commits at lists.llvm.org
Fri Jul 11 13:25:39 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 136558bab23af94fd23b9b8ce39632085b21a4ca
      https://github.com/llvm/llvm-project/commit/136558bab23af94fd23b9b8ce39632085b21a4ca
  Author: Markus Böck <markus.boeck02 at gmail.com>
  Date:   2025-07-11 (Fri, 11 Jul 2025)

  Changed paths:
    M llvm/cmake/modules/TableGen.cmake
    M mlir/cmake/modules/AddMLIR.cmake

  Log Message:
  -----------
  [mlir][cmake] Fix missing entries in `tablegen_compile_commands.yml` (#147516)

Depending on the order of CMake includes the
`tablegen_compile_commands.yml` was previously missing entries due to
being deleted after a `tablegen` commands.

This PR fixes this by 1) making sure `AddMLIR` includes `TableGen` such
that new compile commands are added to a fresh YML file and 2) using an
include guard to ensure the file is cleared exactly once



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list