klausler wrote: > While it would be possible to only have a `FortranRuntime/CMakeLists.txt` and > leave all the other files in `flang/`, I strongly believe this is a bad idea. > It is the norm for LLVM runtimes to have separate sources.
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. 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. https://github.com/llvm/llvm-project/pull/110298 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits