summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-06-04 12:56:27 (GMT)
committerKitware Robot <kwrobot@kitware.com>2024-06-04 12:56:34 (GMT)
commite449ae8492a3b35cd37f956d28fba08fb3a20f4c (patch)
tree0ab076ed036643fee49bf5b1d36699bbe0f100a5
parent42a4185643f2e9c16accd8286d7741e90493c2f4 (diff)
parent557a5f3083648ac50f5869a9a204ef6cdd934c16 (diff)
downloadCMake-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.cmake4
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.