Skip to content

Commit 34ab15d

Browse files
committed
docs: add build instructions for arm64 arch
1 parent de479a7 commit 34ab15d

File tree

1 file changed

+23
-3
lines changed

1 file changed

+23
-3
lines changed

Readme.md

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,39 @@ You can download the pre-built binaries from the release page [release page](htt
2929

3030
To build `oryx`:
3131

32-
1. Install Rust nightly toolchain
32+
#### 1. Install Rust nightly toolchain
3333

3434
```
3535
rustup toolchain install nightly --component rust-src
3636
```
3737

38-
2. Install [bpf-linker](https://github.com/aya-rs/bpf-linker)
38+
#### 2. Install [bpf-linker](https://github.com/aya-rs/bpf-linker)
39+
40+
##### For `x86_64`
41+
42+
Simply run the following command:
3943

4044
```
4145
cargo install bpf-linker
4246
```
4347

44-
3. Build
48+
##### For `arm64`
49+
50+
For Debian based distributions, make sure you have the following dependencies installed:
51+
52+
- `llvm-19`
53+
- `llvm-19-dev`
54+
- `libpolly-19-dev`
55+
56+
then run the following command:
57+
58+
```
59+
cargo install bpf-linker --no-default-features
60+
```
61+
62+
> Check [bpf-linker Installation section](https://github.com/aya-rs/bpf-linker?tab=readme-ov-file#installation) for more infos.
63+
64+
#### 3. Build
4565

4666
```
4767
cargo xtask build --release

0 commit comments

Comments
 (0)