================
@@ -6,8 +6,8 @@
 !-----------------------------------------
 ! FRONTEND FLANG DRIVER (flang -fc1)
 !-----------------------------------------
-! RUN: %flang_fc1 -fsyntax-only %s  2>&1 | FileCheck %s --allow-empty 
--check-prefix=WITHOUT
-! RUN: not %flang_fc1 -fsyntax-only -fintrinsic-modules-path %S/Inputs/ %s  
2>&1 | FileCheck %s --check-prefix=GIVEN
+! RUN:     %flang_bare -fsyntax-only                                     %s 
%intrinsic_module_flags 2>&1 | FileCheck %s --check-prefix=WITHOUT --allow-empty
----------------
Meinersbur wrote:

@klausler 
If building using a bootstrapping configuration 
(`-DLLVM_ENABLE_RUNTIMES=flang-rt`, implicitly added when 
`-DLLVM_ENABLE_PROJECTS=flang`), the mod files are automatically put into the 
Clang/Flang resource directory as a dependency of `check-flang`. If explictly 
disabled using `-DFLANG_ENABLE_FLANG_RT=OFF` or in a Flang-standalone build 
(that currently does not support LLVM_ENABLE_RUNTIMES), Flang-RT can be 
compiled separately and `FLANG_INTRINSIC_MODULES_DIR` pointed to it. 
`lit.cfg.py` will add the path via `-fintrinsic-module-path` to each 
`flang`/`%flang_fc1` call. If FLANG_INTRINSIC_MODULES_DIR is not set then tests 
in `test/` will be skipped.

https://github.com/llvm/llvm-project/pull/137828
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to