Skip to content

Commit c42881a

Browse files
committed
MPI detection: do not look for mpicc on Windows
1 parent 17fafda commit c42881a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mesonbuild/dependencies/mpi.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def mpi_factory(env: 'Environment',
4040
return []
4141
compiler_is_intel = compiler.get_id() in {'intel', 'intel-cl'}
4242

43-
if DependencyMethods.CONFIG_TOOL in methods:
43+
if DependencyMethods.CONFIG_TOOL in methods and not env.machines[for_machine].is_windows():
4444
nwargs = kwargs.copy()
4545

4646
# We try the environment variables for the tools first, but then

0 commit comments

Comments
 (0)