[all-commits] [llvm/llvm-project] 16f117: [flang][cmake] Set the usual linker flags for non-...

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Oct 29 04:27:33 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 16f11794216f9a5533a1495d6ddbb3ad821d9629
      https://github.com/llvm/llvm-project/commit/16f11794216f9a5533a1495d6ddbb3ad821d9629
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2025-10-29 (Wed, 29 Oct 2025)

  Changed paths:
    M flang/unittests/CMakeLists.txt
    M llvm/cmake/modules/AddLLVM.cmake

  Log Message:
  -----------
  [flang][cmake] Set the usual linker flags for non-gtest unit tests (#165256)

Flang also uses non-gtest based unittests, which don't go through the
usual add_unittest() helper. These currently do not use the usual linker
flags for unit tests. This means that in LTO builds, they do not disable
LTO when building unit tests, which increases the build time.



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