Skip to content

Commit

Permalink
kokkos#338: add stricter warnings for icpx and Wshadow to warning list
Browse files Browse the repository at this point in the history
  • Loading branch information
nmm0 committed Jun 3, 2024
1 parent b859258 commit ec18ef6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,19 @@ jobs:
include:
- compiler_driver: g++-9
compiler_prefix: /usr/bin
cxx_flags_extra: "-Werror -Wall"
cxx_flags_extra: "-Werror -Wall -Wshadow"
- compiler_driver: g++-10
compiler_prefix: /usr/bin
cxx_flags_extra: "-Werror -Wall"
cxx_flags_extra: "-Werror -Wall -Wshadow"
- compiler_driver: clang++
compiler_prefix: /usr/bin
cxx_flags_extra: "-stdlib=libc++ -Werror -Wall"
cxx_flags_extra: "-stdlib=libc++ -Werror -Wall -Wshadow"
- compiler_driver: icpx
compiler_prefix: /opt/intel/oneapi/compiler/latest/linux/bin
# To get new URL, look here:
# https://www.intel.com/content/www/us/en/developer/articles/tool/oneapi-standalone-components.html#inpage-nav-6-undefined
compiler_url: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/ebf5d9aa-17a7-46a4-b5df-ace004227c0e/l_dpcpp-cpp-compiler_p_2023.2.1.8_offline.sh
cxx_flags_extra: "-Werror -Wall -Wshadow"
- enable_benchmark: ON
- stdcxx: 14
enable_benchmark: OFF
Expand Down

0 comments on commit ec18ef6

Please sign in to comment.