Improved cray_xc detection bug fix
This commit is contained in:
parent
4c506b36c5
commit
26d1ddc176
1 changed files with 3 additions and 1 deletions
|
@ -50,5 +50,7 @@ def detect(self):
|
|||
text = cc_verbose('-craype-verbose', output=str, error=str, ignore_errors=True).split()
|
||||
if '-D__CRAYXC' in text:
|
||||
return True
|
||||
finally:
|
||||
else:
|
||||
return False
|
||||
except:
|
||||
return False
|
||||
|
|
Loading…
Reference in a new issue