Skip to content

Commit

Permalink
chore: set CGO_ENABLED=0 (#8941)
Browse files Browse the repository at this point in the history
  • Loading branch information
NicholasBlaskey authored Mar 5, 2024
1 parent 54aa739 commit e108ed7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion agent/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ get-deps:

.PHONY: build
build:
go build \
CGO_ENABLED=0 go build \
-ldflags "-X main.version=$(VERSION)" \
-o build/determined-agent \
./cmd/determined-agent
Expand Down
2 changes: 1 addition & 1 deletion master/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ build/stream-gen: cmd/stream-gen/main.go
build: export DET_SEGMENT_MASTER_KEY ?=
build: export DET_SEGMENT_WEBUI_KEY ?=
build: gen
go build \
CGO_ENABLED=0 go build \
-ldflags "-X github.com/determined-ai/determined/master/version.Version=$(VERSION) \
-X github.com/determined-ai/determined/master/internal/config.DefaultSegmentMasterKey=$(DET_SEGMENT_MASTER_KEY) \
-X github.com/determined-ai/determined/master/internal/config.DefaultSegmentWebUIKey=$(DET_SEGMENT_WEBUI_KEY)" \
Expand Down

0 comments on commit e108ed7

Please sign in to comment.