From bc61d5c161146aade9be90a09a3655cc7999749a Mon Sep 17 00:00:00 2001 From: Lisandro Dalcin Date: Thu, 11 Dec 2025 09:14:00 +0300 Subject: MPI detection: do not look for mpicc on Windows --- mesonbuild/dependencies/mpi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3