compilers: make Intel::openmp_flag() return -openmp and -qopenmp based on the compiler version

This commit is contained in:
Denis Davydov 2016-05-03 11:28:49 +02:00
parent 3cd3052c56
commit 592045cd54

View file

@ -47,7 +47,10 @@ class Intel(Compiler):
@property
def openmp_flag(self):
if self.version < ver('16.0'):
return "-openmp"
else:
return "-qopenmp"
@property
def cxx11_flag(self):