
Extract Flang's runtime library to use the LLVM_ENABLE_RUNTIME mechanism. It will only become active when `LLVM_ENABLE_RUNTIMES=flang-rt` is used, which also changes the `FLANG_INCLUDE_RUNTIME` to `OFF` so the old runtime build rules do not conflict. This also means that unless `LLVM_ENABLE_RUNTIMES=flang-rt` is passed, nothing changes with the current build process. Motivation: * Consistency with LLVM's other runtime libraries (compiler-rt, libc, libcxx, openmp offload, ...) * Allows compiling the runtime for multiple targets at once using the LLVM_RUNTIME_TARGETS configuration options * Installs the runtime into the compiler's per-target resource directory so it can be automatically found even when cross-compiling Also see RFC discussion at https://discourse.llvm.org/t/rfc-use-llvm-enable-runtimes-for-flangs-runtime/80826
2.0 KiB
Flang |version| (In-Progress) Release Notes
Warning
These are in-progress notes for the upcoming LLVM |version| release. Release notes for previous releases can be found on the Download Page.
Introduction
This document contains the release notes for the Flang Fortran frontend, part of the LLVM Compiler Infrastructure, release |version|. Here we describe the status of Flang in some detail, including major improvements from the previous release and new feature work. For the general LLVM release notes, see the LLVM documentation. All LLVM releases may be downloaded from the LLVM releases web site.
Note that if you are reading this file from a Git checkout, this document applies to the next release, not the current one. To see the release notes for a specific release, please see the releases page.
Major New Features
Bug Fixes
Non-comprehensive list of changes in this release
New Compiler Flags
Windows Support
Fortran Language Changes in Flang
Build System Changes
-
The FortranRuntime library has been renamed to
flang_rt.runtime
. -
The FortranFloat128Math library has been renamed to
flang_rt.quadmath
. -
The CufRuntime_cuda_${version} library has been renamed to
flang_rt.cuda_${version}
. -
The Fortran Runtime library has been move to a new top-level directory named "flang-rt". It now supports the LLVM_ENABLE_RUNTIMES mechanism to build Flang-RT for multiple target triples. libflang_rt.runtime.{a|so} will now be emitted into Clang's per-target resource directory (next to libclang_rt..) where it is also found by Flang's driver.
New Issues Found
Additional Information
Flang's documentation is located in the flang/docs/
directory in the
LLVM monorepo.
If you have any questions or comments about Flang, please feel free to contact us on the Discourse forums.