Skip to content

Commit

Permalink
This is a test
Browse files Browse the repository at this point in the history
LITERT_OSS_REV_ID: 713715932
  • Loading branch information
ecalubaquib authored and copybara-github committed Jan 9, 2025
1 parent 89d4d20 commit 534d25d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
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
1 change: 1 addition & 0 deletions ci/run_bazel_test_with_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +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 BAZEL_CONFIG_FLAGS=${BAZEL_CONFIG_FLAGS} \
-e PUBLIC_CACHE_PUSH=${PUBLIC_CACHE_PUSH:-false} \
--entrypoint /script_dir/run_bazel_test_with_docker.sh \
tflite-builder
Expand Down

0 comments on commit 534d25d

Please sign in to comment.