Question on architechture

Joshua Root jmr at macports.org
Wed Jan 24 06:36:16 UTC 2024


If the universal variant doesn't work in one or more of the 
dependencies, disable it with 'universal_variant no'. Doing that for 
even one of them will make it so that, if supported_archs is also set 
correctly, you get an error during dependency calculation.

- Josh

On 24/1/2024 12:48, Mark Anderson wrote:
> 
> supported_archs x86_64 (perhaps those others work too) is in my branch 
> already to be pushed and I plan on pushing it up shortly, but it seems 
> to still fail on arm64 machines even when being built for x86_64, but 
> that's due to a dependency. The problem is, it has a lot of dependencies 
> and I don't want people to try an install it when it will fail on arm64 
> no matter what.
> 
> —Mark
> _______________________
> Mark E. Anderson <mark at macports.org <mailto:mark at macports.org>>
> MacPorts Trac WikiPage <https://trac.macports.org/wiki/mark>
> GitHub Profile <https://github.com/markemer>
> 
> 
> 
> On Tue, Jan 23, 2024 at 8:17 PM Kirill A. Korinsky <kirill at korins.ky 
> <mailto:kirill at korins.ky>> wrote:
> 
>     On Wed, 24 Jan 2024 01:59:54 +0100,
>     Mark Anderson wrote:
>      >
>      > So the Io port won't build on arm64, it will build on x86_64 and
>     even get
>      > moving on arm64 in x86_64 mode, but memcached seems to fail in
>     universal
>      > mode. What's the best way to deal with this for now, a note? a
>     warning?
>      > Some wait to fail instantly if you're on apple silicon?
>      >
> 
>     supported_archs  i386, ppc, ppc64, x86_64
> 
>     ?
> 
>     -- 
>     wbr, Kirill
> 



More information about the macports-dev mailing list