Update build environment

* Add mercurial/hg to bindep
* Use latest golang (1.8.x)
* Print additional go related environment information

Change-Id: I053873945a24ab0f592051423d2e307b3bdf299e
This commit is contained in:
Davanum Srinivas 2017-03-29 12:50:41 -04:00
parent eba7d9f54a
commit 3e8cd7b94e
3 changed files with 6 additions and 2 deletions

View File

@ -65,6 +65,8 @@ env:
@echo "GOROOT: $(GOROOT)" @echo "GOROOT: $(GOROOT)"
@echo "DEST: $(DEST)" @echo "DEST: $(DEST)"
@echo "PKG: $(PKG)" @echo "PKG: $(PKG)"
go version
go env
# Get our dev/test dependencies in place # Get our dev/test dependencies in place
bootstrap: bootstrap:

View File

@ -1,5 +1,6 @@
pkg-config pkg-config
build-essential build-essential
mercurial
golang-go golang-go
golint golint
make make

View File

@ -48,7 +48,8 @@ case $OS in
if ! which add-apt-repository 1>/dev/null; then if ! which add-apt-repository 1>/dev/null; then
sudo $APT_GET install software-properties-common sudo $APT_GET install software-properties-common
fi fi
sudo add-apt-repository --yes ppa:masterminds/glide && sudo apt-get update sudo add-apt-repository --yes ppa:longsleep/golang-backports
sudo $APT_GET install glide sudo add-apt-repository --yes ppa:masterminds/glide
sudo apt-get update && sudo $APT_GET install golang-go glide
;; ;;
esac esac