From 17d58084d752f13ffa429004b7bbd282c83095a1 Mon Sep 17 00:00:00 2001 From: Steven Noonan Date: Fri, 4 Sep 2020 01:34:28 -0700 Subject: [PATCH] travis: disable sanitizers for Clang on i686 Trying to run an i386 Ubuntu container results in linker errors for the sanitizer builds. Signed-off-by: Steven Noonan --- .travis/build-cmake.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis/build-cmake.sh b/.travis/build-cmake.sh index 6dd1946..cc49333 100755 --- a/.travis/build-cmake.sh +++ b/.travis/build-cmake.sh @@ -54,6 +54,9 @@ BUILD_WEBRTC=${BUILD_WEBRTC:-1} # builder, and it fails to link properly. [[ $(uname -m) == s390x ]] && BUILD_SANITIZERS=0 +# clang with sanitizers results in link errors on i686 Ubuntu at any rate +[[ ${CXX} == *clang* ]] && [[ "$(${CXX} -dumpmachine)" == i686-* ]] && BUILD_SANITIZERS=0 + # Big-endian platforms can't build with WebRTC out-of-the-box. [[ $(uname -m) == s390x ]] && BUILD_WEBRTC=0 [[ $(uname -m) == powerpc ]] && BUILD_WEBRTC=0