File tree 2 files changed +2
-3
lines changed 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 1
1
# Package configuration
2
2
PROJECT = gitbase
3
3
COMMANDS = cmd/gitbase
4
+ GO_BUILD_ARGS += -tags mysql_go_regex
4
5
5
6
# Including ci Makefile
6
7
CI_REPOSITORY ?= https://github.com/src-d/ci.git
@@ -32,7 +33,7 @@ static-package:
32
33
# target used in the Dockerfile to build the static binary
33
34
static-build : VERSION ?= $(shell git describe --exact-match --tags 2>/dev/null || "dev-$(git rev-parse --short HEAD )$(test -n "`git status --porcelain`" && echo "-dirty" || true ) ")
34
35
static-build : LD_FLAGS += -linkmode external -extldflags '-static -lz' -s -w
35
- static-build : GO_BUILD_ARGS += -tags oniguruma
36
+ static-build : GO_BUILD_ARGS += -tags mysql_go_regex
36
37
static-build : GO_BUILD_PATH ?= github.com/src-d/gitbase/...
37
38
static-build :
38
39
go build -ldflags=" $( LD_FLAGS) " -v $(GO_BUILD_ARGS ) $(GO_BUILD_PATH )
Original file line number Diff line number Diff line change @@ -49,8 +49,6 @@ go get -u github.com/src-d/gitbase/...
49
49
50
50
#### Oniguruma support
51
51
52
- ** Note:** Oniguruma is enabled in the docker container and "static" linux binary.
53
-
54
52
On linux and macOS you can choose to build gitbase with oniguruma support, resulting in faster results for queries using the ` language ` UDF.
55
53
56
54
macOS:
You can’t perform that action at this time.
0 commit comments