Proper value for os.arch on Apple Silicon

Ryan Schmidt ryandesign at macports.org
Tue Jun 23 07:14:43 UTC 2020


On Jun 23, 2020, at 01:44, Joshua Root wrote:

> On 2020-6-23 16:36 , Joshua Root wrote:
>> The value of os.arch is intended to match `uname -p`.
> 
> And assuming macOS 11 hasn't changed uname in this respect, it looks
> like it should be "arm". [1]
> 
> - Josh
> 
> [1]
> <https://opensource.apple.com/source/shell_cmds/shell_cmds-207.40.1/uname/uname.c.auto.html>


Ok great. Then we just need to figure out what $tcl_platform(machine) is on ARM.



More information about the macports-dev mailing list