Skip to content

Commit

Permalink
Merge pull request #280 from Lyt99/fix/bpf
Browse files Browse the repository at this point in the history
fix(bpf): fix bpf build for arm64
  • Loading branch information
BSWANG committed May 18, 2024
2 parents 1b4dae8 + 66a4342 commit 15fa61a
Show file tree
Hide file tree
Showing 62 changed files with 54 additions and 120,402 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,9 @@ build-webconsole:

.PHONY: generate-bpf
generate-bpf:
go generate ./pkg/exporter/probe/...
TARGET=amd64 go generate ./pkg/exporter/probe/...
TARGET=arm64 go generate ./pkg/exporter/probe/...

.PHONY: generate-bpf-in-container
generate-bpf-in-container:
docker run -v $(PWD):/go/src/github.com/alibaba/kubeskoop --workdir /go/src/github.com/alibaba/kubeskoop kubeskoop/bpf-build:go121-clang17 go generate ./pkg/exporter/probe/...
docker run -v $(PWD):/go/src/github.com/alibaba/kubeskoop --workdir /go/src/github.com/alibaba/kubeskoop kubeskoop/bpf-build:go121-clang17 make generate-bpf
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 15fa61a

Please sign in to comment.