-xHost is only supported by the intel compiler

parent a9769f3f
......@@ -195,7 +195,8 @@ env.Append(CCFLAGS=['-fstrict-aliasing', '-fargument-noalias'])
# Vectorization?
if env['compileMode'] == 'release' and env['vectorize']:
env.Append(CPPDEFINES=['VECTORIZE'])
env.Append(CCFLAGS=['-xHost'])
if env['compiler'] == 'intel':
env.Append(CCFLAGS=['-xHost'])
if env['compiler'] == 'intel' and env['showVectorization']:
env.Append(CCFLAGS=['-vec-report2'])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment