Comments (3)
Sorry for that, @kellycampbell! I'll see that we fix this quickly.
Can you describe your setup in more detail, so that I can reproduce this on my machine?
- What is //tools/bazel exactly - a shell script that somehow executes Bazelisk (if yes, how) or Bazelisk itself?
- Are you using the Python version of Bazelisk or the Go version?
from bazelisk.
I believe we're using the Go version.
Here's our //tools/bazel:
#!/bin/bash
set -eu
BAZELISK_VERSION=0.0.4
BAZELISK_DIR="$(dirname "${BASH_SOURCE[0]}")/bazelisk"
if [ "$(uname -s)" == "Darwin" ]; then
BAZELISK="${BAZELISK_DIR}/bazelisk-${BAZELISK_VERSION}-darwin-amd64"
elif [ "$(uname -s)" == "Linux" ]; then
BAZELISK="${BAZELISK_DIR}/bazelisk-${BAZELISK_VERSION}-linux-x86_64"
fi
exec -a "$0" "${BAZELISK}" "$@"
This makes it so our devs only need to install a bazel script or recent version of bazel that executes tools/bazel
if it exists. Then the bazelisk binary is run and the real version of bazel we want is downloaded and run via the .bazelversion
file.
from bazelisk.
Thanks! I'll look into this and will get back to you tomorrow :)
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
- 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.