Cross compiling tensorflow using Bazel

245 views
Skip to first unread message

rgopin...@gmail.com

unread,
Sep 8, 2017, 4:20:06 AM9/8/17
to bazel-discuss
I am trying to cross compile tensorflow using bazel as my board is arm architecture.

I followed the instructions provided in the bellow link but i am not able to compile successfully.

https://github.com/bazelbuild/bazel/wiki/Building-with-a-custom-toolchain

The command I am using to build pip package is

bazel build --crosstool_top=//tools/arm_compiler:toolchain --cpu=armeabi-v7a //tensorflow/tools/pip_package:build_pip_package

Now i am getting this error


ERROR: /home/gopinathr/Documents/work/tensorflow/tools/arm_compiler/BUILD:51:1: in cc_toolchain rule //tools/arm_compiler:cc-compiler-armeabi-v7a: The package '@linaro_linux_gcc_repo' is not valid

ERROR: Analysis of target '//tensorflow/tools/pip_package:build_pip_package' failed; build aborted.

Does anyone can help me with cross compilation of tensorflow.

Regards,

Gopinath

mandlem....@iitgn.ac.in

unread,
Jul 31, 2018, 10:23:05 PM7/31/18
to bazel-discuss
Hi Gopinath,
Even I am facing the same problem. Did you resolve this issue. If so, can you please help me with this?
Thank you.
Reply all
Reply to author
Forward
0 new messages