Skip to content

Commit 8f5999b

Browse files
committed
README update to include yukon compilation
1 parent 3dd3d19 commit 8f5999b

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

+14
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,17 @@ local/bin/alaska -O3 test/sanity.c -o build/sanity && build/sanity
6969
You can also run `make sanity`, which will do it for you.
7070

7171
## Developing
72+
73+
74+
# Compilation for RISCV under a yukon-capable core
75+
76+
The runtime can be compiled for our yukon core easily.
77+
First, you must compile the [riscv-gnu-toolchain](https://github.com/riscv-collab/riscv-gnu-toolchain) with `make linux` and install it somewhere (`/opt/riscv` is prefered).
78+
Then, compilation for yukon can be done using a provided script:
79+
```bash
80+
$ mkdir -p build-yukon
81+
$ cd build-yukon
82+
$ RISCV=/opt/riscv ../tools/build_yukon.sh
83+
```
84+
85+
This produces `runtime/libyukon.so.2`, which can be used as a `LD_PRELOAD` library.

0 commit comments

Comments
 (0)