File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 11[build ]
22xargo = false
33default-target = " x86_64-unknown-linux-gnu"
4- pre-build = [" apt-get update && apt-get install -y zlib1g-dev libelf-dev" ]
4+ pre-build = [" apt-get update && apt-get install -y zlib1g-dev libelf-dev" ]
5+
6+ [target .aarch64-unknown-linux-gnu ]
7+ pre-build = [
8+ " dpkg --add-architecture $CROSS_DEB_ARCH" ,
9+ " apt-get update && apt-get --assume-yes install zlib1g-dev:$CROSS_DEB_ARCH libelf-dev:$CROSS_DEB_ARCH"
10+ ]
Original file line number Diff line number Diff line change @@ -54,4 +54,5 @@ sudo ./bpftop
5454## Building from source
5555
56561 . Install and setup [ cross] ( https://github.com/cross-rs/cross )
57- 2 . Run ` cross build --release `
57+ 2 . Run ` cross build --release ` for x86_64
58+ 3 . Run ` cross build --target=aarch64-unknown-linux-gnu --release ` for Arm64
You can’t perform that action at this time.
0 commit comments