[all-commits] [llvm/llvm-project] 88f895: [mlir] Fix MLIRTestDialect dependency in MLIRTestIR

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Feb 11 07:49:12 PST 2025


  Branch: refs/heads/release/20.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 88f8956711f7c8d306d08fff8603d6b99e8302c1
      https://github.com/llvm/llvm-project/commit/88f8956711f7c8d306d08fff8603d6b99e8302c1
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2025-02-11 (Tue, 11 Feb 2025)

  Changed paths:
    M mlir/test/lib/IR/CMakeLists.txt

  Log Message:
  -----------
  [mlir] Fix MLIRTestDialect dependency in MLIRTestIR

This is a test library which is not part of libMLIR, so it should
use normal LINK_LIBS instead of mlir_target_link_libraries.

This fixes an issue introduced in #123910 and follows up on the
fix in #125004, which added the library to DEPENDS, which is not
sufficient.


  Commit: dfa60a77e0bae875ea30340067bebea1c70b9d3d
      https://github.com/llvm/llvm-project/commit/dfa60a77e0bae875ea30340067bebea1c70b9d3d
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2025-02-11 (Tue, 11 Feb 2025)

  Changed paths:
    M flang/lib/Optimizer/Analysis/CMakeLists.txt

  Log Message:
  -----------
  [flang] Move FIRSupport dependency to correct place (#125697)

This library is provided by flang, not MLIR, so it should not be part of
MLIR_LIBS.

Fixes an issue introduced in https://github.com/llvm/llvm-project/pull/120966.

(cherry picked from commit ee76bdac192ce86c5d13e4c712e0327aaefda45f)


  Commit: 4c4ed5e2f5357d724e4c26d21ee3e840210b917f
      https://github.com/llvm/llvm-project/commit/4c4ed5e2f5357d724e4c26d21ee3e840210b917f
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2025-02-11 (Tue, 11 Feb 2025)

  Changed paths:
    M flang/tools/bbc/CMakeLists.txt

  Log Message:
  -----------
  [flang][cmake] Fix bcc dependencies (#125822)

The Fortran libraries are not part of MLIR, so they should use
target_link_libraries() rather than mlir_target_link_libraries().

This fixes an issue introduced in
https://github.com/llvm/llvm-project/pull/120966.

(cherry picked from commit f9af5c145f40480d46874b643ca2b1237e9fbb2a)


Compare: https://github.com/llvm/llvm-project/compare/984a779b8155...4c4ed5e2f535

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