Skip to content

Commit

Permalink
Travis: disable checksums for UBSan builds
Browse files Browse the repository at this point in the history
  • Loading branch information
soumagne committed Oct 8, 2020
1 parent 672b16b commit c16250f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Testing/script/travis_script.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,16 @@ if(MERCURY_DO_MEMCHECK OR MERCURY_MEMORYCHECK_TYPE)
if(${MERCURY_MEMORYCHECK_TYPE} MATCHES "UndefinedBehaviorSanitizer")
# Must add verbosity / Error in build if no memory output file is produced
set(CTEST_MEMORYCHECK_SANITIZER_OPTIONS "verbosity=1")
# Disable checksums to prevent output from checksum library
set(USE_CHECKSUMS OFF)
else()
set(USE_CHECKSUMS ON)
endif()

# needed by mercury_common.cmake
set(dashboard_do_memcheck TRUE)
else()
set(USE_CHECKSUMS ON)
endif()

# Build name referenced in cdash
Expand Down Expand Up @@ -180,6 +186,7 @@ COVERAGE_COMMAND:FILEPATH=${CTEST_COVERAGE_COMMAND}
MERCURY_ENABLE_COVERAGE:BOOL=${dashboard_do_coverage}
MERCURY_ENABLE_DEBUG:BOOL=${enable_debug}
MERCURY_USE_BOOST_PP:BOOL=OFF
MERCURY_USE_CHECKSUMS:BOOL=${USE_CHECKSUMS}
MERCURY_USE_SELF_FORWARD:BOOL=ON
MERCURY_USE_XDR:BOOL=OFF
NA_USE_BMI:BOOL=${USE_BMI}
Expand Down

0 comments on commit c16250f

Please sign in to comment.