Skip to content

Commit 348f22b

Browse files
committed
ci: install linux-libc-dev:arm64 in the cross container
The previous Cross.toml fix got past pkg-config / libelf but libbpf.c still failed to find <linux/bpf_perf_event.h>. That header ships in linux-libc-dev, which the cross image only carries for the host arch. Add the multiarch :arm64 build of the package to the pre-build step.
1 parent fa6c469 commit 348f22b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Cross.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
pre-build = [
1010
"dpkg --add-architecture $CROSS_DEB_ARCH",
1111
"apt-get update",
12-
"apt-get install --assume-yes libelf-dev:$CROSS_DEB_ARCH zlib1g-dev:$CROSS_DEB_ARCH pkg-config",
12+
"apt-get install --assume-yes pkg-config libelf-dev:$CROSS_DEB_ARCH zlib1g-dev:$CROSS_DEB_ARCH linux-libc-dev:$CROSS_DEB_ARCH",
1313
]
1414

1515
[target.aarch64-unknown-linux-gnu.env]

0 commit comments

Comments
 (0)