Skip to content

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

Open
ignassew wants to merge 1 commit into
bogdanfinn:masterfrom
ignassew:master
Open

Use xgo in build.sh for easier cross compilation#51
ignassew wants to merge 1 commit into
bogdanfinn:masterfrom
ignassew:master

Conversation

@ignassew
Copy link
Copy Markdown

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
Copy Markdown
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