[llvm-branch-commits] [clang] [flang] [lld] [llvm] [Flang] LLVM_ENABLE_RUNTIMES=FortranRuntime (PR #110217)

Michael Kruse via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Oct 10 14:46:43 PDT 2024


================
@@ -0,0 +1,161 @@
+#===-- CMakeLists.txt ------------------------------------------------------===#
----------------
Meinersbur wrote:

I used FortranRuntime so far because the library's name is `libFortranRuntime.a`, so it is the path least amount of changes and I myself don't have a favorite alternative which I would strongly prefer. This PR would be the occasion to discuss a new name.

https://reviews.llvm.org/D154869 suggested `flang-rt` as folder name and `libflang-rt.a` as library name. This patch puts the library next to `libclang_rt.*.a` from `compiler-rt` so that seems to be a naming scheme with precedence although inconsistent hyphenation.

So let me start with a suggestion: `flang-rt` as top-level folder name, `libflang_rt.a` as library name, as `flang-rt/{lib,include/flang_rt}/Runtime` for the source files.

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


More information about the llvm-branch-commits mailing list