+universal for x864+arm64 on Macintel

René J.V. Bertin rjvbertin at gmail.com
Mon Jun 13 09:29:33 UTC 2022

On Monday June 13 2022 02:48:06 Ryan Schmidt wrote:
> (and if MacPorts does not create a universal variant automatically in this case then the port should do so itself)

Doh, I should have thought about that. Still, it would be more elegant to handle that situation with something like `universal_variant force` (admitting that the logic isn't perfect).

I suppose pre-10.11 installs should still be able to cross-compile for arm64, with the right compiler and libraries installed, no?
(Link step included btw, as all normally built clang compilers are cross-compilers so a new-enough clang should be able to generate the correct object code for Apple silicon.)

More information about the macports-dev mailing list