From 63000073963ee862dbb1b8c79478bcc4d7b8865b Mon Sep 17 00:00:00 2001 From: makise-homura Date: Mon, 13 Jan 2020 17:26:22 +0300 Subject: [PATCH] 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. --- run_unittests.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/run_unittests.py b/run_unittests.py index 3b8e49f5c..ff9dbd673 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: