Update cray compiler options (#4086)

This commit is contained in:
Matthew Scott Krafczyk 2017-05-03 12:05:15 -05:00 committed by Adam J. Stewart
parent 07e1597a15
commit 6e14b97f84

View File

@ -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"