(self, version_string)
| 269 | description = 'GNU Fortran 95 compiler' |
| 270 | |
| 271 | def version_match(self, version_string): |
| 272 | v = self.gnu_version_match(version_string) |
| 273 | if not v or v[0] != 'gfortran': |
| 274 | return None |
| 275 | v = v[1] |
| 276 | if LooseVersion(v) >= "4": |
| 277 | # gcc-4 series releases do not support -mno-cygwin option |
| 278 | pass |
| 279 | else: |
| 280 | # use -mno-cygwin flag for gfortran when Python is not |
| 281 | # Cygwin-Python |
| 282 | if sys.platform == 'win32': |
| 283 | for key in [ |
| 284 | 'version_cmd', 'compiler_f77', 'compiler_f90', |
| 285 | 'compiler_fix', 'linker_so', 'linker_exe' |
| 286 | ]: |
| 287 | self.executables[key].append('-mno-cygwin') |
| 288 | return v |
| 289 | |
| 290 | possible_executables = ['gfortran', 'f95'] |
| 291 | executables = { |
nothing calls this directly
no test coverage detected