Improved cray_xc detection bug fix
This commit is contained in:
parent
4c506b36c5
commit
26d1ddc176
@ -50,5 +50,7 @@ def detect(self):
|
|||||||
text = cc_verbose('-craype-verbose', output=str, error=str, ignore_errors=True).split()
|
text = cc_verbose('-craype-verbose', output=str, error=str, ignore_errors=True).split()
|
||||||
if '-D__CRAYXC' in text:
|
if '-D__CRAYXC' in text:
|
||||||
return True
|
return True
|
||||||
finally:
|
else:
|
||||||
|
return False
|
||||||
|
except:
|
||||||
return False
|
return False
|
||||||
|
Loading…
Reference in New Issue
Block a user