hughperkins / tf-coriander

OpenCL 1.2 implementation for Tensorflow
Apache License 2.0
791 stars 90 forks source link

Bazel version build bugs Mac OS High Sierra 10.13.6 #92

Open russell0 opened 5 years ago

russell0 commented 5 years ago

Hi,

Following the instructions at https://github.com/hughperkins/tf-coriander/blob/master/doc/build-from-source.md The main and significant error I get is: Starting local Bazel server and connecting to it... INFO: Invocation ID: 80850dc2-685b-4626-8248-f2646fc32c0a INFO: Starting clean. WARNING: The following rc files are no longer being read, please transfer their contents or import their path into one of the standard rc files: /Users/russellhanson/Endjinn/tf-coriander/tools/bazel.rc Starting local Bazel server and connecting to it... INFO: Invocation ID: 455b8f4a-2723-4063-ad60-dbc4d194015e ERROR: /Users/russellhanson/Endjinn/tf-coriander/tensorflow/tensorflow.bzl:581:21: name 'set' is not defined ERROR: error loading package '': Extension 'tensorflow/tensorflow.bzl' has errors WARNING: The following rc files are no longer being read, please transfer their contents or import their path into one of the standard rc files: /Users/russellhanson/Endjinn/tf-coriander/tools/bazel.rc INFO: Invocation ID: 8f95f42c-db0b-47d6-8fd7-12421c54adf7 ERROR: missing fetch expression. Type 'bazel help fetch' for syntax and help Russells-MacBook-Pro-2:tf-coriander russellhanson$

@hughperkins has said that maybe baking out the bazel version is a workable approach here, so I've gone back to bazel 0.11 and bazel 0.19 no luck. The current bazel on Homebrew is 0.20.0. bazel-0.11.0-installer-darwin-x86_64.sh

Russells-MacBook-Pro-2:tf-coriander russellhanson$ bazel version WARNING: The following rc files are no longer being read, please transfer their contents or import their path into one of the standard rc files: /Users/russellhanson/Endjinn/tf-coriander/tools/bazel.rc INFO: Invocation ID: 0d075653-f0da-4cc8-9677-b6caaee42c4c Build label: 0.20.0 Build target: bazel-out/darwin-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar Build time: Fri Nov 30 14:38:25 2018 (1543588705) Build timestamp: 1543588705 Build timestamp as int: 1543588705

Any ideas for building OpenCL tensorflow, guys? :) .

hughperkins commented 5 years ago

Did you try wiping the bazel cache, when you switched bazel versions? Im not saying that will work, but worth trying if you didnt.

On Tue, Dec 4, 2018, 17:14 russell0 notifications@github.com wrote:

Hi,

Following the instructions at

https://github.com/hughperkins/tf-coriander/blob/master/doc/build-from-source.md The main and significant error I get is: Starting local Bazel server and connecting to it... INFO: Invocation ID: 80850dc2-685b-4626-8248-f2646fc32c0a INFO: Starting clean. WARNING: The following rc files are no longer being read, please transfer their contents or import their path into one of the standard rc files: /Users/russellhanson/Endjinn/tf-coriander/tools/bazel.rc Starting local Bazel server and connecting to it... INFO: Invocation ID: 455b8f4a-2723-4063-ad60-dbc4d194015e ERROR: /Users/russellhanson/Endjinn/tf-coriander/tensorflow/tensorflow.bzl:581:21: name 'set' is not defined ERROR: error loading package '': Extension 'tensorflow/tensorflow.bzl' has errors WARNING: The following rc files are no longer being read, please transfer their contents or import their path into one of the standard rc files: /Users/russellhanson/Endjinn/tf-coriander/tools/bazel.rc INFO: Invocation ID: 8f95f42c-db0b-47d6-8fd7-12421c54adf7 ERROR: missing fetch expression. Type 'bazel help fetch' for syntax and help Russells-MacBook-Pro-2:tf-coriander russellhanson$

@hughperkins https://github.com/hughperkins has said that maybe baking out the bazel version is a workable approach here, so I've gone back to bazel 0.11 and bazel 0.19 no luck. The current bazel on Homebrew is 0.20.0. bazel-0.11.0-installer-darwin-x86_64.sh

Russells-MacBook-Pro-2:tf-coriander russellhanson$ bazel version WARNING: The following rc files are no longer being read, please transfer their contents or import their path into one of the standard rc files: /Users/russellhanson/Endjinn/tf-coriander/tools/bazel.rc INFO: Invocation ID: 0d075653-f0da-4cc8-9677-b6caaee42c4c Build label: 0.20.0 Build target: bazel-out/darwin-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar Build time: Fri Nov 30 14:38:25 2018 (1543588705) Build timestamp: 1543588705 Build timestamp as int: 1543588705

Any ideas for building OpenCL tensorflow, guys? :) .

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/hughperkins/tf-coriander/issues/92, or mute the thread https://github.com/notifications/unsubscribe-auth/AAHiqFuIJlG_PxBmO6duTYh1a3dOj2C5ks5u1vOngaJpZM4ZBm9u .