[all-commits] [llvm/llvm-project] e2b19e: [mlir] mark libraries in mlir/examples as such

ftynse via All-commits all-commits at lists.llvm.org
Tue Jun 20 04:02:58 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e2b19ef6ac7e5635699730ff561e7f24775704c9
      https://github.com/llvm/llvm-project/commit/e2b19ef6ac7e5635699730ff561e7f24775704c9
  Author: Alex Zinenko <zinenko at google.com>
  Date:   2023-06-20 (Tue, 20 Jun 2023)

  Changed paths:
    M mlir/cmake/modules/AddMLIR.cmake
    M mlir/examples/transform/Ch2/lib/CMakeLists.txt
    M mlir/examples/transform/Ch3/lib/CMakeLists.txt

  Log Message:
  -----------
  [mlir] mark libraries in mlir/examples as such

LLVM build system separates between `add_llvm_example_library` and
`add_llvm_library`, which is presumably used to package examples
separately from the regular library. Introduce a similar approach to
building example libraries in MLIR and use it for the transform dialect
tutorial.

Reviewed By: mehdi_amini

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




More information about the All-commits mailing list