-
Notifications
You must be signed in to change notification settings - Fork 410
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
Cross Compilation #355
Cross Compilation #355
Conversation
Rather than doing hosts and targets in a particualr order, rely on a memoized creation of the host super context.
Rather than relying on String.drop_prefix
Which is just the host if it's present and the super context itself otherwise
match the build/host/target terminology
Using a little trick using laziness
Make sure that Action.exec never runs a binary from the target context.
Fix install_prefix bootstrap.
I've resolved the conflicts with master. @diml I guess there's no immediate to clean up the git history now, since we still need to implement your proposal. We can do that cleanup at the end. |
@rgrinberg has the command-line syntax changed besides removing
|
Ah, my mistake, I pushed a fix |
Thanks! Got a new problem now..
Not sure what this is about. Let me know if you need steps to reproduce. |
I haven't managed to install mingw-w64 on my box, so it's hard to try. I need to add some fake cross-compilation test |
@diml We have a docker-based test suite that you should be able to tap in for quick testing. I've pushed the branch with the changes here: ocaml-cross/opam-cross-windows#56 |
Ah! Thanks, but I don't have docker either at work :( I'll try with tests, it's good to have tests anyway |
Ok, I added a test and fixed some problems. The PR should be in a better state now. |
Yeah it's looking good from here as well. Thanks! |
Actually, I've got another issue now here when compiling
|
Superseeded by #380 |
cc @diml @toots @whitequark