diff options
author | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2018-07-10 15:45:12 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@automotivelinux.org> | 2018-07-10 15:45:12 +0000 |
commit | 3f1c235b6f3865001d0b24edef7aaf9e55b2b625 (patch) | |
tree | ac2a007239068c2129a690689bc9fbf57a7e8202 /packer/provision | |
parent | 75899f9453f99e96f69789337aa7cc02452812e2 (diff) | |
parent | 27db8f808860f7cfdec35a37bc17ae795ef59f69 (diff) |
Merge "Crossbuild std go libraries for MacOS and Windows"
Diffstat (limited to 'packer/provision')
-rw-r--r-- | packer/provision/agl_dependencies.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packer/provision/agl_dependencies.sh b/packer/provision/agl_dependencies.sh index d26985c6..f36f152c 100644 --- a/packer/provision/agl_dependencies.sh +++ b/packer/provision/agl_dependencies.sh @@ -6,7 +6,7 @@ set -x sudo su -c "echo 'deb http://ftp.debian.org/debian jessie-backports main' >> /etc/apt/sources.list" sudo apt-key adv --recv-key --keyserver keyserver.ubuntu.com 8B48AD6246925553 -# go +# go sudo apt-key adv --recv-key --keyserver keyserver.ubuntu.com F6BC817356A3D45E cat /etc/apt/sources.list @@ -118,4 +118,8 @@ EOF" sudo apt-get update sudo apt-get install golang-go +# Crossbuild standard go libraries for MacOS and Windows +sudo GOOS=darwin GOARCH=amd64 go install -v -a std +sudo GOOS=windows GOARCH=amd64 go install -v -a std + exit 0 |