intel windows coarray args

This commit is contained in:
Michael Hirsch, Ph.D 2019-06-21 01:24:54 -04:00
parent 838c8d642c
commit 9a3bc75410
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -1,4 +1,5 @@
project('Fortran coarray', 'fortran')
project('Fortran coarray', 'fortran',
meson_version: '>=0.50')
# coarray is required because single-image fallback is an intrinsic feature
coarray = dependency('coarray', required : true)