jetsonhacks / installTensorFlowTX1

Scripts to install TensorFlow on the NVIDIA Jetson TX1 Development Kit
MIT License
62 stars 28 forks source link

Fail ./installPrerequisites.sh - Could not build Bazel #9

Open xavtx1 opened 7 years ago

xavtx1 commented 7 years ago

Hi, I've followed your guide to install tensorflow in jetson tx1. But when executing the installation of prerequisites, bazel fails. You could please help me with the fault, I leave the message from the terminal.

`File src/main/java/com/google/devtools/build/lib/util/CPU.java is read-only; trying to patch anyway patching file src/main/java/com/google/devtools/build/lib/util/CPU.java File tools/cpp/cc_configure.bzl is read-only; trying to patch anyway patching file tools/cpp/cc_configure.bzl patch: **** malformed patch at line 25: @@ -225,15 +225,16 @@ def _crosstool_content(repository_ctx, cc, cpu_value, darwin):

INFO: You can skip this first step by providing a path to the bazel binary as second argument: INFO: ./compile.sh compile /path/to/bazel πŸƒ Building Bazel from scratch....... πŸƒ Building Bazel with Bazel. .WARNING: /tmp/bazel_kcSyTBND/out/external/bazel_tools/WORKSPACE:1: Workspace name in /tmp/bazel_kcSyTBND/out/external/bazel_tools/WORKSPACE (@io_bazel) does not match the name given in the repository's definition (@bazel_tools); this will cause a build error in future versions. ERROR: No toolchain found for cpu 'unknown'. Valid cpus are: [ piii, armeabi-v7a, x64_windows_msvc, s390x, ]. INFO: Elapsed time: 6.046s

ERROR: Could not build Bazel cp: cannot stat 'output/bazel': No such file or directory`

ange3 commented 6 years ago

Hi, Did you figure out this issue? Hitting the same problem.

sahinkemal commented 6 years ago

Hi, Is there any improvement with this issue? Having same problem here.

DetaiLC commented 6 years ago

Hi, I have exactly the same problem too

sahinkemal commented 6 years ago

Hi DetaiLC, I do not remember exact solution but I believe that it is related to cuda version, you should change it into a newer version not the built one with the older versions of jetpack. Also, there is possibility that tx1 is using the version that you installed, you should link your tx1 to the version you install.

DetaiLC commented 6 years ago

@sahinkemal Thanks for your reply. I will have a try.

shasha1711 commented 6 years ago

@sahinkemal hey man am really sorry but am very new to all this Jetsonboard and Tensorflow so can you please tell me how to do what you said in above comments.

Thanks