> On Feb 9, 2021, at 12:04 AM, Ken Cunningham <[email protected]> > wrote: > > > PS — any feedback on the success of the cross building, or any failures > encountered, would be much appreciated. I believe this is the only setup > that currently allows meson cross building on BigSur that is available for > macOS.
Yep, success! meson cross-building to arm64 from BigSur Intel finally works now: % port -v installed dav1d The following ports are currently installed: dav1d @0.8.1_0+universal (active) platform='darwin 20' archs='arm64 x86_64' date='2021-02-09T01:15:26-0800' % file /opt/local/lib/libdav1d.5.dylib /opt/local/lib/libdav1d.5.dylib: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit dynamically linked shared library x86_64] [arm64] /opt/local/lib/libdav1d.5.dylib (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64 /opt/local/lib/libdav1d.5.dylib (for architecture arm64): Mach-O 64-bit dynamically linked shared library arm64 and presumably the other way around as well. So that's something new. dav1d needs a couple of minor tweaks to get it to build universal, but they are minor. K
