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

Use xgo in build.sh for easier cross compilation #51

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

Conversation

ignassew
Copy link

xgo: https://github.com/techknowlogick/xgo

I tried to write a cross-platform script that uses only the go compiler, but it's very (you have to extract mac-specific SDKs from Xcode, build and compile a toolchain for mac).

xgo seemed to be the easiest way for cross compilation. it uses docker on the backend, It should work on any platform

I tested compilation and example_python on x86_64 linux, can't say for other platforms.

@bogdanfinn
Copy link
Owner

@ignassew thanks for contribution. i will take a look and also make some tests before merging it :-)

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.

2 participants