Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uplink-sys(build): Fix cross-compilation #89

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

GodTamIt
Copy link
Contributor

@GodTamIt GodTamIt commented Dec 31, 2024

This fixes cross-compilation by setting the Go GOOS and GOARCH flags for uplink-c.

This change, combined with storj/uplink-c#30, will allow Rust targets to cross-compile successfully.

Additionally, this change includes a new CI workflow to ensure some form of cross-compilation works.

Fixes #87

@GodTamIt GodTamIt force-pushed the fix-cross-compile branch 7 times, most recently from fa8dcbf to 59d5a08 Compare December 31, 2024 23:37
@GodTamIt
Copy link
Contributor Author

This can't be landed yet because I'm not using the correct release/upgrade process for uplink-c.

However, we can see our new cross-compile CI check works wonderfully.

This fixes cross-compilation by setting the Go `GOOS` and `GOARCH` flags
for `uplink-c`.
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.

Broken cross-compilation
1 participant