dubhater / vapoursynth-mvtools

Motion compensation and stuff
181 stars 27 forks source link

Add ARM/AARCH64 building support to Meson build script. #75

Closed adworacz closed 1 month ago

adworacz commented 1 month ago

@Stefan-Olt Could use your help in testing this, as I don't (yet) have an ARM system offhand to test this with.

I followed the autotools build pattern as best I can, I'm just not sure if I need to run NASM or anything on the input files first (I don't think so, but I'm mostly guessing).

Fixes #74

Stefan-Olt commented 1 month ago

I'll try that. The .S files are assembled by the C++ compiler (cppas), NASM is not needed. Not sure why, but that's also how it works in x264. I'll try if meson knows that automatically. What's missing and this is really important is that for Darwin "PREFIX" must defined, otherwise the assembly functions don't have a _ at the start and you'll get linking errors.

adworacz commented 1 month ago

Yup, I made sure to define PREFIX, check line 107. :)

Stefan-Olt commented 1 month ago

Yup, I made sure to define PREFIX, check line 107. :)

Oh yes, didn't see that one. Tested on Linux and macOS aarch64, works fine.

adworacz commented 1 month ago

Awesome, thanks for merging.