1 @LIT_SITE_CFG_IN_HEADER@
3 # Tool-specific config options.
4 config
.name_suffix
= "@XRAY_TEST_CONFIG_SUFFIX@"
5 config
.xray_lit_source_dir
= "@XRAY_LIT_SOURCE_DIR@"
6 config
.target_cflags
= "@XRAY_TEST_TARGET_CFLAGS@"
7 config
.target_arch
= "@XRAY_TEST_TARGET_ARCH@"
8 config
.built_with_llvm
= ("@COMPILER_RT_STANDALONE_BUILD@" != "TRUE")
10 # TODO: Look into whether we can run a capability test on the standalone build to
11 # see whether it can run 'llvm-xray convert' instead of turning off tests for a
13 if config
.built_with_llvm
:
14 config
.available_features
.add('built-in-llvm-tree')
16 # Load common config for all compiler-rt lit tests
17 lit_config
.load_config(config
, "@COMPILER_RT_BINARY_DIR@/test/lit.common.configured")
19 # Load tool-specific config that would do the real work.
20 lit_config
.load_config(config
, "@CMAKE_CURRENT_SOURCE_DIR@/lit.cfg.py")