gfortran version detection brokenon debian.
This commit is contained in:
parent
63292c5826
commit
5cc508393a
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ def fc_version(cls, fc):
|
|||
return get_compiler_version(
|
||||
fc, '-dumpversion',
|
||||
# older gfortran versions don't have simple dumpversion output.
|
||||
r'(?:GNU Fortran \(GCC\))?(\d+\.\d+\.\d+)')
|
||||
r'(?:GNU Fortran \(GCC\))?(\d+\.\d+(?:\.\d+)?)')
|
||||
|
||||
|
||||
@classmethod
|
||||
|
|
Loading…
Reference in a new issue