Installing Bazel on Raspberry pi 3

JC_ picture JC_ · Sep 16, 2016 · Viewed 7.1k times · Source

I am trying to build Bazel from source for Raspberry Pi 3 (Model B). I encounter error

Protobuf compiler not found in third_party/protobuf/protoc-linux-arm32.exe

Earlier I tried downloading the available .deb package which failed to install (even after force architecture, worth noting Pi 3 is a armhf 64 system) as dependency on JDK7 was not resolved. JDK7 is not available through apt-get.

My understanding of Bazel, Protocol Buffer is very limited, Please help me with:

  1. The steps I can take to successfully build Bazel on Raspberry Pi 3
  2. Someone is able to do so or their any repository I can include directly?

I think it is very much possible to build because Tensorflow repository for Raspberry Pi is successfully installed on Pi 3, which I grabbed from here

Answer

Pete Warden picture Pete Warden · Sep 19, 2016

There's a guide to building TensorFlow using Bazel on the Pi 3 here that may help: https://github.com/samjabrahams/tensorflow-on-raspberry-pi/blob/master/GUIDE.md