Closed michaelherger closed 2 years ago
lz is zlib, which I guess you now need to build yourself? You could add it to buildme.sh as another library and statically link it in like we do for other libs. I had just assumed it would be available everywhere to avoid statically linking it.
M1 looks awesome, I'm jealous that you get to play with Universal Binaries again! Looks like buildme.sh still has some UB code that hopefully is still useful.
I'm not so enthusiastic about this task 😃. I thought I'd give it a try, but I fear it's way beyond me. Most of the dependencies compiled ok so far. But the important ones (yours!) prove to be difficult (eg. assembly code in https://github.com/libjpeg-turbo/libjpeg-turbo). I'd be happy to grant you access to my little box if you could help me out here... I'm currently using it for nothing but this attempt to get LMS running natively on Apple Silicon...
Never mind. I think I got the build params wrong in my first attempts. Audio::Scan seems to compile just fine. There are a few places where we hard-coded x86_64 in the build script for other modules. But that doesn't belong here.
Hi @andygrundman - I'm trying to build Audio::Scan on a new Apple M1 based system, using the good old
buildme.sh
script. Unfortunately it doesn't get far:(and a lot more test failures thereafter, of course)
Not much info there. Any hints where I could start digging?