[llvm-branch-commits] [flang] [llvm] [Flang] Move runtime library files to clang-rt. NFC (PR #110298)

Michael Kruse via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Oct 16 13:17:31 PDT 2024


================
@@ -1,4 +1,4 @@
-//===-- include/FortranRuntime/Runtime/array-constructor.h ------*- C++ -*-===//
+//===-- include/flang-rt/flang_rt/array-constructor.h -----------*- C++ -*-===//
----------------
Meinersbur wrote:

I updated the summary to explain this:

The folder structure of flang-rt/include/flang-rt/flang_rt/ can be explained as follows: flang-rt (with hyphen) is the subproject's name. The second occurrence is required so #includes are prefixed with it. flang_rt is the library name (e.g. libflang_rt.a). Other library names are CufRuntime and FortranFloat128Math (which as no non-common public headers).

flang-rt follows the convention of subproject, e.g. compiler-rt
flang_rt follows the convention of Compiler-RT libraries, e.g. libclang_rt.builtins.a

https://github.com/llvm/llvm-project/pull/110298


More information about the llvm-branch-commits mailing list