[all-commits] [llvm/llvm-project] 532e63: [flang] [cmake] Call mlir_target_link_libraries() ...

Michał Górny via All-commits all-commits at lists.llvm.org
Thu Jan 16 06:03:19 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 532e639ec66876092d7930cc8b89eb54ebf9c6b7
      https://github.com/llvm/llvm-project/commit/532e639ec66876092d7930cc8b89eb54ebf9c6b7
  Author: Michał Górny <mgorny at gentoo.org>
  Date:   2025-01-16 (Thu, 16 Jan 2025)

  Changed paths:
    M flang/cmake/modules/AddFlang.cmake

  Log Message:
  -----------
  [flang] [cmake] Call mlir_target_link_libraries() only with MLIR_LIBS

Do not call `mlir_target_link_libraries()` when there are no `MLIR_LIBS`
specified.  This fixes a failure when `flang/runtime` is being built
standalone, as it does not use MLIR and therefore the function
is not defined:

https://lab.llvm.org/buildbot/#/builders/152/builds/932

Fixes 6a2cc122296b04a4f09768a714a74ffc82b7be87



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