diff --git a/.github/workflows/meson.yml b/.github/workflows/meson.yml index 948d2a0..72c77a1 100644 --- a/.github/workflows/meson.yml +++ b/.github/workflows/meson.yml @@ -13,7 +13,7 @@ jobs: matrix: os: [windows-latest, ubuntu-latest, macos-13] arch: ['x64'] - version: ['11'] + version: ['12'] int: ['32', '64'] mode: ['static', 'shared'] include: diff --git a/meson.build b/meson.build index 5d95bb6..0f94455 100644 --- a/meson.build +++ b/meson.build @@ -15,6 +15,16 @@ cc = meson.get_compiler('c') fc = meson.get_compiler('fortran') fc_compiler = find_program(fc.cmd_array()) +# Remove messages about deprecated Intel compilers +if cc.get_id() == 'intel' + add_global_arguments('-diag-disable=10441', language : 'c') + add_global_link_arguments('-diag-disable=10441', language : 'c') +endif +if cc.get_id() == 'intel-cl' + add_global_arguments('/Qdiag-disable=10441', language : 'c') + add_global_link_arguments('/Qdiag-disable=10441', language : 'c') +endif + # Options install_modules = get_option('modules') build_quadruple = get_option('quadruple') @@ -253,7 +263,7 @@ if build_tests endif # C tests -if build_tests +if build_tests and (fc.get_id() == 'gcc') fortran_tests_folder = 'tests/C'