Files
aya-mirror/ci/bin/make
root 5cfe609872 integration-test: add btf_maps libbpf compatibility tests
Add integration tests to verify that btf_maps generated with the
generalized btf_map_def macro are compatible with libbpf's bpf_map_def.

Also add CI infrastructure for macOS cross-compilation to Linux musl,
including stub headers and autoconf cache variables for libbpf-sys
vendored dependencies.
2026-01-27 14:49:22 +00:00

9 lines
320 B
Bash
Executable File

#!/usr/bin/env sh
set -eux
# Wrapper to override AR/RANLIB for cross-compilation from macOS to Linux musl.
# zlib's configure sets AR=libtool on Darwin (Mach-O format, not ELF).
# See https://github.com/madler/zlib/issues/331
exec /usr/bin/make AR=x86_64-linux-musl-ar ARFLAGS=rcs RANLIB=x86_64-linux-musl-ranlib "$@"