[all-commits] [llvm/llvm-project] 9191ac: [mlir] Consider mlir-linalg-ods-gen as a tablegen ...

Michael Holman via All-commits all-commits at lists.llvm.org
Tue Jan 2 12:18:34 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9191ac0bdb07643eefcc161c88b66d4e7058db9c
      https://github.com/llvm/llvm-project/commit/9191ac0bdb07643eefcc161c88b66d4e7058db9c
  Author: Michael Holman <michhol at microsoft.com>
  Date:   2024-01-02 (Tue, 02 Jan 2024)

  Changed paths:
    M llvm/cmake/modules/TableGen.cmake
    M mlir/CMakeLists.txt
    M mlir/cmake/modules/AddMLIR.cmake
    M mlir/cmake/modules/CMakeLists.txt
    M mlir/cmake/modules/MLIRConfig.cmake.in
    M mlir/include/mlir/Dialect/Linalg/IR/CMakeLists.txt
    M mlir/lib/Dialect/Linalg/IR/CMakeLists.txt
    M mlir/tools/mlir-linalg-ods-gen/CMakeLists.txt

  Log Message:
  -----------
  [mlir] Consider mlir-linalg-ods-gen as a tablegen tool in build (#75093)

There is a bit of an issue with how `mlir-linalg-ods-yaml-gen` is
classified in the MLIR build. Due to it being a tool, it is excluded
from the install when using `-DLLVM_BUILD_TOOLS=OFF`. However, it is a
necessary component of the build, so it can cause build issues with
users of the installed LLVM, and so I think it should not be excluded.

It is a tablegen-like tool, so my solution is to reclassify it that way
in the build.




More information about the All-commits mailing list