summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLisandro Dalcin <dalcinl@gmail.com>2025-12-11 09:14:00 +0300
committerDylan Baker <dylan@pnwbakers.com>2025-12-11 09:29:19 -0800
commitbc61d5c161146aade9be90a09a3655cc7999749a (patch)
tree06b28e32c6dff4976d864951f11150aab4173da6
parent133f3b099781b312c156016d5b1190ff5783784c (diff)
downloadmeson-bc61d5c161146aade9be90a09a3655cc7999749a.tar.gz
MPI detection: do not look for mpicc on Windows
-rw-r--r--mesonbuild/dependencies/mpi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/dependencies/mpi.py b/mesonbuild/dependencies/mpi.py
index 1eae1a493..9c364b2f4 100644
--- a/mesonbuild/dependencies/mpi.py
+++ b/mesonbuild/dependencies/mpi.py
@@ -41,7 +41,7 @@ def mpi_factory(env: 'Environment',
return []
compiler_is_intel = compiler.get_id() in {'intel', 'intel-cl'}
- if DependencyMethods.CONFIG_TOOL in methods:
+ if DependencyMethods.CONFIG_TOOL in methods and not env.machines[for_machine].is_windows():
nwargs = kwargs.copy()
# We try the environment variables for the tools first, but then