2016-03-17 17:14:30 +00:00
|
|
|
##============================================================================
|
|
|
|
## Copyright (c) Kitware, Inc.
|
|
|
|
## All rights reserved.
|
|
|
|
## See LICENSE.txt for details.
|
2019-04-15 23:24:21 +00:00
|
|
|
##
|
2016-03-17 17:14:30 +00:00
|
|
|
## This software is distributed WITHOUT ANY WARRANTY; without even
|
|
|
|
## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
|
|
## PURPOSE. See the above copyright notice for more information.
|
|
|
|
##============================================================================
|
|
|
|
|
|
|
|
list(APPEND CTEST_CUSTOM_WARNING_EXCEPTION
|
2016-03-18 17:46:31 +00:00
|
|
|
".*warning: ignoring loop annotation.*"
|
2020-06-01 15:36:07 +00:00
|
|
|
".*warning: Included by graph for.*not generated, too many nodes. Consider increasing DOT_GRAPH_MAX_NODES.*"
|
|
|
|
|
|
|
|
# disable doxygen warnings about no matching members caused by auto keyword
|
|
|
|
".*warning: no matching file member found for.*"
|
|
|
|
|
|
|
|
# disable doxygen warning from VTKM_DEPRECATED usage
|
|
|
|
".*warning: Found.*while parsing initializer list!.*"
|
2018-05-08 17:36:34 +00:00
|
|
|
|
|
|
|
# disable doxygen warning about potential recursion.
|
2020-06-01 15:36:07 +00:00
|
|
|
".*warning: Detected potential recursive class relation between .*"
|
2018-05-08 17:36:34 +00:00
|
|
|
|
|
|
|
# disable doxygen warning about not generating graph
|
|
|
|
".*warning: Included by graph for"
|
|
|
|
|
2018-06-27 18:09:21 +00:00
|
|
|
# Doxygen warns when creating output directory:
|
|
|
|
"Notice: Output directory.*does not exist. I have created it for you."
|
|
|
|
|
2018-05-08 17:36:34 +00:00
|
|
|
# disable doxygen warnings from CONTRIBUTING.md, CodingConventions.md.
|
|
|
|
# these files are really intended for Gitlab, hence we don't want to use
|
|
|
|
# doxygen tags in them.
|
|
|
|
"CONTRIBUTING.md.*warning"
|
|
|
|
"CodingConventions.md.*warning"
|
2018-05-10 15:32:24 +00:00
|
|
|
|
2019-02-11 13:36:01 +00:00
|
|
|
# disable static/dynamic weak symbol warnings
|
|
|
|
".*ld: warning: direct access in function.*"
|
|
|
|
|
2021-07-20 20:23:00 +00:00
|
|
|
# disable nvlink warnings about arch not found
|
|
|
|
# These indicate that a flag like -arch is missing from the link command.
|
|
|
|
# I am seeing these for the Kokkos builds, and I don't want to fight the
|
|
|
|
# compiler flags there, so I'm just going to suppress those.
|
|
|
|
".*nvlink warning.*SM Arch.*not found in.*"
|
2021-12-14 21:42:25 +00:00
|
|
|
|
|
|
|
# Disable warnings about third party libraries.
|
|
|
|
# Normally compilers do not generate warnings for includes using -isystem,
|
|
|
|
# however, that is not always the case, specially in exotic systems such as
|
|
|
|
# OLCF Ascent/Summit
|
|
|
|
".*vtkm/thirdparty.*"
|
2017-12-23 17:47:56 +00:00
|
|
|
)
|
2021-07-20 20:23:00 +00:00
|
|
|
|
|
|
|
list(APPEND CTEST_CUSTOM_WARNING_MATCH
|
|
|
|
# Let CUDA compiler warn us about recursive functions we should avoid.
|
|
|
|
".*nvlink warning.*"
|
|
|
|
)
|
2022-09-23 22:21:14 +00:00
|
|
|
|
|
|
|
## Sometimes a few test hangs in HIP disable repeat until_pass for HIP builds
|
|
|
|
set(CTEST_REPEAT_UNTIL_PASS 3)
|
|
|
|
if (NOT x"@CMAKE_HIP_COMPILER@"x STREQUAL xx)
|
|
|
|
set(CTEST_REPEAT_UNTIL_PASS 0)
|
|
|
|
endif()
|