JuliaImages / ExifViewer.jl

Metadata reader in Julia, wrapper over LibExif
https://juliaimages.org/ExifViewer.jl/dev/
MIT License
28 stars 1 forks source link

Binaries for Mac Silicon #17

Closed VEZY closed 1 year ago

VEZY commented 1 year ago

Would it be possible to make binaries for ARM-based Macs ?

ashwani-rathee commented 1 year ago

Hey @VEZY , can you please tell what specific issues are you facing? I checked the CI and there is support for MacOS, albeit we might need a little something more for ARM based ones

VEZY commented 1 year ago

Yes looking at the code here it seems only x86/64 is supported for MacOS. And looking at the latest release confirm there is no tarball for aarch64 (e.g. something like libexif.v0.6.21.aarch64-apple-darwin.tar.gz).

I don't have access to my mac right now, but the error was that it didn't find libexif in the module LibExif. So I tried to install libexif_jll.jl manually, and indeed the path was empty, because there is no tarball for apple silicon.

Maybe the rules for building with apple silicon where added after the release ? I see that the latest is from January 2020, so it would be possible.

ashwani-rathee commented 1 year ago

We should be in a better state in regards to support for ARM MacOS after this PR gets merged: https://github.com/JuliaPackaging/Yggdrasil/pull/6294 and we will have access to new version of libexif too. I'll make the neccessary changes here in ExifViewer.jl soon

VEZY commented 1 year ago

Awesome ! Thank you!