Skip to content

Commit

Permalink
*: set TIDB_EDITION when build enterprise tidb (#43681)
Browse files Browse the repository at this point in the history
ref #42188, close #43683
  • Loading branch information
lcwangchao authored May 12, 2023
1 parent 72cf5df commit a4926f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ enterprise-clear:
enterprise-docker: init-submodule enterprise-prepare
docker build -t "$(DOCKERPREFIX)tidb:latest" --build-arg 'GOPROXY=$(shell go env GOPROXY),' -f Dockerfile.enterprise .

enterprise-server-build: TIDB_EDITION=Enterprise
enterprise-server-build:
ifeq ($(TARGET), "")
CGO_ENABLED=1 $(GOBUILD) -tags enterprise $(RACE_FLAG) -ldflags '$(LDFLAGS) $(CHECK_FLAG) $(EXTENSION_FLAG)' -o bin/tidb-server tidb-server/main.go
Expand Down
2 changes: 1 addition & 1 deletion extension/enterprise

0 comments on commit a4926f8

Please sign in to comment.