Proper value for os.arch on Apple Silicon
Joshua Root
jmr at macports.org
Tue Jun 23 06:36:56 UTC 2020
On 2020-6-23 14:50 , Ryan Schmidt wrote:
> Now that Apple has announced that Macs will have ARM processors [1], what is the proper value for ${os.arch} on such systems?
>
> MacPorts base currently knows two values of ${os.arch}: "powerpc" is used on all 32-bit and 64-bit PowerPC systems while "i386" is used on all 32-bit and 64-bit Intel systems.
>
> I'm not necessarily asking what value MacPorts currently prints for this variable on an Apple Silicon Developer Transition Kit machine, but rather what value it should print.
The value of os.arch is intended to match `uname -p`.
- Josh
More information about the macports-dev
mailing list