1 @LIT_SITE_CFG_IN_HEADER@
3 # Tool-specific config options.
4 config
.clang
= "@METADATA_TEST_TARGET_CC@"
5 config
.target_cflags
= "@METADATA_TEST_TARGET_CFLAGS@"
6 config
.target_arch
= "x86_64"
8 # Load common config for all compiler-rt lit tests.
9 lit_config
.load_config(config
, "@COMPILER_RT_BINARY_DIR@/test/lit.common.configured")
11 # Load tool-specific config that would do the real work.
12 lit_config
.load_config(config
, "@METADATA_LIT_SOURCE_DIR@/lit.cfg.py")
14 clangxx
= [config
.clang
] + config
.cxx_mode_flags
+ ["-Wall", config
.target_cflags
]
15 config
.substitutions
.append(("%clangxx ", " ".join([""] + clangxx
+ [""])))