Skip to content

Commit 8fec166

Browse files
committed
1 parent 8067335 commit 8fec166

File tree

4 files changed

+4
-7
lines changed

4 files changed

+4
-7
lines changed

character/meson.build

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
os = host_machine.system()
2-
31
ascii = executable('ascii', 'ascii.f90')
42
test('Ascii Special', ascii)
53

coarray/meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ if not coarray.found()
33
subdir_done()
44
endif
55

6-
f18coarray = fc.run('real :: x[*]; call co_sum(x); end').returncode() == 0
6+
f18coarray = fc.run('real :: x[*]; call co_sum(x); end', name: 'F2018 coarray').returncode() == 0
77

88
hello = executable('coarray_hello', 'helloworld.f90', dependencies : coarray)
99
test('Coarray Hello', hello)

meson.build

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@ if fc.get_id() == 'gcc'
1212
endif
1313
oldargs = ['-std=legacy', '-w']
1414
elif fc.get_id() == 'intel'
15-
add_global_arguments('-stand', 'f18', '-implicitnone', language: 'fortran')
15+
add_global_arguments('-stand', 'f18', '-warn declarations', language: 'fortran')
1616
oldargs = '-nowarn'
1717
elif fc.get_id() == 'intel-cl'
18-
add_global_arguments('/stand:f18', '/4Yd', language: 'fortran')
18+
# /fpp allows #include etc preprocessor lines
19+
add_global_arguments('/stand:f18', '/warn:declarations', '/fpp', language: 'fortran')
1920
oldargs = '/nowarn'
2021
elif fc.get_id() == 'pgi'
2122
add_global_arguments('-C', '-Mdclchk', language: 'fortran')

netcdf/meson.build

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,4 @@ endif
1212
if fc.links('use netcdf; end', name: 'NetCDF', dependencies : netcdf)
1313
netcdf_rw = executable('netcdf_rw', 'simple_xy_wr.f90', dependencies : netcdf)
1414
test('NetCDF', netcdf_rw)
15-
else
16-
message('NetCDF failed to link')
1715
endif

0 commit comments

Comments
 (0)