Mips build
user9931 opened this issue · 3 comments
user9931 commented
maddie commented
Not sure about your environment so I can't say what the problem is. Sorry that I couldn't be more helpful.
paldier commented
mips too
paldier commented
I built it, it works well, i guess it is a bug in upx.
buildGo() {
GOOS=$1
GOARCH=$2
echo "Building($GOOS/$GOARCH)..."
TargetDir=bin/$GOARCH
env GOPROXY=https://goproxy.io GOOS=$GOOS GOARCH=$GOARCH CGO_ENABLED=0 go build -ldflags "-w -s" -trimpath -o $TargetDir/speedtest main.go
}
cp -rf web/assets/example-singleServer-full.html web/assets/index.html
buildGo linux mips
buildGo linux mipsle
buildGo linux arm
buildGo linux arm64