[all-commits] [llvm/llvm-project] a3c816: [flang][acc] Fix dialect dependencies (#146431)

Razvan Lupusoru via All-commits all-commits at lists.llvm.org
Mon Jun 30 17:05:10 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a3c816542147b175f6006b6a74364727e6cb3d96
      https://github.com/llvm/llvm-project/commit/a3c816542147b175f6006b6a74364727e6cb3d96
  Author: Razvan Lupusoru <razvan.lupusoru at gmail.com>
  Date:   2025-06-30 (Mon, 30 Jun 2025)

  Changed paths:
    M flang/test/lib/OpenACC/CMakeLists.txt

  Log Message:
  -----------
  [flang][acc] Fix dialect dependencies (#146431)

The TestOpenACCInterfaces test loads dialects including HLFIR and DLTI
(for data layout). The appropriate dependencies were missing leading to
link failures:

TestOpenACCInterfaces.cpp:(.text._ZNK12_GLOBAL__N_124TestFIROpenACCInterfaces20getDependentDialectsERN4mlir15DialectRegistryE+0x66):
undefined reference to
`mlir::detail::TypeIDResolver<hlfir::hlfirDialect, void>::id'
TestOpenACCInterfaces.cpp:(.text._ZNK12_GLOBAL__N_124TestFIROpenACCInterfaces20getDependentDialectsERN4mlir15DialectRegistryE+0x141):
undefined reference to `mlir::detail::TypeIDResolver<mlir::DLTIDialect,
void>::id'



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