From a95fe15437fcfe595f854c2e254143eeb47459a6 Mon Sep 17 00:00:00 2001 From: Leonard Gram Date: Thu, 17 Jan 2019 16:42:27 +0100 Subject: [PATCH] build: comments --- scripts/build/build-all.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build/build-all.sh b/scripts/build/build-all.sh index 654abaf1174..dd69f8139c8 100755 --- a/scripts/build/build-all.sh +++ b/scripts/build/build-all.sh @@ -30,8 +30,7 @@ fi echo "Build arguments: $OPT" -# might want to check for enterprise here and only build what we need - +# build only amd64 for enterprise if echo "$EXTRA_OPTS" | grep -vq enterprise ; then go run build.go -goarch armv7 -cc ${CCARMV7} ${OPT} build go run build.go -goarch arm64 -cc ${CCARM64} ${OPT} build @@ -66,6 +65,7 @@ go run build.go -goos linux -pkg-arch amd64 ${OPT} package-only #removing amd64 phantomjs bin for armv7/arm64 packages rm tools/phantomjs/phantomjs +# build only amd64 for enterprise if echo "$EXTRA_OPTS" | grep -vq enterprise ; then go run build.go -goos linux -pkg-arch armv7 ${OPT} package-only go run build.go -goos linux -pkg-arch arm64 ${OPT} package-only