You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have built Bazel from source and compiled tensorflow 1.7 however the bazel build for the JNI components in the tensorflow/java directory fails following this guide:
Pi 3B / 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/Linux
Please provide the following information about your Raspberry Pi setup:
Raspberry Pi model: 3B
Operating System used: Pi 3B / 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/Linux
Version of Python used: 3.4.2
SD card memory size: 32GB, 2GB swap
Size of USB/other device used as swap (if building from source): 32 GB, 2GB swap
TensorFlow git commit hash (if building from source): 1.7 release
Relevant Console Output/Logs
bazel build --config opt \
//tensorflow/java:tensorflow
//tensorflow/java:libtensorflow_jni
WARNING: Config values are not defined in any .rc file: opt
WARNING: /home/pi/.cache/bazel/_bazel_pi/95e62cc5d2d9e23af70991d1a60b13e8/external/protobuf_archive/WORKSPACE:1: Workspace name in /home/pi/.cache/bazel/_bazel_pi/95e62cc5d2d9e23af70991d1a60b13e8/external/protobuf_archive/WORKSPACE (@com_google_protobuf) does not match the name given in the repository's definition (@protobuf_archive); this will cause a build error in future versions
ERROR: /home/pi/.cache/bazel/_bazel_pi/95e62cc5d2d9e23af70991d1a60b13e8/external/bazel_tools/tools/jdk/BUILD:214:1: in singlejar attribute of java_toolchain rule @bazel_tools//tools/jdk:toolchain_jdk8: '@bazel_tools//tools/jdk:singlejar' must produce a single file. Since this rule was created by the macro 'default_java_toolchain', the error might have been caused by the macro implementation in /home/pi/.cache/bazel/_bazel_pi/95e62cc5d2d9e23af70991d1a60b13e8/external/bazel_tools/tools/jdk/BUILD:214:1
ERROR: Analysis of target '//tensorflow/java:tensorflow' failed; build aborted: Analysis of target '@bazel_tools//tools/jdk:toolchain_jdk8' failed; build aborted
The text was updated successfully, but these errors were encountered:
Describe the Issue
I have built Bazel from source and compiled tensorflow 1.7 however the bazel build for the JNI components in the tensorflow/java directory fails following this guide:
Steps to Reproduce
bazel build --config opt
//tensorflow/java:tensorflow
//tensorflow/java:libtensorflow_jni
Hardware/Software Info
Pi 3B / 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/Linux
Please provide the following information about your Raspberry Pi setup:
Relevant Console Output/Logs
bazel build --config opt \
The text was updated successfully, but these errors were encountered: