librespeed/speedtest-go

Mips build

Opened this issue · 3 comments

I have router, keenetic with MT7621AT, and trying to use mipsle_softfloat build. It doestnot work - just hang the terminal and not output

12345

Not sure about your environment so I can't say what the problem is. Sorry that I couldn't be more helpful.

mips too

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