Commit 59cba2b5 by Derek Mauro Committed by Copybara-Service

Add --features=external_include_paths to Bazel CI to ignore warnings

from dependencies

PiperOrigin-RevId: 467659690
Change-Id: I4804a825af50594fdd49e8927411b805dc5912f5
parent 61f84d62
...@@ -85,6 +85,7 @@ for std in ${STD}; do ...@@ -85,6 +85,7 @@ for std in ${STD}; do
--copt="-fno-sanitize-blacklist" \ --copt="-fno-sanitize-blacklist" \
--copt=-Werror \ --copt=-Werror \
--distdir="/bazel-distdir" \ --distdir="/bazel-distdir" \
--features=external_include_paths \
--keep_going \ --keep_going \
--linkopt="-fsanitize=address" \ --linkopt="-fsanitize=address" \
--linkopt="-fsanitize-link-c++-runtime" \ --linkopt="-fsanitize-link-c++-runtime" \
......
...@@ -87,6 +87,7 @@ for std in ${STD}; do ...@@ -87,6 +87,7 @@ for std in ${STD}; do
--copt=-Werror \ --copt=-Werror \
--define=\"absl=1\" \ --define=\"absl=1\" \
--distdir=\"/bazel-distdir\" \ --distdir=\"/bazel-distdir\" \
--features=external_include_paths \
--keep_going \ --keep_going \
--show_timestamps \ --show_timestamps \
--test_env=\"GTEST_INSTALL_FAILURE_SIGNAL_HANDLER=1\" \ --test_env=\"GTEST_INSTALL_FAILURE_SIGNAL_HANDLER=1\" \
......
...@@ -83,6 +83,7 @@ for std in ${STD}; do ...@@ -83,6 +83,7 @@ for std in ${STD}; do
--copt="-fno-sanitize-blacklist" \ --copt="-fno-sanitize-blacklist" \
--copt=-Werror \ --copt=-Werror \
--distdir="/bazel-distdir" \ --distdir="/bazel-distdir" \
--features=external_include_paths \
--keep_going \ --keep_going \
--linkopt="-fsanitize=thread" \ --linkopt="-fsanitize=thread" \
--show_timestamps \ --show_timestamps \
......
...@@ -80,6 +80,7 @@ for std in ${STD}; do ...@@ -80,6 +80,7 @@ for std in ${STD}; do
--copt=-Werror \ --copt=-Werror \
--define="absl=1" \ --define="absl=1" \
--distdir="/bazel-distdir" \ --distdir="/bazel-distdir" \
--features=external_include_paths \
--keep_going \ --keep_going \
--linkopt="--gcc-toolchain=/usr/local" \ --linkopt="--gcc-toolchain=/usr/local" \
--show_timestamps \ --show_timestamps \
......
...@@ -79,6 +79,7 @@ for std in ${STD}; do ...@@ -79,6 +79,7 @@ for std in ${STD}; do
--copt=-Werror \ --copt=-Werror \
--define="absl=1" \ --define="absl=1" \
--distdir="/bazel-distdir" \ --distdir="/bazel-distdir" \
--features=external_include_paths \
--keep_going \ --keep_going \
--show_timestamps \ --show_timestamps \
--test_env="GTEST_INSTALL_FAILURE_SIGNAL_HANDLER=1" \ --test_env="GTEST_INSTALL_FAILURE_SIGNAL_HANDLER=1" \
......
...@@ -85,6 +85,7 @@ for std in ${STD}; do ...@@ -85,6 +85,7 @@ for std in ${STD}; do
--copt=-Werror \ --copt=-Werror \
--define=\"absl=1\" \ --define=\"absl=1\" \
--distdir=\"/bazel-distdir\" \ --distdir=\"/bazel-distdir\" \
--features=external_include_paths \
--keep_going \ --keep_going \
--show_timestamps \ --show_timestamps \
--test_env=\"GTEST_INSTALL_FAILURE_SIGNAL_HANDLER=1\" \ --test_env=\"GTEST_INSTALL_FAILURE_SIGNAL_HANDLER=1\" \
......
...@@ -56,6 +56,7 @@ ${BAZEL_BIN} test ... \ ...@@ -56,6 +56,7 @@ ${BAZEL_BIN} test ... \
--copt="-DGTEST_REMOVE_LEGACY_TEST_CASEAPI_=1" \ --copt="-DGTEST_REMOVE_LEGACY_TEST_CASEAPI_=1" \
--copt="-Werror" \ --copt="-Werror" \
--cxxopt="-std=c++14" \ --cxxopt="-std=c++14" \
--features=external_include_paths \
--keep_going \ --keep_going \
--show_timestamps \ --show_timestamps \
--test_env="TZDIR=${ABSEIL_ROOT}/absl/time/internal/cctz/testdata/zoneinfo" \ --test_env="TZDIR=${ABSEIL_ROOT}/absl/time/internal/cctz/testdata/zoneinfo" \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment