diff options
author | makise-homura <akemi_homura@kurisa.ch> | 2020-01-13 17:26:22 +0300 |
---|---|---|
committer | makise-homura <akemi_homura@kurisa.ch> | 2020-01-27 22:35:26 +0300 |
commit | 63000073963ee862dbb1b8c79478bcc4d7b8865b (patch) | |
tree | 5fbbd6ffadc4447b27fc9f94c8e18e03315ad273 | |
parent | 7ca53e40a378ec633f6513113dbe2193dca62d19 (diff) | |
download | meson-63000073963ee862dbb1b8c79478bcc4d7b8865b.zip meson-63000073963ee862dbb1b8c79478bcc4d7b8865b.tar.gz meson-63000073963ee862dbb1b8c79478bcc4d7b8865b.tar.bz2 |
Fix broken link on Elbrus Fortran compiler
Error is raised due to Elbrus Fortran compiler can't
generate debug information for now, because it's a 2-step
compiler where 1st step is code conversion from Fortran to C,
so debug information which C compiler would produce, is useless.
-rwxr-xr-x | run_unittests.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/run_unittests.py b/run_unittests.py index 3b8e49f..ff9dbd6 100755 --- a/run_unittests.py +++ b/run_unittests.py @@ -3087,7 +3087,9 @@ int main(int argc, char **argv) { pass try: env.detect_fortran_compiler(MachineChoice.HOST) - langs.append('fortran') + if is_windows() or platform.machine().lower() != 'e2k': + # Elbrus Fortran compiler can't generate debug information + langs.append('fortran') except EnvironmentException: pass try: |