diff options
author | Jennifer Kathleen Green <jgreen@lanl.gov> | 2020-04-30 16:46:20 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-04-30 17:27:59 (GMT) |
commit | 231637eae2c7cf762155451f61c1e34fdb30ddd8 (patch) | |
tree | 1ef6d06239303b50bab6ccc1ecc98159ea626604 /Source | |
parent | 4ab0d37b4147dfd6a06995efbcaf2aa68abf29c3 (diff) | |
download | CMake-231637eae2c7cf762155451f61c1e34fdb30ddd8.zip CMake-231637eae2c7cf762155451f61c1e34fdb30ddd8.tar.gz CMake-231637eae2c7cf762155451f61c1e34fdb30ddd8.tar.bz2 |
cm_cxx_features: Filter out 'icpc: command line warning #10121'
This warning appears for:
overriding '-xCORE-AVX2' with '-march=haswell'`
in some Cray environments.
Fixes: #20664
Diffstat (limited to 'Source')
-rw-r--r-- | Source/Checks/cm_cxx_features.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Checks/cm_cxx_features.cmake b/Source/Checks/cm_cxx_features.cmake index 145f45c..2a67748 100644 --- a/Source/Checks/cm_cxx_features.cmake +++ b/Source/Checks/cm_cxx_features.cmake @@ -32,6 +32,8 @@ 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]*\\] warning: [^\n]*" "" check_output "${check_output}") + # Filter out icpc warnings + string(REGEX REPLACE "[^\n]*icpc: command line warning #10121: overriding [^\n]*" "" check_output "${check_output}") # Filter out ld warnings. string(REGEX REPLACE "[^\n]*ld: warning: [^\n]*" "" check_output "${check_output}") # Filter out CUDA installation warnings. |