[llvm-branch-commits] [flang] [llvm] [Flang] Move runtime library files to FortranRuntime. NFC (PR #110298)
Michael Kruse via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Oct 10 02:50:13 PDT 2024
Meinersbur wrote:
> A Fortran compiler and its runtime are tightly coupled; the compiler can only work with this runtime, this runtime can only be used by this compiler, and they share common API definitions and data structures.
So is c C/C++ compiler and its runtime(s). There is still a need to support cross-compilation and other build modes like `FLANG_EXPERIMENTAL_CUDA_RUNTIME`.
> I don't mind if you move the sources and headers that are used _only_ by the runtime into a new top-level directory, if you must. But moving common headers and sources used by _both_ the compiler and the runtime builds out of the compiler tree makes no sense to me.
As said, this was the result of the RFC. I can update the PR and leave them in `flang/`.
https://github.com/llvm/llvm-project/pull/110298
More information about the llvm-branch-commits
mailing list