meson: wire up benchmarking options
Wire up a couple of benchmarking options that we end up writing into our "GIT-BUILD-OPTIONS" file. These options allow users to control how exactly benchmarks are executed. Note that neither `GIT_PERF_MAKE_COMMAND` nor `GIT_PERF_MAKE_OPTS` are exposed as a build option. Those options are used by "t/perf/run", which is not used by Meson. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
d84eefaeea
commit
c3fc5c68f6
@@ -706,11 +706,11 @@ builtin_sources += custom_target(
|
||||
# build options to our tests.
|
||||
build_options_config = configuration_data()
|
||||
build_options_config.set('GIT_INTEROP_MAKE_OPTS', '')
|
||||
build_options_config.set('GIT_PERF_LARGE_REPO', '')
|
||||
build_options_config.set_quoted('GIT_PERF_LARGE_REPO', get_option('benchmark_large_repo'))
|
||||
build_options_config.set('GIT_PERF_MAKE_COMMAND', '')
|
||||
build_options_config.set('GIT_PERF_MAKE_OPTS', '')
|
||||
build_options_config.set('GIT_PERF_REPEAT_COUNT', '')
|
||||
build_options_config.set('GIT_PERF_REPO', '')
|
||||
build_options_config.set_quoted('GIT_PERF_REPEAT_COUNT', get_option('benchmark_repeat_count').to_string())
|
||||
build_options_config.set_quoted('GIT_PERF_REPO', get_option('benchmark_repo'))
|
||||
build_options_config.set('GIT_TEST_CMP_USE_COPIED_CONTEXT', '')
|
||||
build_options_config.set('GIT_TEST_INDEX_VERSION', '')
|
||||
build_options_config.set('GIT_TEST_OPTS', '')
|
||||
|
||||
Reference in New Issue
Block a user