diff --git a/run_tests.py b/run_tests.py index 2774ab4c..41705747 100755 --- a/run_tests.py +++ b/run_tests.py @@ -270,9 +270,12 @@ def run_test(testname): elif (options.target == "knl-generic"): cc_cmd = "%s -O2 -I. %s %s test_static.cpp -DTEST_SIG=%d %s -o %s" % \ (options.compiler_exe, gcc_arch, "-xMIC-AVX512", match, obj_name, exe_name) - elif (options.target == "avx512knl-i32x16"): + elif (options.target == "avx512knl-i32x16" and options.compiler_exe == "clang++"): cc_cmd = "%s -O2 -I. %s %s test_static.cpp -DTEST_SIG=%d %s -o %s" % \ (options.compiler_exe, gcc_arch, "-march=knl", match, obj_name, exe_name) + elif (options.target == "avx512skx-i32x16" and options.compiler_exe == "clang++"): + cc_cmd = "%s -O2 -I. %s %s test_static.cpp -DTEST_SIG=%d %s -o %s" % \ + (options.compiler_exe, gcc_arch, "-march=skx", match, obj_name, exe_name) else: cc_cmd = "%s -O2 -I. %s %s test_static.cpp -DTEST_SIG=%d %s -o %s" % \ (options.compiler_exe, gcc_arch, gcc_isa, match, obj_name, exe_name)