-
Notifications
You must be signed in to change notification settings - Fork 981
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] cross compile meson packages from CCI #10285
Comments
They were several attempt in CCI to support cross-build in Meson based recipes, but without luck as you can see in conan-io/conan-center-index#6678 and conan-io/conan-center-index#7360. I think there is no straightforward solution currently without automagic handling of https://mesonbuild.com/Cross-compilation.html in Meson helpers. /cc @SSE4 |
A couple of related issue reports in Conan Center: conan-io/conan-center-index#11332 and conan-io/conan-center-index#11362 |
thank you @jwillikers ! but for now we have to go with custom recipes right? no CCI meson cross builds there as far as I can tell |
@andiwand At the moment, I'm not aware of any that use the new MesonToolchain generator in CCI. I'm not sure when that will be possible, but perhaps before too long it will be allowed as things transition to supporting Conan V2. For the Wayland package specifically, I have a fork available here that uses the new MesonToolchain generator and can be used to cross-compile the package. It requires Conan version 1.50.0 at this time. |
I have an ongoing effort to convert |
thank you @jwillikers and @SSE4 ! I will use your resources and try to create a recipe that works for me until conan catches up on this |
I tried to cross compile fribidi and glib from CCI and noticed that it does not work out of the box.
After searching I found this closed ticket #4529 which introduced
MesonToolchain
and a newMeson
class documented here https://docs.conan.io/en/latest/reference/conanfile/tools/meson.html.Now I wondered what is best practice to enable cross compile for meson packages on CCI.
I could refactor the existing recipes to use the new
MesonToolchain
andMeson
class but those are experimental and the interface ofMeson
seems to be incompatible. (new vs old)The text was updated successfully, but these errors were encountered: