From: Chris Bieneman Date: Sat, 19 Dec 2015 00:56:12 +0000 (+0000) Subject: [CMake] Fixing a typo in a flag X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f77379b0d14c118a5df341bdb2d28607102ade00;p=clang [CMake] Fixing a typo in a flag Turns out cc1's flag has 1 - not 2... git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@256070 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/perf-training/lit.cfg b/utils/perf-training/lit.cfg index cc14c02826..af4b43b78b 100644 --- a/utils/perf-training/lit.cfg +++ b/utils/perf-training/lit.cfg @@ -29,7 +29,7 @@ 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_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 ) )