Skip to content

Commit

Permalink
fix(bpf): fix bpf build for arm64
Browse files Browse the repository at this point in the history
Signed-off-by: xiayu.lyt <xiayu.lyt@alibaba-inc.com>
  • Loading branch information
Lyt99 committed May 18, 2024
1 parent 9bdcaf1 commit 77e556d
Show file tree
Hide file tree
Showing 65 changed files with 74 additions and 120,422 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/...
GOARCH=amd64 go generate ./pkg/exporter/probe/...
GOARCH=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 77e556d

Please sign in to comment.