Update detect.py

Adjust Intel Fortran compiler detection to handle changes in ifort logo with the introduction of the oneapi toolkit.  See #8338.
pull/8899/head
Ian Harvey 3 years ago committed by Jussi Pakkanen
parent 8f7343831b
commit 84b371c645
  1. 2
      mesonbuild/compilers/detect.py

@ -721,7 +721,7 @@ def detect_fortran_compiler(env: 'Environment', for_machine: MachineChoice) -> C
compiler, version, for_machine, is_cross, info,
exe_wrap, full_version=full_version, linker=linker)
if 'Intel(R) Visual Fortran' in err:
if 'Intel(R) Visual Fortran' in err or 'Intel(R) Fortran' in err:
version = search_version(err)
target = 'x86' if 'IA-32' in err else 'x86_64'
cls = IntelClFortranCompiler

Loading…
Cancel
Save