[all-commits] [llvm/llvm-project] 949c6c: [flang-rt] Remove hard-coded dependency on compile...

David Truby via All-commits all-commits at lists.llvm.org
Tue Jul 29 00:44:05 PDT 2025


  Branch: refs/heads/release/21.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 949c6cc95a9b80fbfc6b3918f66b0470b592a5e4
      https://github.com/llvm/llvm-project/commit/949c6cc95a9b80fbfc6b3918f66b0470b592a5e4
  Author: David Truby <david.truby at arm.com>
  Date:   2025-07-29 (Tue, 29 Jul 2025)

  Changed paths:
    M flang-rt/cmake/modules/AddFlangRT.cmake
    M flang-rt/unittests/CMakeLists.txt

  Log Message:
  -----------
  [flang-rt] Remove hard-coded dependency on compiler-rt path on Windows (#150244)

This fixes an issue where if the build folder is no longer present flang
cannot link anything on Windows because the path to compiler-rt in the
binary is hard-coded. Flang already links compiler-rt on Windows so it
isn't necessary for flang-rt to specify that it depends on compiler-rt
at all, other than for the unit tests, so instead we can move that logic
into the unit test compile lines.

(cherry picked from commit c20a95a7ddd8219f3e587e335a0a8e3f4613fc47)



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