File tree 2 files changed +7
-3
lines changed
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ builds:
16
16
goarch :
17
17
- amd64
18
18
- arm64
19
+ goamd64 :
20
+ - v2
19
21
main : ./cmd/pyroscope
20
22
mod_timestamp : " {{ .CommitTimestamp }}"
21
23
flags :
@@ -49,6 +51,8 @@ builds:
49
51
goarch :
50
52
- amd64
51
53
- arm64
54
+ goamd64 :
55
+ - v2
52
56
ignore :
53
57
- goos : windows
54
58
goarch : arm
Original file line number Diff line number Diff line change @@ -132,11 +132,11 @@ go/deps:
132
132
$(GO ) mod tidy
133
133
134
134
define go_build_pyroscope
135
- GOOS=$(GOOS ) GOARCH=$(GOARCH ) CGO_ENABLED=0 $(GO ) build -tags "netgo $(EMBEDASSETS ) " -ldflags "-extldflags \"-static\" $(1 ) " -gcflags=$(2 ) ./cmd/pyroscope
135
+ GOOS=$(GOOS ) GOARCH=$(GOARCH ) GOAMD64=v2 CGO_ENABLED=0 $(GO ) build -tags "netgo $(EMBEDASSETS ) " -ldflags "-extldflags \"-static\" $(1 ) " -gcflags=$(2 ) ./cmd/pyroscope
136
136
endef
137
137
138
138
define go_build_profilecli
139
- GOOS=$(GOOS ) GOARCH=$(GOARCH ) CGO_ENABLED=0 $(GO ) build -ldflags "-extldflags \"-static\" $(1 ) " -gcflags=$(2 ) ./cmd/profilecli
139
+ GOOS=$(GOOS ) GOARCH=$(GOARCH ) GOAMD64=v2 CGO_ENABLED=0 $(GO ) build -ldflags "-extldflags \"-static\" $(1 ) " -gcflags=$(2 ) ./cmd/profilecli
140
140
endef
141
141
142
142
.PHONY : go/bin-debug
@@ -275,7 +275,7 @@ docker-image/pyroscope/dlv:
275
275
# dlv is not intended for local use and is to be installed in the
276
276
# platform-specific docker image together with the main Pyroscope binary.
277
277
@mkdir -p $(@D )
278
- GOPATH=$(CURDIR ) /.tmp CGO_ENABLED=0 $(GO ) install -ldflags " -s -w -extldflags '-static'" github.com/go-delve/delve/cmd/dlv@v1.23.0
278
+ GOPATH=$(CURDIR ) /.tmp GOAMD64=v2 CGO_ENABLED=0 $(GO ) install -ldflags " -s -w -extldflags '-static'" github.com/go-delve/delve/cmd/dlv@v1.23.0
279
279
mv $(CURDIR ) /.tmp/bin/$(GOOS ) _$(GOARCH ) /dlv $(CURDIR ) /.tmp/bin/dlv
280
280
281
281
define UPDATER_CONFIG_JSON
You can’t perform that action at this time.
0 commit comments