You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ci(edriver): static musl build for x86_64 and aarch64
Both platforms use ubuntu:24.04 container with musl-gcc cross-compilation.
vendored-libelf compiles elfutils --without-zstd on the glibc host, so
obstack/fts/argp are all satisfied by glibc with zero extra packages.
Approach validated against libbpf-sys own CI: their static+vendored builds
all run on Ubuntu glibc hosts; Alpine is only used for dynamic-link tests.
x86_64: ubuntu-latest runner / ubuntu:24.04 container / musl-gcc
extra_cflags: -I/usr/include -I/usr/include/x86_64-linux-gnu
aarch64: ubuntu-24.04-arm runner / ubuntu:24.04 container / musl-gcc
extra_cflags: -I/usr/include -I/usr/include/aarch64-linux-gnu
Both: RUSTFLAGS=-C target-feature=+crt-static, cargo feature vendored-libelf
Other changes included:
- edriver Cargo.toml: vendored-libelf as optional feature
- edriver Makefile: CARGO_EXTRA_FEATURES variable
- edriver .cargo/config.toml: musl targets, crt-static
- remove co-re.yaml (superseded by this workflow)
0 commit comments