diff --git a/tests/rbe_external_project/abseil_asan.yaml b/tests/rbe_external_project/abseil_asan.yaml index dacf031cc..7f51f2a5a 100644 --- a/tests/rbe_external_project/abseil_asan.yaml +++ b/tests/rbe_external_project/abseil_asan.yaml @@ -40,6 +40,9 @@ steps: - --incompatible_enable_cc_toolchain_resolution - --copt=-fsanitize=address - --linkopt=-fsanitize=address + # This is needed because cc_configure does not currently add + # /usr/local/lib/clang/10.0.0/share to the builtin_include_directory_paths + - --copt=-fno-sanitize-blacklist - --copt=-DADDRESS_SANITIZER=1 - --copt=-gmlt - --strip=never diff --git a/tests/rbe_external_project/abseil_msan.yaml b/tests/rbe_external_project/abseil_msan.yaml index abb4cc40a..1972d3c16 100644 --- a/tests/rbe_external_project/abseil_msan.yaml +++ b/tests/rbe_external_project/abseil_msan.yaml @@ -33,6 +33,9 @@ steps: # msan specific flags - --copt=-fsanitize=memory - --linkopt=-fsanitize=memory + # This is needed because cc_configure does not currently add + # /usr/local/lib/clang/10.0.0/share to the builtin_include_directory_paths + - --copt=-fno-sanitize-blacklist - --copt=-DMEMORY_SANITIZER=1 - --test_output=errors - --cxxopt=--stdlib=libc++