Skip to content

Cross compile modules when not on x86_64 Linux #2

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

Closed
dschep opened this issue Dec 15, 2016 · 2 comments
Closed

Cross compile modules when not on x86_64 Linux #2

dschep opened this issue Dec 15, 2016 · 2 comments

Comments

@dschep
Copy link
Contributor

dschep commented Dec 15, 2016

Unfortunately not everyone accepts 🐧 power on their desktop, so this should probably cross compile modules with C extensions.

references:

@glb
Copy link

glb commented Dec 15, 2016

There's an Amazon Linux Docker image that may be useful for this purpose ... I've been playing around with the attached but haven't gotten to something that's completely baked yet.

rm -rf output
mkdir output
docker build -t build-native .
docker run -v $PWD/output:/output build-native /build.sh native-module1 ...

build-native.zip

@dschep
Copy link
Contributor Author

dschep commented Dec 15, 2016

Awesome @glb, Docker was one of my first thoughts too 😄

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

No branches or pull requests

2 participants