Opened 3 years ago
Last modified 3 years ago
#65113 new defect
MacPorts Guide: universal_archs setting not defined for macOS 10.13 - 10.15
Reported by: | hamishmb (Hamish Mcintyre-Bhatty) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | guide | Version: | 2.7.2 |
Keywords: | Cc: | ||
Port: |
Description
Hi there,
I noticed today that the MacPorts Guide doesn't say what the universal_archs values are for macOS 10.13 - 10.15, unlike all other versions. I guess this can be assumed to be "x86_64 i386" as for 10.6 - 10.13, but I don't want to submit a pull request without knowing. I came across this as I'm doing my first experiments with MacPorts on an M1 Mac now.
If someone lets me know that these values are correct then I'll happily do the pull request.
Hamish
Change History (5)
comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Component: | ports → guide |
---|---|
Keywords: | guide removed |
comment:2 Changed 3 years ago by hamishmb (Hamish Mcintyre-Bhatty)
That makes sense, but shouldn't it then say "x86_64 (only) for 10.14 and 10.15" or similar?
At the moment it's just leaving the default for 10.14 and 10.15 unspecified.
comment:3 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
We're talking about the documentation of universal_archs
. universal_archs
is only used for universal building. Universal building is not possible on 10.14 or 10.15 so the value of universal_archs
on those systems is irrelevant.
comment:4 follow-up: 5 Changed 3 years ago by hamishmb (Hamish Mcintyre-Bhatty)
Yeah, only just got that part somehow.
Still, might be good to say here that universal building isn't possible on 10.14 and 10.15 - seeing as 10.14 can still run 32-bit apps, I had assumed that one could target i386 with the 10.14 SDK until now. I didn't quite realise the implications so I imagine that maybe others won't either, given almost all versions can do universal builds?
At first glance, it just looks like 10.14 and 10.15 have been forgotten.
comment:5 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to hamishmb:
I had assumed that one could target i386 with the 10.14 SDK until now
For reference:
https://developer.apple.com/documentation/xcode-release-notes/xcode-10-release-notes
- The macOS 10.14 SDK no longer contains support for compiling 32-bit applications. If developers need to compile for i386, Xcode 9.4 or earlier is required. (39858111)
The guide says:
That's accurate. On 10.14 and 10.15, universal builds are not possible. You can only build non-universally, for x86_64.