[clang] [flang] [llvm] [openmp] [Flang] Move builtin .mod generation into runtimes (Reapply #137828) (PR #169638)

Michael Kruse via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 26 11:31:15 PST 2025


================
@@ -1568,6 +1558,14 @@ bool CompilerInvocation::createFromArgs(
     success = false;
   }
 
+  // User-specified or default resource dir
+  if (const llvm::opt::Arg *a =
+          args.getLastArg(clang::options::OPT_resource_dir))
+    invoc.resourceDir = a->getValue();
+  else
+    invoc.resourceDir = clang::driver::Driver::GetResourcesPath(
----------------
Meinersbur wrote:

There have been several reverts and re-applies of this patch: https://github.com/llvm/llvm-project/pull/169397. The pre-merge CI says it is fine: https://github.com/llvm/llvm-project/actions/runs/19701948097/job/56440119613?pr=169638 on the base patch as-is. 

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


More information about the llvm-commits mailing list