-
Notifications
You must be signed in to change notification settings - Fork 980
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
[feature] Add multiarch(any?) arch option to settings.yml #6384
Comments
An even better option is to allow multiple archs: e.g.
|
@a4z is also experiencing the need for this feature but for the iOS toolchain. The current workaround is to introduce custom multi-arch settings, but it's a very inflexible solution. |
yes, this is needed for mobile development, for both iOS, and also for Android (which I will do after all iOS packages are done) . So my need is not limited to just iOS ;-) |
This will be a very helpful extension. Together with universal libs conan-io/conan-extensions#59 |
just some notes, while this will work for CMake more or less out of the box, everything that is not cmake and has no xcode build that can be configured would need to
those packages == the same package name/version , just in a the wanted arch , armv7 armv7s arm64 so this seems to be some how a problem so I understand why the multiarch flag could be a huge problem, some builds would not support them, or , they would become pretty complex but it would be nice if I could , for example
and I think this could be possible already today, by using settings via the settings.yml that I give a specific meaning. But this I would have need to test |
Yes, have android/iOS prebuilt packages from CCI would be great. |
Multi-arch support was added back then in Conan 2.2 in #15775, see docs in https://docs.conan.io/2/reference/tools/cmake/cmaketoolchain.html#support-for-universal-binaries-in-macos It will be limited to iOS, no idea how to get CMake to do multi-archs builds too. So I suggest:
Thanks for your feedback! |
This feature is very useful (mostly?) for Android as it supports multiple ABIs in the same apk/aab.
Starting with Qt 5.14.0, Qt for Android provides a way to build the apps for all Android ABIs in one go, and without a
multiarch/Any/None
in arch settings it's impossible to create an Android multilib Qt package for conan.The text was updated successfully, but these errors were encountered: