(self)
| 142 | return opt |
| 143 | |
| 144 | def get_libgcc_dir(self): |
| 145 | try: |
| 146 | output = subprocess.check_output(self.compiler_f77 + |
| 147 | ['-print-libgcc-file-name']) |
| 148 | except (OSError, subprocess.CalledProcessError): |
| 149 | pass |
| 150 | else: |
| 151 | output = filepath_from_subprocess_output(output) |
| 152 | return os.path.dirname(output) |
| 153 | return None |
| 154 | |
| 155 | def get_libgfortran_dir(self): |
| 156 | if sys.platform[:5] == 'linux': |
no test coverage detected