Skip to content

Commit 5f36904

Browse files
committed
README: clean up post-toolchain extra steps
1 parent 454b642 commit 5f36904

File tree

1 file changed

+18
-5
lines changed

1 file changed

+18
-5
lines changed

README.md

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,28 @@ Run `make toolchain` to install the following dependencies (using the in-progres
3434
- [Go](https://go.dev/)
3535
- [TinyGo](https://tinygo.org/)
3636

37-
For now, you will need to manually copy the newly installed Go into a usual location. (Once the build tool is complete, this step will not be necessary)
37+
#### Additional Steps
38+
39+
For now (until the build tool is complete), you will need to take a couple manual steps.
40+
41+
First, set the PATH to the newly installed Go and TinyGo (replacng x.y.z with the correct version in each):
3842

3943
```
40-
sudo cp -r ./toolchain/go-* /usr/local/go
41-
PATH="/usr/local/go/bin:$PATH"
42-
go version # confirm that go is installed
44+
PATH=/path/to/tempest/toolchain/go-x.y.z/bin:/path/to/tempest/toolchain/tinygo-x.y.z/bin:$PATH
45+
go version # confirm that go is available
46+
tiny version # confirm that tinygo is available
4347
```
4448

45-
(and add the `PATH=` line to `.bashrc` or `.profile` if you want to continue using it in new sessions)
49+
You can add the `PATH=` line to `.bashrc` or `.profile` if you want to continue using it in new sessions.
50+
51+
You will also need to copy this file:
52+
53+
```
54+
cd toolchain/tinygo-0.35.0/
55+
mkdir -p lib/tinygo/targets
56+
cp -i targets/wasm_exec.js lib/tinygo/targets/
57+
cd -
58+
```
4659

4760
### Manual Install
4861

0 commit comments

Comments
 (0)