terraform/vendor/github.com/creack/goselect/test_crosscompile.sh

18 lines
1.2 KiB
Bash
Raw Normal View History

2017-01-20 16:59:14 +01:00
export GOOS=linux; export GOARCH=arm; echo $GOOS/$GOARCH; go build
export GOOS=linux; export GOARCH=arm64; echo $GOOS/$GOARCH; go build
export GOOS=linux; export GOARCH=amd64; echo $GOOS/$GOARCH; go build
export GOOS=linux; export GOARCH=386; echo $GOOS/$GOARCH; go build
export GOOS=darwin; export GOARCH=arm; echo $GOOS/$GOARCH; go build
export GOOS=darwin; export GOARCH=arm64; echo $GOOS/$GOARCH; go build
export GOOS=darwin; export GOARCH=amd64; echo $GOOS/$GOARCH; go build
export GOOS=darwin; export GOARCH=386; echo $GOOS/$GOARCH; go build
export GOOS=freebsd; export GOARCH=arm; echo $GOOS/$GOARCH; go build
export GOOS=freebsd; export GOARCH=amd64; echo $GOOS/$GOARCH; go build
export GOOS=freebsd; export GOARCH=386; echo $GOOS/$GOARCH; go build
export GOOS=openbsd; export GOARCH=arm; echo $GOOS/$GOARCH; go build
export GOOS=openbsd; export GOARCH=amd64; echo $GOOS/$GOARCH; go build
export GOOS=openbsd; export GOARCH=386; echo $GOOS/$GOARCH; go build
export GOOS=netbsd; export GOARCH=arm; echo $GOOS/$GOARCH; go build
export GOOS=netbsd; export GOARCH=amd64; echo $GOOS/$GOARCH; go build
export GOOS=netbsd; export GOARCH=386; echo $GOOS/$GOARCH; go build