Skip to content
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

Apple Silicon (arm64) support #95

Closed
1 task done
rednoah opened this issue Dec 1, 2021 · 5 comments
Closed
1 task done

Apple Silicon (arm64) support #95

rednoah opened this issue Dec 1, 2021 · 5 comments

Comments

@rednoah
Copy link
Contributor

rednoah commented Dec 1, 2021

  • Support for building fpcalc for arm64 and publishing x86_64+arm64 universal binaries.

@lalinsky I'd be happy to hire you to work on M1 support for chromaprint tools.

@lalinsky
Copy link
Member

lalinsky commented Dec 1, 2021

I'll try to get it done, it seems like it should be possible to cross-compile from a x86_64 mac.

@wallisch
Copy link
Contributor

I made a Swift package, ChromaSwift, that runs fine on arm64 macs.
No code changes necessary, apart from some clang warnings (see #88 & #89)

@lalinsky
Copy link
Member

@rednoah I don't have a M1 mac, so I can't test it myself. Fat binaries for both architectures are now built. Could you try the chromaprint-fpcalc-macos-universal artifact from https://github.com/acoustid/chromaprint/actions/runs/1610515571? If everything works as expected, I'll make a new release with these builds.

@rednoah
Copy link
Contributor Author

rednoah commented Dec 22, 2021

Nice. I ran it on a *.mp3 file and a *.flac file and it works for both.

@lalinsky
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants