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:
Victor Vrantchan 2016-10-12 08:36:31 -04:00 committed by GitHub
parent 337822fde3
commit ae1e4d9bf0

View File

@ -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} \