From f8ed6ade480d913dbcc4f5e64264f191ecc30af3 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Thu, 10 Mar 2016 16:11:22 -0800 Subject: [PATCH] faster running sanitizer builds --- scripts/travis-common.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/travis-common.sh b/scripts/travis-common.sh index cfbc8cd4d..814313479 100644 --- a/scripts/travis-common.sh +++ b/scripts/travis-common.sh @@ -92,9 +92,9 @@ configure () { PATH_REPLACE='' MAPNIK_BUNDLED_SHARE_DIRECTORY=True \ RUNTIME_LINK='static' WARNING_CXXFLAGS="-Wno-unknown-warning-option" elif enabled ${SANITIZE_ADDRESS}; then - ./configure "$@" DEBUG=True DEBUG_SANITIZE=True + ./configure "$@" OPTIMIZATION=1 CUSTOM_CXXFLAGS="-fsanitize=address -fno-omit-frame-pointer" CUSTOM_LDFLAGS="-fsanitize=address" elif enabled ${SANITIZE_THREAD}; then - ./configure "$@" DEBUG=True CUSTOM_CXXFLAGS="-fsanitize=thread" CUSTOM_LDFLAGS="-fsanitize=thread" + ./configure "$@" OPTIMIZATION=1 CUSTOM_CXXFLAGS="-fsanitize=thread -fno-omit-frame-pointer" CUSTOM_LDFLAGS="-fsanitize=thread" else ./configure "$@" WARNING_CXXFLAGS="-Wno-unknown-warning-option" fi