TwinFan / XPPlanes

Display additional planes controled by network messages
https://twinfan.github.io/XPPlanes/
4 stars 1 forks source link

Please make Apple universal binaries for intel/M1 #1

Closed devleaks closed 2 years ago

devleaks commented 2 years ago

Hello, Could you please take a few minutes to compile XPPlanes for both Apple intel and M1 architectures? Many thanks. Best regards. P.

devleaks commented 2 years ago

At the same time, could you please update the docker process to generate universal binaries. That way we would be able to generate plugins ourselves... Thank you.

TwinFan commented 2 years ago

Thanks or your interest in XPPlanes. It is in fact the first time I get some feedback about anybody using it.

Please find attached here a universal binary for mac. XPPlanes_mac_universal.zip

I am not currently allowed to update public places with the updated X-Plane library (XPLM). This will only become possible once the 400 version of XPLM required for ARM compilation has been officially published.

I think I figured a way to produce the universal image with Docker/osxcross. So once I am allowed to upload XPLM I will update the repository.

I continue to build the public images with GitHub actions as they run natively on Apple and also allow to include the signature and notarisation process.

devleaks commented 2 years ago

Thank you so much for recompiling xpplanes. I had a quick look at osxcross, and it can, apparently cross compile for arm64 too. If it does not generate universal binaries, you can always combine a x86_64 binary and an arm64 binaries with lipo(1) on macOS. Best regards. Pierre