Created
January 26, 2015 03:17
-
-
Save kofj/014b34aedb935f8432ab to your computer and use it in GitHub Desktop.
# This script will build cross lib of go On you Mac.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script will build cross lib of go On you Mac. | |
cd /usr/local/go/src | |
sudo CGO_ENABLED=0 GOOS=linux GOARCH=amd64 ./make.bash | |
sudo CGO_ENABLED=0 GOOS=linux GOARCH=386 ./make.bash | |
sudo CGO_ENABLED=0 GOOS=windows GOARCH=amd64 ./make.bash | |
sudo CGO_ENABLED=0 GOOS=windows GOARCH=386 ./make.bash | |
sudo CGO_ENABLED=0 GOOS=freebsd GOARCH=amd64 ./make.bash | |
sudo CGO_ENABLED=0 GOOS=freebsd GOARCH=386 ./make.bash | |
sudo CGO_ENABLED=0 GOOS=linux GOARCH=arm GOARM=5 ./make.bash | |
sudo CGO_ENABLED=0 GOOS=linux GOARCH=arm GOARM=6 ./make.bash | |
sudo CGO_ENABLED=0 GOOS=darwin GOARCH=386 ./make.bash | |
sudo CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 ./make.bash | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment