compilers: make Intel::openmp_flag() return -openmp and -qopenmp based on the compiler version
This commit is contained in:
parent
3cd3052c56
commit
592045cd54
1 changed files with 4 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue