increasing the heap size improves go build speed. (#298)
set GOGC=off to reduce the time it takes to `go build` when starting with no compiled dependencies.
This commit is contained in:
@@ -70,7 +70,7 @@ else#
|
||||
endif
|
||||
|
||||
build: .prefix
|
||||
go build -i -o ${OUTPUT} -ldflags "\
|
||||
GOGC=off go build -i -o ${OUTPUT} -ldflags "\
|
||||
-X github.com/kolide/kolide-ose/server/version.version=${VERSION} \
|
||||
-X github.com/kolide/kolide-ose/server/version.branch=${BRANCH} \
|
||||
-X github.com/kolide/kolide-ose/server/version.revision=${REVISION} \
|
||||
|
||||
Reference in New Issue
Block a user