From c8c671b52c3348aeba1b9ca871075c308d287b78 Mon Sep 17 00:00:00 2001 From: zaikunzhang Date: Wed, 1 May 2024 01:07:55 +0800 Subject: [PATCH] 240501.010755.HKT revise comments in cmake.yml --- .github/workflows/cmake.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 61828ff5b7..5757288bf0 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -67,6 +67,10 @@ jobs: # 2. On windows-latest, we want to use '-Wall -W5 -Werror-all' as what we do for the intel-classic # compiler, but the (new) intel c compiler does not recognize '-W5 -Werror-all', even though the # official documentation of the compiler mentions them. Why? + # Comments on `cl`: + # -wd4820 disables the warning about "... bytes padding added after data member" + # -wd4464 disables the warning about "elative include path contains '..'" + # -wd4710 disables the warning about "... function is not inlined" - os: windows-latest toolchain: {compiler: intel, version: '2023.2', cflags: '-Wall -Werror', fflags: '/warn:all /debug:extended /Z7 /fimplicit-none /standard-semantics /assume:recursion'} - os: windows-latest @@ -74,9 +78,6 @@ jobs: - os: windows-latest toolchain: {compiler: intel, version: '2024.1', cflags: '-Wall -Werror', fflags: '/warn:all /debug:extended /Z7 /fimplicit-none /standard-semantics /assume:recursion'} - os: windows-latest - # -wd4820 disables the warning about "... bytes padding added after data member" - # -wd4464 disables the warning about "elative include path contains '..'" - # -wd4710 disables the warning about "... function is not inlined" toolchain: {compiler: intel, version: '2024.1', cflags: '-wd4820 -wd4464 -wd4710 -Wall -W4 -WX', fflags: '/warn:all /debug:extended /Z7 /fimplicit-none /standard-semantics /assume:recursion', cc: cl} # N.B.: As of 20240401, setup-fortran fails constantly with windows-latest and intel-classic # 2021.8. Thus this combination is not included.