[libc-commits] [compiler-rt] [libc] [libcxx] [libcxxabi] [libunwind] [llvm] [openmp] [Runtimes] Introduce variables containing resource dir paths (PR #177953)
Petr Hosek via libc-commits
libc-commits at lists.llvm.org
Tue Feb 10 01:22:07 PST 2026
================
@@ -47,6 +38,17 @@ function (get_toolchain_library_subdir outvar)
endfunction ()
+# Corresponds to Flang's ToolChain::getDefaultIntrinsicModuleDir().
+function (get_toolchain_fortran_module_subdir outvar)
+ set(outval "finclude/flang")
----------------
petrhosek wrote:
I know next to nothing about Fortran. Where can I read more about Fortran modules? Are they anything like C++ modules? The reason I'm asking is that we already have existing directory layout for C++ modules that's different from what's being introduced here and I'm wondering whether the same scheme would make sense for Fortran.
https://github.com/llvm/llvm-project/pull/177953
More information about the libc-commits
mailing list