Comments (6)
@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.
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.
It seems like this version works for me
go version go1.12.6 linux/amd64
from bazelisk.
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.
@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.
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)
- Bazelisk run doesn't propagate signals to the child process
- Bazelisk 1.18 doesn't handle WORKSPACE-less repositories HOT 3
- Bazelisk does not print its version anymore in `1.18.0` when calling `bazelisk version` HOT 2
- py_bazelisk_test & py3_bazelisk_test is failing with Bazel@HEAD HOT 2
- Support BAZELISK_VERIFY_SHA256 for multiplatform projects HOT 1
- .bazelversion not being read in parent directory outside of WORKSPACE HOT 2
- Bazelisk is failing with "httputil:go_default_test" at Bazel@HEAD HOT 2
- `latest-1` is resolved as 7.0.0 instead of 6.4.0 HOT 1
- could not download Bazel when I want to execute the command:bazel build onos HOT 9
- bazelisk run/test hide segmentation violations
- Error loading package under directory error with Bazel@HEAD in CI HOT 6
- How to avoid bazel installation? HOT 6
- Could not download Bazel - bad file descriptor HOT 1
- caoky HOT 1
- Use cached executable if no network available
- Steps for installing Bazelisk are not new-developer friendly HOT 2
- Bazelisk pulls incorrect Bazel on Windows ARM64 HOT 2
- bazel version 6.5.0 install issue HOT 3
- Add an automatic workflow to update winget pkgs HOT 1
- Support `Tools/` in case-sensitive file systems HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bazelisk.