Git Product home page Git Product logo

Comments (6)

philwo avatar philwo commented on June 11, 2024 2

@borkaehw Just to follow up here: The function os.UserCacheDir was added in Go 1.11, so the version that Ubuntu 18.04 ships is too old.

I'll add it to the README.

from bazelisk.

philwo avatar philwo commented on June 11, 2024 1

there are no Bazelisk binaries for Ubuntu on Power8 or ARM

@stweil Bazelisk's purpose is to automatically download the correct official Bazel release binary for your platform and project.

Bazel is not officially supported on Power8 or ARM. You might find community-provided binaries out there or be able to build Bazel on these platforms yourself, but the Bazel project itself neither tests on these platforms, nor provides official release binaries. This might change in the future (I'm personally working on it as time permits), but that's the current situation. Thus, even if Bazelisk ran on these platforms - what would it do? There are no Bazel binaries it could download.

Because of that, I didn't provide Bazelisk binaries for these platforms yet. It would technically be no problem - it's a two line change to the build.sh file, but I didn't see the point. Users would just be frustrated when they download the binary and find out that it can't do anything for them. :(

I will take a note that Power8 and ARM binaries would be useful for you. I hope I can provide these for Bazel and Bazelisk in the near future.

from bazelisk.

borkaehw avatar borkaehw commented on June 11, 2024

It seems like this version works for me

go version go1.12.6 linux/amd64

from bazelisk.

stweil avatar stweil commented on June 11, 2024

The README starts with A user-friendly launcher for Bazel.

I read it because I need Bazel for building TensorFlow. And of course I did not notice the remark about Go 1.11, but got the error. Only after searching for the error message, I found the information given here.

A user friendly launcher would catch the wrong version of go and directly report the requirement. Even better, it would implement a different solution for Go 1.10 (still standard in LTS version of Ubuntu). I don't mind which cache directory is used.

Please don't get me wrong. I estimate your work, but think it might be useful for you to get feedback from users like me.

from bazelisk.

philwo avatar philwo commented on June 11, 2024

@stweil Thank you for your feedback! I'm curious why you tried to build Bazelisk from source instead of using one of the pre-built binaries that I provide for each release. I mean, building from source is always nice, but I was wondering if there's a particular other reason, e.g. I'm not providing binaries for your platform, or the release binaries are not easy to find on GitHub and should be pointed out in the README much more visibly or some other reason. :)

I'll also try to make the build from source process easier.

from bazelisk.

stweil avatar stweil commented on June 11, 2024

As far as I know there are no Bazelisk binaries for Ubuntu on Power8 or ARM, the hosts for which I need TensorFlow which requires Bazel.

from bazelisk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.