diff --git a/packaging/binaryGen.sh b/packaging/binaryGen.sh index 251ee74..d16512f 100755 --- a/packaging/binaryGen.sh +++ b/packaging/binaryGen.sh @@ -1,13 +1,15 @@ #!/bin/sh # This script generates portable libmuttonserver release binaries for the following platforms: -# - Linux (x86_64_v1) -# - Linux (aarch64) -# - Windows (x86_64_v1) -# - Windows (aarch64) +# - Linux (x86_64_v2) +# - Linux (arm64v8.0) +# - Linux (arm64v8.7) +# - Windows (x86_64_v2) +# - Windows (arm64v8.7) mkdir -p ./1output cd .. -GOOS=linux CGO_ENABLED=0 GOAMD64=v1 go build -o ./packaging/1output/libmuttonserver-linux-x86_64_v1 -ldflags="-s -w" -trimpath ./libmuttonserver.go -GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -o ./packaging/1output/libmuttonserver-linux-aarch64 -ldflags="-s -w" -trimpath ./libmuttonserver.go -GOOS=windows CGO_ENABLED=0 GOAMD64=v1 go build -o ./packaging/1output/libmuttonserver-windows-x86_64_v1.exe -ldflags="-s -w" -trimpath ./libmuttonserver.go -GOOS=windows GOARCH=arm64 CGO_ENABLED=0 go build -o ./packaging/1output/libmuttonserver-windows-aarch64.exe -ldflags="-s -w" -trimpath ./libmuttonserver.go +GOOS=linux CGO_ENABLED=0 GOAMD64=v2 go build -o ./packaging/1output/libmuttonserver-linux-x86_64_v2 -ldflags="-s -w" -trimpath ./libmuttonserver.go +GOOS=linux GOARCH=arm64 GOARM64=v8.0 CGO_ENABLED=0 go build -o ./packaging/1output/libmuttonserver-linux-arm64v8.0.exe -ldflags="-s -w" -trimpath ./libmuttonserver.go +GOOS=linux GOARCH=arm64 GOARM64=v8.7 CGO_ENABLED=0 go build -o ./packaging/1output/libmuttonserver-linux-arm64v8.7.exe -ldflags="-s -w" -trimpath ./libmuttonserver.go +GOOS=windows CGO_ENABLED=0 GOAMD64=v2 go build -o ./packaging/1output/libmuttonserver-windows-x86_64_v2.exe -ldflags="-s -w" -trimpath ./libmuttonserver.go +GOOS=windows GOARCH=arm64 GOARM64=v8.7 CGO_ENABLED=0 go build -o ./packaging/1output/libmuttonserver-windows-arm64v8.7.exe -ldflags="-s -w" -trimpath ./libmuttonserver.go