Skip to content

Commit 2449ff8

Browse files
committed
Call use_clang at the top-level
1 parent 156b6b0 commit 2449ff8

File tree

2 files changed

+7
-13
lines changed

2 files changed

+7
-13
lines changed

flang/test/Integration/lit.local.cfg

Lines changed: 0 additions & 13 deletions
This file was deleted.

flang/test/lit.cfg.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,13 @@
172172
else:
173173
llvm_config.add_tool_substitutions(tools, config.llvm_tools_dir)
174174

175+
llvm_config.use_clang(required=False)
176+
177+
# Include path for C headers that define Flang's Fortran ABI.
178+
config.substitutions.append(
179+
("%include", os.path.join(config.flang_source_dir, "include"))
180+
)
181+
175182
# Enable libpgmath testing
176183
result = lit_config.params.get("LIBPGMATH")
177184
if result:

0 commit comments

Comments
 (0)