mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 13:50:10 +01:00
Add a run_bazelisk wrapper script for linux. (#4129)
I was considering making a "/bazel" alias for this, but I'm really on the fence about whether that's a good choice. However, I do think this is good to have to simplify installs. Fixes #3071 and #3896
This commit is contained in:
@@ -288,7 +288,6 @@ sudo apt update
|
||||
|
||||
# Install tools.
|
||||
sudo apt install \
|
||||
bazel \
|
||||
clang \
|
||||
libc++-dev \
|
||||
libc++abi-dev \
|
||||
@@ -303,7 +302,7 @@ Then you can build and run the explorer:
|
||||
|
||||
```shell
|
||||
# Build and run the explorer.
|
||||
$ bazel run //explorer -- ./explorer/testdata/print/format_only.carbon
|
||||
$ ./scripts/run_bazelisk.py run //explorer -- ./explorer/testdata/print/format_only.carbon
|
||||
```
|
||||
|
||||
And you can try out our toolchain which has a very early-stage compiler for
|
||||
@@ -311,7 +310,7 @@ Carbon:
|
||||
|
||||
```shell
|
||||
# Build and run the toolchain's help to get documentation on the command line.
|
||||
$ bazel run //toolchain -- help
|
||||
$ ./scripts/run_bazelisk.py run //toolchain -- help
|
||||
```
|
||||
|
||||
For complete instructions, including installing dependencies on various
|
||||
|
||||
Reference in New Issue
Block a user