-
Notifications
You must be signed in to change notification settings - Fork 968
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
[question] Force cross compilation #9808
Comments
isn't this covered by the |
I think it doesn't scale on recipe basis. perhaps, global override via conf or env var is required? |
I'm moving this issue to Conan client repository. Right now cross-compilation is detected, but it might be worth being able to force it with some input. |
Hi, I'm facing an issue "cross-building" from x86_64 Debian10 (build server,
ERROR:
Full log
My current workaround is to remove the |
Hello everyone,
I have a question regarding the cross compilation detection in conan. Reading the code I saw we assume cross compilation is enabled if
os
and / orarch
is different between host and build. I managed to embed a Linux SDK for several targets archs into a conan package of my own. However I face compilation issues for x86 / x86_64 because of missing compilation flags, due to conan not detecting my cross compilation scenario. I was wondering if we shouldn't add an environment variable to force cross compilation, for instanceCONAN_CROSS_COMPILATION
.NB : The code I build using my SDK is not intended to run on the build machine. I updated my conan settings to ensure all the dependencies get build using my SDK, avoiding contamination.
Regards
The text was updated successfully, but these errors were encountered: