summaryrefslogtreecommitdiff
path: root/AGENTS.md
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-12 23:02:59 +0200
committerPaul Buetow <paul@buetow.org>2026-03-12 23:02:59 +0200
commitf28dab3d42c6e4a33642b990f60f69abc2d89f07 (patch)
tree892fc26e7c3733e43f4bf9246d951220faeb31a3 /AGENTS.md
parent13e7970afb3eeac69f82df833f030711e5cf12ec (diff)
chore: pin libbpfgo v0.9.2-libbpf-1.5.1 workflow
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md9
1 files changed, 8 insertions, 1 deletions
diff --git a/AGENTS.md b/AGENTS.md
index 0eabe9f..65c9a2c 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -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