The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
489 B
18 lines
489 B
project('Fortran coarray', 'fortran', |
|
meson_version: '>=0.50') |
|
|
|
fc = meson.get_compiler('fortran') |
|
fcid = fc.get_id() |
|
|
|
if ['pgi', 'flang'].contains(fcid) |
|
error('MESON_SKIP_TEST: At least through PGI 19.4 and Flang 7.1 do not support Fortran Coarrays.') |
|
endif |
|
|
|
# coarray is required because single-image fallback is an intrinsic feature |
|
coarray = dependency('coarray', required : true) |
|
|
|
exe = executable('hello', 'main.f90', |
|
dependencies : coarray) |
|
|
|
test('Coarray hello world', exe) |
|
|
|
|