forked from OSchip/llvm-project
[CMake] PGO training data
Adding in a few more lit substitutions for cc1 and the test exec path. llvm-svn: 256057
This commit is contained in:
parent
bae92fdb39
commit
de879caeb8
|
|
@ -29,7 +29,9 @@ config.suffixes = ['.c', '.cpp', '.m', '.mm', '.cu', '.ll', '.cl', '.s', '.S', '
|
|||
use_lit_shell = os.environ.get("LIT_USE_INTERNAL_SHELL")
|
||||
config.test_format = lit.formats.ShTest(use_lit_shell == "0")
|
||||
config.substitutions.append( ('%clang_cpp', ' %s --driver-mode=cpp %s ' % (config.clang, sysroot_flags)))
|
||||
config.substitutions.append( ('%clang_cc1', ' %s --cc1 %s ' % (config.clang, sysroot_flags)))
|
||||
config.substitutions.append( ('%clang', ' %s %s ' % (config.clang, sysroot_flags) ) )
|
||||
config.substitutions.append( ('%test_root', config.test_exec_root ) )
|
||||
|
||||
config.environment['LLVM_PROFILE_FILE'] = 'perf-training-%p.profraw'
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue