From 1b009cd5cc323793c510c8fe0d5f505405646d22 Mon Sep 17 00:00:00 2001 From: Mahendra Paipuri Date: Sat, 28 Sep 2024 23:45:00 +0200 Subject: [PATCH] build: Limit exporter builds to amd, arm and 386 * We are still missing btf info for different archs in vmlinux.h. Until we figure that out, dont build for other "exotic" archs. Signed-off-by: Mahendra Paipuri --- .promu-go.yml | 12 ++++++------ pkg/collector/bpf/Makefile.common | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.promu-go.yml b/.promu-go.yml index dc85ea24..6548f29f 100644 --- a/.promu-go.yml +++ b/.promu-go.yml @@ -27,11 +27,11 @@ crossbuild: - linux/386 - linux/amd64 - linux/arm64 - - linux/mips - - linux/mips64 - - linux/mips64le - - linux/mipsle + # - linux/mips + # - linux/mips64 + # - linux/mips64le + # - linux/mipsle # - linux/ppc64 - - linux/ppc64le - - linux/riscv64 + # - linux/ppc64le + # - linux/riscv64 # - linux/s390x diff --git a/pkg/collector/bpf/Makefile.common b/pkg/collector/bpf/Makefile.common index e70b31f5..e617a882 100644 --- a/pkg/collector/bpf/Makefile.common +++ b/pkg/collector/bpf/Makefile.common @@ -27,7 +27,7 @@ else ifeq ($(GOARCH),amd64) else ifeq ($(GOARCH),arm64) BPF_TARGET_ARCH = arm64 BPF_TARGET_MARCH = bpfel -else ifeq ($(GOARCH),mpis) +else ifeq ($(GOARCH),mips) BPF_TARGET_ARCH = mips BPF_TARGET_MARCH = bpfeb else ifeq ($(GOARCH),ppc64)