Skip to content

Commit e3ba003

Browse files
committed
Working on bazel protobuf generation.
1 parent c695cc8 commit e3ba003

3 files changed

Lines changed: 2 additions & 5 deletions

File tree

tensorflow-core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/workspace2.bzl
4343
(but for the currently used release, not master)
4444
-->
45-
<protobuf.version>3.21.9</protobuf.version>
45+
<protobuf.version>4.28.3</protobuf.version>
4646

4747
<native.classifier>${javacpp.platform}${javacpp.platform.extension}</native.classifier>
4848
<javacpp.platform.extension></javacpp.platform.extension>

tensorflow-core/tensorflow-core-native/BUILD

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ java_proto_library(
44
name = "java_proto_gen_sources",
55
deps = [
66
"@org_tensorflow//tensorflow/core:protos_all",
7-
"@local_xla//xla/tsl/protobuf:bfc_memory_map_proto",
8-
"@local_xla//xla/tsl/protobuf:test_log_proto",
9-
#"@local_tsl//tsl/protobuf:protos_all"
7+
"@local_xla//xla/tsl/protobuf:protos_all"
108
]
119
)

tensorflow-core/tensorflow-core-native/scripts/bazel_common.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
set -eu
33

44
# Set generic Bazel build options
5-
export BAZEL_USE_CPP_ONLY_TOOLCHAIN=1
65
export BAZEL_VC="${VCINSTALLDIR:-}"
76
if [[ -d $BAZEL_VC ]]; then
87
export BUILD_FLAGS="--output_user_root=$(cygpath -w $TMP) build"

0 commit comments

Comments
 (0)