summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMads Bach Villadsen <mvilladsen@pm.me>2025-10-30 11:50:47 +0100
committerDylan Baker <dylan@pnwbakers.com>2025-10-30 08:15:03 -0700
commit08a78f856b38c774aef382ea97e4fc47a9cd9685 (patch)
tree0277a2db56cc6bd64e2b3778be7f3ac5ca5af15b
parentba860d72a96932608bb2b13a2f32ebda0087905a (diff)
downloadmeson-08a78f856b38c774aef382ea97e4fc47a9cd9685.tar.gz
Add ifx to list of Fortran compilers on Windows
Intel's oneAPI installation, as of 2025.3, no longer provides the classic ifort compiler, only the newer llvm-based ifx compiler.
-rw-r--r--mesonbuild/compilers/detect.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/detect.py b/mesonbuild/compilers/detect.py
index 0a5f55ddd..2dbeac04a 100644
--- a/mesonbuild/compilers/detect.py
+++ b/mesonbuild/compilers/detect.py
@@ -48,7 +48,7 @@ if is_windows():
# There is currently no pgc++ for Windows, only for Mac and Linux.
defaults['cpp'] = ['icl', 'cl', 'c++', 'g++', 'clang++', 'clang-cl']
# the binary flang-new will be renamed to flang in the foreseeable future
- defaults['fortran'] = ['ifort', 'gfortran', 'flang-new', 'flang', 'pgfortran', 'g95']
+ defaults['fortran'] = ['ifort', 'ifx', 'gfortran', 'flang-new', 'flang', 'pgfortran', 'g95']
defaults['objc'] = ['clang', 'clang-cl', 'gcc']
defaults['objcpp'] = ['clang++', 'clang-cl', 'g++']
defaults['cs'] = ['csc', 'mcs']