Re: Proper value for os.arch on Apple Silicon

2020-06-23 Thread Jeremy Sequoia via macports-dev
os.arch is arm64 (16:39:32 Tue Jun 23 2020 jeremy@airbear ttys000 arm64) [617] ~ $ uname -m arm64 (16:39:33 Tue Jun 23 2020 jeremy@airbear ttys000 arm64) [618] ~ $ uname -p arm > On Jun 23, 2020, at 4:33 PM, Joshua Root wrote: > > Do you mean arm64 is what `uname -p` prints, or what > $tcl_pla

Re: Proper value for os.arch on Apple Silicon

2020-06-23 Thread Joshua Root
Do you mean arm64 is what `uname -p` prints, or what $tcl_platform(machine) contains, or both? On 2020-6-24 08:48 , Jeremy Sequoia via macports-dev wrote: > It is arm64. > >> On Jun 22, 2020, at 9:50 PM, Ryan Schmidt wrote: >> >> Now that Apple has announced that Macs will have ARM processors [1

Re: Proper value for os.arch on Apple Silicon

2020-06-23 Thread Jeremy Sequoia via macports-dev
It is arm64. > On Jun 22, 2020, at 9:50 PM, 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

Re: Proper value for os.arch on Apple Silicon

2020-06-23 Thread Joshua Root
On 2020-6-23 17:14 , Ryan Schmidt wrote: > 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]

Re: Proper value for os.arch on Apple Silicon

2020-06-23 Thread Ryan Schmidt
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] >

Re: Proper value for os.arch on Apple Silicon

2020-06-22 Thread Joshua Root
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]

Re: Proper value for os.arch on Apple Silicon

2020-06-22 Thread Joshua Root
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 whil

Re: Proper value for os.arch on Apple Silicon

2020-06-22 Thread Vincent Habchi
Ryan, > Now that Apple has announced that Macs will have ARM processors [1], what is > the proper value for ${os.arch} on such systems? It should be noted that, apparently (I didn’t follow the keynote), the Apple staff never referred to the new arch as “ARM”, but used “Apple silicon”. So why n

Proper value for os.arch on Apple Silicon

2020-06-22 Thread Ryan Schmidt
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 sy