Fix PGI version detection: 17.4-0 -> 17.4 (#4251)
This commit is contained in:
@@ -77,4 +77,4 @@ def default_version(cls, comp):
|
||||
on PowerPC.
|
||||
"""
|
||||
return get_compiler_version(
|
||||
comp, '-V', r'pg[^ ]* ([0-9.-]+) [^ ]+ target on ')
|
||||
comp, '-V', r'pg[^ ]* ([0-9.]+)-[0-9]+ [^ ]+ target on ')
|
||||
|
Reference in New Issue
Block a user