Hi Ken,
Your can see the architecture(s) each port is built for with 'port -v
installed'. The ones of concern on an Apple Silicon system will have
archs='x86_64'.
- Josh
On 29/5/2023 09:55, Kenneth Wolcott wrote:
HI Josh;
Is it possible to find out what ports that I have installed that
would fail to upgrade due to not supporting the M1 chip? If, so what
command would I issue so that I could determine the risk involved of
doing that massive upgrade operation?
Thanks,
Ken Wolcott
On Sun, May 28, 2023 at 4:30 PM Joshua Root <[email protected]> wrote:
On Mon, 24 Apr 2023, Dave Horsfall wrote:
[ Disabling "+universal" ]
Yes, that seems to be it; thanks. Now, is there a way to globally
disable "universal" without cleaning every port and rebuilding with
"-universal"?
You don't have to rebuild everything, but there's no getting around
reinstalling all the ports that currently have +universal, if you want them to
not be universal. They may or may not have to be built depending on binary
availability. The command to do that would be:
sudo port upgrade --enforce-variants installed -universal
If you want to disable universal altogether in your MacPorts installation, set
universal_archs to an empty value in macports.conf. Note that this will make it
impossible to install some ports that don't support your configured build_arch.
- Josh