diff options
| author | Shoaib Meenai <smeenai@fb.com> | 2019-12-13 19:35:49 -0800 |
|---|---|---|
| committer | Shoaib Meenai <smeenai@fb.com> | 2019-12-14 09:46:41 -0800 |
| commit | 2c59c4ffb9c111f8d87a65839697d03fc485c51c (patch) | |
| tree | 6446c2d8d198b261046adcf5c947df71db7abce8 /clang/utils/perf-training/lit.cfg | |
| parent | ccc453eb57b91a4e64ecfd7a9ee8d9415345c6b6 (diff) | |
| download | bcm5719-llvm-2c59c4ffb9c111f8d87a65839697d03fc485c51c.tar.gz bcm5719-llvm-2c59c4ffb9c111f8d87a65839697d03fc485c51c.zip | |
[perf-training] Make training data location configurable
We may wish to keep the PGO training data outside the repository. Add a
CMake variable to allow referencing an external lit testsuite.
Differential Revision: https://reviews.llvm.org/D71507
Diffstat (limited to 'clang/utils/perf-training/lit.cfg')
| -rw-r--r-- | clang/utils/perf-training/lit.cfg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/utils/perf-training/lit.cfg b/clang/utils/perf-training/lit.cfg index 671d44f83b9..67a42345da4 100644 --- a/clang/utils/perf-training/lit.cfg +++ b/clang/utils/perf-training/lit.cfg @@ -27,7 +27,7 @@ config.clang = lit.util.which('clang', config.clang_tools_dir).replace('\\', '/' config.name = 'Clang Perf Training' config.suffixes = ['.c', '.cpp', '.m', '.mm', '.cu', '.ll', '.cl', '.s', '.S', '.modulemap'] -cc1_wrapper = '%s %s/perf-helper.py cc1' % (config.python_exe, config.test_source_root) +cc1_wrapper = '%s %s/perf-helper.py cc1' % (config.python_exe, config.perf_helper_dir) use_lit_shell = os.environ.get("LIT_USE_INTERNAL_SHELL") config.test_format = lit.formats.ShTest(use_lit_shell == "0") |

