Without this fix, the testing of SDE targets with GCC is impossible.

This commit is contained in:
Andrey Shishpanov
2016-03-13 14:53:39 +03:00
parent 306f3468c3
commit d88240d227

View File

@@ -730,7 +730,10 @@ def validation_run(only, only_targets, reference_branch, number, notify, update,
# *always* specify default values for global variables on each loop iteration
stability.wrapexe = ""
stability.compiler_exe = None
# choosing right compiler for a given target
# 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++"
if ("knc-generic" in stability.target) or ("knl-generic" in stability.target):
stability.compiler_exe = "icpc"
stability.wrapexe = get_sde() + " " + sde_targets[j][0] + " -- "