Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This is a test #449

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -429,4 +429,3 @@ build:rbe_linux_cpu --python_path="/usr/bin/python3"
# These you may need to change for your own GCP project.
common:rbe_linux_cpu --remote_instance_name=projects/tensorflow-testing/instances/default_instance
# END LITERT REMOTE BUILD EXECUTION OPTIONS

11 changes: 3 additions & 8 deletions ci/run_bazel_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ set -ex

# Run this script under the root directory.

TEST_LANG_FILTERS="${TEST_LANG_FILTERS:-cc,py}"
EXPERIMENTAL_TARGETS_ONLY="${EXPERIMENTAL_TARGETS_ONLY:-false}"
PUBLIC_CACHE_PUSH="${PUBLIC_CACHE_PUSH:-false}"
PUBLIC_CACHE="${PUBLIC_CACHE:-false}"
TEST_LANG_FILTERS="${TEST_LANG_FILTERS:-cc,py}"

BUILD_FLAGS=("-c" "opt"
"--cxxopt=--std=c++17"
Expand All @@ -47,13 +47,8 @@ BUILD_FLAGS=("-c" "opt"
"--experimental_ui_max_stdouterr_bytes=3145728"
)

if [ "$PUBLIC_CACHE_PUSH" == "true" ]; then
BUILD_FLAGS+=("--config=public_cache_push")
fi

if [ "$PUBLIC_CACHE" == "true" ]; then
BUILD_FLAGS+=("--config=public_cache")
fi
# Add Bazel --config flags based on kokoro injected env ie. --config=public_cache
BUILD_FLAGS += ( ${BAZEL_CONFIG_FLAGS} )

# TODO: (b/381310257) - Investigate failing test not included in cpu_full
# TODO: (b/381110338) - Clang errors
Expand Down
2 changes: 1 addition & 1 deletion ci/run_bazel_test_with_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ if [ ! -d /root_dir ]; then
-v ${SCRIPT_DIR}:/script_dir \
-e DOCKER_PYTHON_VERSION=${DOCKER_PYTHON_VERSION} \
-e EXPERIMENTAL_TARGETS_ONLY=${EXPERIMENTAL_TARGETS_ONLY:-false} \
-e PUBLIC_CACHE_PUSH=${PUBLIC_CACHE_PUSH:-false} \
-e BAZEL_CONFIG_FLAGS=${BAZEL_CONFIG_FLAGS} \
--entrypoint /script_dir/run_bazel_test_with_docker.sh \
tflite-builder
exit 0
Expand Down