-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
[vcpkg] Support cross compile arm64-linux, arm-linux triplets on a linux x86_64 host. #13374
[vcpkg] Support cross compile arm64-linux, arm-linux triplets on a linux x86_64 host. #13374
Conversation
Personal opinion: All those crosscompiling toolchains should have seperate toolchains and not be cramped into a single universal linux one. |
I did something related to this in #11535 but only for an |
Where should we put the cross-compiler toolchain file? If we ask user to supply it, user might not know how to generate it. Ideally, in most of cases, user only need few additional efforts to make cross compiling work. |
I'm referring to |
But how does it work with |
You add it into the triplet. |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
I think this is the right incremental improvement. Once complexity increases enough, it may make sense to have separate files for each of the different X-to-Y cross targets; however right now we support all Linux targets out of a single file ( For all these reasons, this looks like a good improvement for our current state and will help inform more improvements into the future. |
f417e1b
to
2545d72
Compare
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Thanks for your contribution! |
Describe the pull request
What does your PR fix?
Support cross compile arm64-linux, arm-linux triplets on a linux x86_64 host.
Which triplets are supported/not supported? Have you updated the CI baseline?
Support arm64-linux and arm-linux triplets.
Does your PR follow the maintainer guide?
Yes