+universal for x864+arm64 on Macintel

Joshua Root jmr at macports.org
Wed Jun 15 21:49:30 UTC 2022

On 2022-6-16 03:14 , René J.V. Bertin wrote:
> On Wednesday June 15 2022 17:10:01 Christopher Jones wrote:
>> what about configure.universal_archs though, have you set that to have > 1 entry ? thats what base cares about, hence the "due to < 2 supported universal_archs
> Ahhhh! That works, indeed. It seems that this variable is empty when the portfile is parsed but initialised with the OS-supported archs from `supported_archs`, is that correct? That's not exactly what `guide.macports.org` states - for `universal_archs`, it doesn't discuss `configure.universal_archs`. IMHO it's a bit unexpected that there are 2 settings to control what architectures a port supports!

$universal_archs contains exactly what is set in macports.conf (so does 
$build_arch). ${configure.universal_archs} is the archs that will 
actually be built with +universal, and may differ from the macports.conf 
value due to the supported_archs of the Portfile and of the chosen SDK. 
(That is also the case for ${configure.build_arch}.)

- Josh

More information about the macports-dev mailing list