suppress excessive warnings and undesired aborts with Intel LLVM compiler

This commit is contained in:
Axel Kohlmeyer
2022-05-18 21:43:09 -04:00
parent d323b7817d
commit b5830aae83
2 changed files with 4 additions and 1 deletions

View File

@ -107,7 +107,7 @@ endif()
# silence excessive warnings for new Intel Compilers
if(CMAKE_CXX_COMPILER_ID STREQUAL "IntelLLVM")
set(CMAKE_TUNE_DEFAULT "-Wno-tautological-constant-compare")
set(CMAKE_TUNE_DEFAULT "-Wno-tautological-constant-compare -Wno-unused-command-line-argument")
endif()
# silence excessive warnings for PGI/NVHPC compilers