aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/dependencies/misc.py
diff options
context:
space:
mode:
authorMichael Hirsch, Ph.D <10931741+scivision@users.noreply.github.com>2019-04-05 16:48:20 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2019-04-05 23:48:20 +0300
commit42a04f7e230d3b8d4f5c46ffccf01ca7dfb94ef2 (patch)
tree18590baff0a379bb5d12f7197df045942ef364ad /mesonbuild/dependencies/misc.py
parent4e939bcf8ad7e52853877f39b582ce0ed7cdd423 (diff)
downloadmeson-42a04f7e230d3b8d4f5c46ffccf01ca7dfb94ef2.zip
meson-42a04f7e230d3b8d4f5c46ffccf01ca7dfb94ef2.tar.gz
meson-42a04f7e230d3b8d4f5c46ffccf01ca7dfb94ef2.tar.bz2
BUGFIX: Microsoft MPI is only compatible with Intel Fortran
Diffstat (limited to 'mesonbuild/dependencies/misc.py')
-rw-r--r--mesonbuild/dependencies/misc.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/mesonbuild/dependencies/misc.py b/mesonbuild/dependencies/misc.py
index 76eccfb..38c34a8 100644
--- a/mesonbuild/dependencies/misc.py
+++ b/mesonbuild/dependencies/misc.py
@@ -212,6 +212,9 @@ class MPIDependency(ExternalDependency):
break
if not self.is_found and mesonlib.is_windows():
+ # only Intel Fortran compiler is compatible with Microsoft MPI at this time.
+ if language == 'fortran' and environment.detect_fortran_compiler(False).name_string() != 'intel':
+ return
result = self._try_msmpi()
if result is not None:
self.is_found = True