Skip to content

Conversation

xrz-cloud
Copy link
Contributor

@xrz-cloud xrz-cloud commented Jun 10, 2024

Add GOMIPS support when building for mips devices(like some openwrt routers).
GOMIPS can be set to hardfloat(default) or softfloat.

@wangyoucao577 wangyoucao577 merged commit d5316f1 into wangyoucao577:master Jun 15, 2024
@wangyoucao577
Copy link
Owner

Thanks very much! wangyoucao577/go-release-action@v1.51 now ready for you.

@lslqtz
Copy link
Contributor

lslqtz commented Jun 20, 2024

Nice work, but I want to point out that GOMIPS may not work with mips64 and mips64le.

Ref: https://pkg.go.dev/cmd/go@go1.20.13

For GOARCH=mips or mipsle, GOMIPS=hardfloat and softfloat correspond to the mips.hardfloat and mips.softfloat (or mipsle.hardfloat and mipsle.softfloat) feature build tags.
For GOARCH=mips64 or mips64le, GOMIPS64=hardfloat and softfloat correspond to the mips64.hardfloat and mips64.softfloat (or mips64le.hardfloat and mips64le.softfloat) feature build tags.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants