Improved cray_xc detection bug fix
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user