[all-commits] [llvm/llvm-project] cf1e34: [flang][windows] Add option to link against specif...

David Truby via All-commits all-commits at lists.llvm.org
Fri Nov 10 08:14:03 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cf1e3420b0141d84770869205cfdb546609014dd
      https://github.com/llvm/llvm-project/commit/cf1e3420b0141d84770869205cfdb546609014dd
  Author: David Truby <david.truby at arm.com>
  Date:   2023-11-10 (Fri, 10 Nov 2023)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/ToolChains/CommonArgs.cpp
    M clang/lib/Driver/ToolChains/CommonArgs.h
    M clang/lib/Driver/ToolChains/Darwin.cpp
    M clang/lib/Driver/ToolChains/DragonFly.cpp
    M clang/lib/Driver/ToolChains/FreeBSD.cpp
    M clang/lib/Driver/ToolChains/Gnu.cpp
    M clang/lib/Driver/ToolChains/Haiku.cpp
    M clang/lib/Driver/ToolChains/MSVC.cpp
    M clang/lib/Driver/ToolChains/MinGW.cpp
    M clang/lib/Driver/ToolChains/NetBSD.cpp
    M clang/lib/Driver/ToolChains/OpenBSD.cpp
    M clang/lib/Driver/ToolChains/Solaris.cpp
    M flang/lib/Decimal/CMakeLists.txt
    M flang/runtime/CMakeLists.txt
    M flang/runtime/FortranMain/CMakeLists.txt
    M flang/test/Driver/driver-help-hidden.f90
    M flang/test/Driver/driver-help.f90
    M flang/test/Driver/linker-flags.f90

  Log Message:
  -----------
  [flang][windows] Add option to link against specific MSVC CRT (#70833)

Currently flang's runtime libraries are only built for the specific CRT
that LLVM itself was built against. This patch adds the cmake logic for
building a separate runtime for each CRT configuration and adds a flag
for selecting a CRT configuration to link against.




More information about the All-commits mailing list