================
@@ -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 don't think we need to include the `flang` subdirectory, there shouldn't be 
any mixing between GFortran and Clang since they use a different resource 
directory path (`${INSTALL_PREFIX}/lib/gcc` vs `${INSTALL_PREFIX}/lib/clang`).

https://github.com/llvm/llvm-project/pull/177953
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to