Fix PGI version detection: 17.4-0 -> 17.4 (#4251)
This commit is contained in:
parent
0932b16d4e
commit
315bda3487
@ -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 ')
|
||||
|
Loading…
Reference in New Issue
Block a user