r256070 - [CMake] Fixing a typo in a flag
Chris Bieneman via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 18 16:56:12 PST 2015
Author: cbieneman
Date: Fri Dec 18 18:56:12 2015
New Revision: 256070
URL: http://llvm.org/viewvc/llvm-project?rev=256070&view=rev
Log:
[CMake] Fixing a typo in a flag
Turns out cc1's flag has 1 - not 2...
Modified:
cfe/trunk/utils/perf-training/lit.cfg
Modified: cfe/trunk/utils/perf-training/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/perf-training/lit.cfg?rev=256070&r1=256069&r2=256070&view=diff
==============================================================================
--- cfe/trunk/utils/perf-training/lit.cfg (original)
+++ cfe/trunk/utils/perf-training/lit.cfg Fri Dec 18 18:56:12 2015
@@ -29,7 +29,7 @@ config.suffixes = ['.c', '.cpp', '.m', '
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_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 ) )
More information about the cfe-commits
mailing list