build: comments

pull/14924/head
Leonard Gram 6 years ago
parent a585a919b3
commit a95fe15437
  1. 4
      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

Loading…
Cancel
Save