[PATCH] D28269: [clang] Update lit config in utils/perf-training
Alexander Shaposhnikov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 3 20:44:22 PST 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL290936: [clang] Update lit config in utils/perf-training (authored by alexshap).
Changed prior to commit:
https://reviews.llvm.org/D28269?vs=82986&id=82999#toc
Repository:
rL LLVM
https://reviews.llvm.org/D28269
Files:
cfe/trunk/utils/perf-training/lit.cfg
cfe/trunk/utils/perf-training/order-files.lit.cfg
Index: cfe/trunk/utils/perf-training/lit.cfg
===================================================================
--- cfe/trunk/utils/perf-training/lit.cfg
+++ cfe/trunk/utils/perf-training/lit.cfg
@@ -31,7 +31,7 @@
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_skip_driver', ' %s %s %s ' % (cc1_wrapper, config.clang, sysroot_flags)))
-config.substitutions.append( ('%clang_cpp', ' %s --driver-mode=cpp %s ' % (config.clang, sysroot_flags)))
+config.substitutions.append( ('%clang_cpp', ' %s --driver-mode=g++ %s ' % (config.clang, sysroot_flags)))
config.substitutions.append( ('%clang_skip_driver', ' %s %s %s ' % (cc1_wrapper, config.clang, sysroot_flags)))
config.substitutions.append( ('%clang', ' %s %s ' % (config.clang, sysroot_flags) ) )
config.substitutions.append( ('%test_root', config.test_exec_root ) )
Index: cfe/trunk/utils/perf-training/order-files.lit.cfg
===================================================================
--- cfe/trunk/utils/perf-training/order-files.lit.cfg
+++ cfe/trunk/utils/perf-training/order-files.lit.cfg
@@ -37,10 +37,9 @@
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_skip_driver', ' %s %s --driver-mode=cpp %s ' % (dtrace_wrapper_cc1, config.clang, sysroot_flags)))
-config.substitutions.append( ('%clang_cpp', ' %s %s --driver-mode=cpp %s ' % (dtrace_wrapper, config.clang, sysroot_flags)))
+config.substitutions.append( ('%clang_cpp_skip_driver', ' %s %s --driver-mode=g++ %s ' % (dtrace_wrapper_cc1, config.clang, sysroot_flags)))
+config.substitutions.append( ('%clang_cpp', ' %s %s --driver-mode=g++ %s ' % (dtrace_wrapper, config.clang, sysroot_flags)))
config.substitutions.append( ('%clang_skip_driver', ' %s %s %s ' % (dtrace_wrapper_cc1, config.clang, sysroot_flags)))
config.substitutions.append( ('%clang', ' %s %s %s ' % (dtrace_wrapper, config.clang, sysroot_flags) ) )
config.substitutions.append( ('%test_root', config.test_exec_root ) )
-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28269.82999.patch
Type: text/x-patch
Size: 2150 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170104/6cc7066a/attachment-0001.bin>
More information about the cfe-commits
mailing list