From 408d34797d31b0b515352f66639947c93c285b07 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Wed, 3 Jun 2020 12:18:07 -0700 Subject: [PATCH] Disable UBSan, Clang is not available in upb's Kokoro image atm. --- kokoro/ubuntu/build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kokoro/ubuntu/build.sh b/kokoro/ubuntu/build.sh index 3642f2ce41..97678ea286 100644 --- a/kokoro/ubuntu/build.sh +++ b/kokoro/ubuntu/build.sh @@ -22,5 +22,7 @@ if [[ $(uname) = "Linux" ]]; then # Verify the UBSan build. Have to exclude Lua as the version we are using # fails some UBSan tests. - CC=clang CXX=clang++ bazel test -c dbg --copt=-fsanitize=undefined --copt=-fno-sanitize=function,vptr --linkopt=-fsanitize=undefined --action_env=UBSAN_OPTIONS=halt_on_error=1:print_stacktrace=1 -- :all -:test_lua + + # For some reason kokoro doesn't have Clang available right now. + #CC=clang CXX=clang++ bazel test -c dbg --copt=-fsanitize=undefined --copt=-fno-sanitize=function,vptr --linkopt=-fsanitize=undefined --action_env=UBSAN_OPTIONS=halt_on_error=1:print_stacktrace=1 -- :all -:test_lua fi