tensorflow-on-raspberry-pi
tensorflow-on-raspberry-pi copied to clipboard
Bazel build hang or approximative time to build Bazel?
I'm currently compiling bazel following the nice guide here on this git repo. But ./compile.sh
seemed stuck at Building Bazel from scratch ..
(only 2 dots ..
) for about 30mn with only 25% CPU loading. Thinking it had hanged, I ctrl-c
the bazel compile. Does the build process show its progression? How long does it take to build (even approximately)?
Also, isn't protobuf required for building bazel? In this guide it is, but not in the guide of this present repository; looking inside /bazel/third_party there is a protobuf directory, so bazel ships with its own protobuf?
- Raspberry Pi model: 3
- Operating System used: Jessie Light, updated, upgraded (not dist-upgrade)
- Version of Python used: 3.6.1 compiled from source
- SD card memory size: 16GB
- Size of USB/other device used as swap (if building from source): 16GB
- Bazel version: 0.5.2
I eventually let the process do its job, after about 5hours, it told me bazel failed to build. I'll report it in another issue.
Yes, the build process shows progression: you should eventually see an update such as (300 / 1400) files built. It's not visible at all points of the build process, but it's often there.
It took me around 1 or 1.5 hours to build on Rasp PI 3b, with python 3.4, 16BG SD card, 8GB swap.
this is the final line output in the console after something such as (1700/1756) done. INFO: 1756 processes: 1756 local. INFO: Build completed successfully, 1862 total actions