mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 12:56:08 +00:00

This is an intermediate and fairly mechanical step towards unifying the benchmarks with the rest of the test suite. Moving this around requires a few changes, notably making sure we don't throw a wrench into the discovery process of the normal test suite. This won't be a problem anymore once benchmarks are taken into account by the test setup out of the box.
10 lines
310 B
Python
10 lines
310 B
Python
@LIT_SITE_CFG_IN_HEADER@
|
|
|
|
import sys
|
|
|
|
config.libcxx_src_root = "@LIBCXX_SOURCE_DIR@"
|
|
config.libcxx_obj_root = "@LIBCXX_BINARY_DIR@"
|
|
config.benchmark_args = "@LIBCXX_BENCHMARK_TEST_ARGS@".split(';')
|
|
|
|
# Let the main config do the real work.
|
|
lit_config.load_config(config, "@CMAKE_CURRENT_BINARY_DIR@/lit.cfg.py") |