Update cray compiler options (#4086)
This commit is contained in:
parent
07e1597a15
commit
6e14b97f84
@ -53,3 +53,15 @@ class Cce(Compiler):
|
||||
@classmethod
|
||||
def default_version(cls, comp):
|
||||
return get_compiler_version(comp, '-V', r'[Vv]ersion.*(\d+(\.\d+)+)')
|
||||
|
||||
@property
|
||||
def openmp_flag(self):
|
||||
return "-h omp"
|
||||
|
||||
@property
|
||||
def cxx11_flag(self):
|
||||
return "-h std=c++11"
|
||||
|
||||
@property
|
||||
def pic_flag(self):
|
||||
return "-h PIC"
|
||||
|
Loading…
Reference in New Issue
Block a user