Skip to content

Commit 5c48337

Browse files
Merge pull request #47690 from justeph:build_pip_package_with_bazel-add-support-of-bazel-startup-option
PiperOrigin-RevId: 364290593 Change-Id: I864642485ce94b6077521cd88e40f645440e5f2f
2 parents fe7c743 + cfa101d commit 5c48337

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tensorflow/lite/tools/pip_package/build_pip_package_with_bazel.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ case "${TENSORFLOW_TARGET}" in
8888
;;
8989
esac
9090

91-
bazel build -c opt -s --config=monolithic --config=noaws --config=nogcp --config=nohdfs --config=nonccl \
91+
bazel ${BAZEL_STARTUP_OPTIONS} build -c opt -s --config=monolithic --config=noaws --config=nogcp --config=nohdfs --config=nonccl \
9292
${BAZEL_FLAGS} ${CUSTOM_BAZEL_FLAGS} //tensorflow/lite/python/interpreter_wrapper:_pywrap_tensorflow_interpreter_wrapper
9393
cp "${TENSORFLOW_DIR}/bazel-bin/tensorflow/lite/python/interpreter_wrapper/_pywrap_tensorflow_interpreter_wrapper${LIBRARY_EXTENSION}" \
9494
"${BUILD_DIR}/tflite_runtime"

0 commit comments

Comments
 (0)