diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-12 23:02:59 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-12 23:02:59 +0200 |
| commit | f28dab3d42c6e4a33642b990f60f69abc2d89f07 (patch) | |
| tree | 892fc26e7c3733e43f4bf9246d951220faeb31a3 /AGENTS.md | |
| parent | 13e7970afb3eeac69f82df833f030711e5cf12ec (diff) | |
chore: pin libbpfgo v0.9.2-libbpf-1.5.1 workflow
Diffstat (limited to 'AGENTS.md')
| -rw-r--r-- | AGENTS.md | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -4,7 +4,14 @@ This file provides guidance to AI coding assistants working with the I/O Riot NG ## Build/Test Commands -**Prerequisites**: Ensure libbpfgo is cloned at `../libbpfgo` relative to this repository. +**Prerequisites**: Ensure `libbpfgo` is cloned at `../libbpfgo` relative to this repository (or set `LIBBPFGO`), pinned to `v0.9.2-libbpf-1.5.1`, and rebuilt with: + +```bash +git -C ../libbpfgo checkout v0.9.2-libbpf-1.5.1 +git -C ../libbpfgo submodule update --init --recursive +make -C ../libbpfgo libbpfgo-static +``` + If builds/tests fail with missing libbpf headers (for example `bpf/bpf.h` not found), run `mage world` first. It bootstraps generation/dependencies and is the preferred first troubleshooting step before retrying `mage test` or `go test`. ```bash |
