-
Notifications
You must be signed in to change notification settings - Fork 5
Toolchain
Bazelisk is a bazel wrapper, which provides an easy way to switch between different bazel versions, without uninstalling you local bazel installation. For more information take a look at the Github repository
The following manual explains how to install bazelisk on a ubuntu host. This should be the same on any other Debian based systems. Some things may differ if you're using a different Linux distribution. In that case please look up your errors and add them to the troubleshooting section.
The installation slightly differs between Ubuntu versions. Please take a look here. The first paragraph on Ubuntu 19.04(LTS) should be fine.
- run
go get github.com/bazelbuild/bazelisk
- add the following to your path variable:
export PATH=$PATH:$(go env GOPATH)/bin
- This changes depending on wheter you want to use bazelisk only for your user, or systemwide.
- you may also want to symlink bazelisk to bazel, but that's not really neccessary and for advanced usage
-
Install the homebrew package manager
-
run
brew install bazelisk
apt update
apt install gcc-arm-none-eabi
apt install libnewlib-arm-none-eabi
- create Toolchain and Platform definitions for your project (pending feature request)
src/main/tools/process-wrapper-legacy.cc:58: "execvp(None, ...)": No such file or directory
do bazelisk clean --expunge
and try to build again