pass g++ as a compiler to run_tests.py when ispc_build_compiler==gcc

This commit is contained in:
Anton Mitrokhin
2014-07-18 19:34:34 +04:00
parent edeeda6fa5
commit 9dd1d67a39

View File

@@ -438,6 +438,9 @@ def validation_run(only, only_targets, reference_branch, number, notify, update,
LLVM = []
targets = []
sde_targets = []
# sometimes clang++ is not avaluable. if --ispc-build-compiler = gcc we will pass in g++ compiler
if options.ispc_build_compiler == "gcc":
stability.compiler_exe = "g++"
# parsing option only, update parameters of run
if "-O2" in only:
opts.append(False)