[flang-commits] [clang] [flang] [Flang][Driver] Add -print-resource-dir command line flag to emit Flang's resource directory (PR #90886)
Michael Klemm via flang-commits
flang-commits at lists.llvm.org
Fri May 3 00:23:27 PDT 2024
================
@@ -0,0 +1,3 @@
+! RUN: %flang -print-resource-dir -resource-dir=%S/Inputs/resource_dir \
+! RUN: | FileCheck -check-prefix=PRINT-RESOURCE-DIR -DFILE=%S/Inputs/resource_dir %s
+! PRINT-RESOURCE-DIR: [[FILE]]
----------------
mjklemm wrote:
It does not. The `/Inputs/resource_dir` part has no relevance and I have copied that verbatim from what Clang does for its driver test. I will change this to use DEFINE to simplify it.
https://github.com/llvm/llvm-project/pull/90886
More information about the flang-commits
mailing list