[all-commits] [llvm/llvm-project] d76bb2: [mlir] Fix missing `mlir-capi-global-constructors-...

Michał Górny via All-commits all-commits at lists.llvm.org
Wed Aug 20 10:50:28 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d76bb2bb894a4641ed62447327b40a347a6ae883
      https://github.com/llvm/llvm-project/commit/d76bb2bb894a4641ed62447327b40a347a6ae883
  Author: Michał Górny <mgorny at gentoo.org>
  Date:   2025-08-20 (Wed, 20 Aug 2025)

  Changed paths:
    M mlir/test/CMakeLists.txt

  Log Message:
  -----------
  [mlir] Fix missing `mlir-capi-global-constructors-test` on standalone build (#154576)

Add `mlir-capi-global-constructors-test` to `MLIR_TEST_DEPENDS` when
`MLIR_ENABLE_EXECUTION_ENGINE` is enabled, to ensure that it is also
built during standalone builds, and therefore fix test failure due to
the executable being missing.

I don't understand the purpose of `LLVM_ENABLE_PIC AND TARGET
${LLVM_NATIVE_ARCH}` block, but the condition is not true in standalone
builds.

Fixes 7610b1372955da55e3dc4e2eb1440f0304a56ac8.



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