mpkg build with Apple Silicon

Christopher Jones jonesc at hep.phy.cam.ac.uk
Tue Jan 28 12:29:24 UTC 2025



> On 28 Jan 2025, at 12:22 pm, Ryan Carsten Schmidt <ryandesign at macports.org> wrote:
> 
> On Jan 28, 2025, at 05:53, Oscar wrote:
>> 
>> We've build a few packages using the mpkg command on an Apple Silicon Mac.
>> When we want to install any of these packages, Rosetta 2 installation is required.
>> 
>> We want to avoid using Rosseta 2, if there a way of forcing the architecture to arm64 when building a mpkg?
>> 
> 
> If you are building on an Apple Silicon Mac, it should already be building for Apple Silicon, not for Intel, so there's no reason why Rosetta 2 should be required.

It probably depends on the exact ports being built as if any there only support x86 and nor ARM then rossetta2 will be automatically used to build them *all* for x86.

So, what ports specific are you talking about ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20250128/94f35654/attachment.htm>


More information about the macports-users mailing list