Skip to content

Bazel version build bugs Mac OS High Sierra 10.13.6  #92

@russell0

Description

@russell0

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? :) .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions