diff options
author | Brad King <brad.king@kitware.com> | 2024-06-04 12:56:27 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2024-06-04 12:56:34 (GMT) |
commit | e449ae8492a3b35cd37f956d28fba08fb3a20f4c (patch) | |
tree | 0ab076ed036643fee49bf5b1d36699bbe0f100a5 | |
parent | 42a4185643f2e9c16accd8286d7741e90493c2f4 (diff) | |
parent | 557a5f3083648ac50f5869a9a204ef6cdd934c16 (diff) | |
download | CMake-e449ae8492a3b35cd37f956d28fba08fb3a20f4c.zip CMake-e449ae8492a3b35cd37f956d28fba08fb3a20f4c.tar.gz CMake-e449ae8492a3b35cd37f956d28fba08fb3a20f4c.tar.bz2 |
Merge topic 'cxx-checks-icpx-overriding'
557a5f3083 cm_cxx_features: Filter out icpx -Woverriding-t-option warnings
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9577
-rw-r--r-- | Source/Checks/cm_cxx_features.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/Checks/cm_cxx_features.cmake b/Source/Checks/cm_cxx_features.cmake index 8727543..0a03f3a 100644 --- a/Source/Checks/cm_cxx_features.cmake +++ b/Source/Checks/cm_cxx_features.cmake @@ -53,8 +53,10 @@ function(cm_check_cxx_feature name) string(REGEX REPLACE "[^\n]*libhugetlbfs [^\n]*: WARNING[^\n]*" "" check_output "${check_output}") # Filter out xcodebuild warnings. string(REGEX REPLACE "[^\n]* xcodebuild\\[[0-9]*:[0-9]*\\][^\n]*[Ww]arning: [^\n]*" "" check_output "${check_output}") - # Filter out icpc warnings + # Filter out Intel classic warnings about overridden flags string(REGEX REPLACE "[^\n]*icpc: command line warning #10121: overriding [^\n]*" "" check_output "${check_output}") + # Filter out Intel oneAPI warnings about overridden flags + string(REGEX REPLACE "[^\n]*icpx: warning: overriding [^\n]*" "" check_output "${check_output}") # Filter out ld warnings. string(REGEX REPLACE "[^\n]*ld: warning: [^\n]*" "" check_output "${check_output}") # Filter out distcc. |