aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/dependencies/misc.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/dependencies/misc.py')
-rw-r--r--mesonbuild/dependencies/misc.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/mesonbuild/dependencies/misc.py b/mesonbuild/dependencies/misc.py
index e5fab64..1bb1b6e 100644
--- a/mesonbuild/dependencies/misc.py
+++ b/mesonbuild/dependencies/misc.py
@@ -66,6 +66,10 @@ class CoarrayDependency(ExternalDependency):
self.is_found = True
self.link_args = ['-coarray=shared']
self.compile_args = self.link_args
+ elif cid == 'intel-cl':
+ """ Coarrays are built into Intel compilers, no external library needed """
+ self.is_found = True
+ self.compile_args = ['/Qcoarray:shared']
elif cid == 'nagfor':
""" NAG doesn't require any special arguments for Coarray """
self.is_found = True
@@ -213,7 +217,7 @@ class MPIDependency(ExternalDependency):
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(self.for_machine).name_string() != 'intel':
+ if language == 'fortran' and environment.detect_fortran_compiler(self.for_machine).name_string() != 'intel-cl':
return
result = self._try_msmpi()
if result is not None: