Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2025-08-27
11:57
Follow-up to [66cd465323]: For Tcl 9.0+, building on 32-bit MacOS is no longer supported check-in: 052f571967 user: jan.nijtmans tags: core-9-0-branch
11:22
Follow-up to [66cd465323]: For Tcl 9.0+, building on 32-bit MacOS is no longer supported check-in: a354ab80f0 user: jan.nijtmans tags: core-8-6-branch
09:44 • Ticket [66cd465323] Platform package simplifications for MacOS >= 11 stat... artifact: e5dc0f3cfe user: jan.nijtmans
2025-08-26
08:49 • Closed ticket [66cd465323]. artifact: 5966fc4501 user: jan.nijtmans
2025-08-25
15:32
[66cd465323] Platform package simplifications for MacOS >= 11. Platform => 1.1.0 check-in: ee7c3ae49b user: jan.nijtmans tags: core-9-0-branch
15:08
[66cd465323] Platform package simplifications for MacOS >= 11. Platform => 1.1.0 check-in: 12394301e1 user: jan.nijtmans tags: core-8-6-branch
2025-08-22
14:14 • Ticket [66cd465323] Platform package simplifications for MacOS >= 11 stat... artifact: f602ff1ab6 user: jan.nijtmans
11:57 • Ticket [66cd465323]: 3 changes artifact: 06e2e16db6 user: jan.nijtmans
11:57 • New ticket [66cd465323]. artifact: c5a263c3dc user: jan.nijtmans

Platform package simplifications for MacOS >= 11

Closed / Fixed66cd46532395d56ac881fae1e95e52da270f32daCreated 1 year agoUpdated 1 year ago
Descriptionwiki2025-08-22 11:57:24
Apple changed the Darwin/Macos version numbering starting with Darwin 20 (Macos 11). And - earlier - (Darwin 12) it renamed "MacOS X" to simply "OS X", changing it to "MacOS" (without the X) from Dawin 20.

This effects the "platform" package, since "::platform::patterns" gives a list of "identifiers describing compatible architectures". In the X period, 10.6 and 10.7 were not necessary compatible, but starting with MacOS 11 there's a guarantee that 11.x and 11.y (for any x and y) are compatible. It doesn't make sense any more to consider 11.0 and 11.1 (for example) being a different architecture.

Therefore I propose to - starting with MacOS 11 - no longer including the minor version number as part of the platform, and dropping the "x". So, "macosx11.0-x86_64" will now be simply "macos11-x86_64". And it will simplify platform::patterns from giving:

% platform::patterns macosx11.5-x86_64
macosx11.5-x86_64 macosx11.5-i386-x86_64 macosx11.4-x86_64 macosx11.4-i386-x86_64 macosx11.3-x86_64 macosx11.3-i386-x86_64 macosx11.2-x86_64 macosx11.2-i386-x86_64 macosx11.1-x86_64 macosx11.1-i386-x86_64 macosx11.0-x86_64 macosx11.0-i386-x86_64 macosx10.15-x86_64 macosx10.15-i386-x86_64 macosx10.14-x86_64 macosx10.14-i386-x86_64 macosx10.13-x86_64 macosx10.13-i386-x86_64 macosx10.12-x86_64 macosx10.12-i386-x86_64 macosx10.11-x86_64 macosx10.11-i386-x86_64 macosx10.10-x86_64 macosx10.10-i386-x86_64 macosx10.9-x86_64 macosx10.9-i386-x86_64 macosx10.8-x86_64 macosx10.8-i386-x86_64 macosx10.7-x86_64 macosx10.7-i386-x86_64 macosx10.6-x86_64 macosx10.6-i386-x86_64 macosx10.5-x86_64 macosx10.5-i386-x86_64 macosx-x86_64 macosx-i386-x86_64 tcl
to
% platform::patterns macosx11.5-x86_64
macos11-x86_64 macos11-i386-x86_64 macosx10.15-x86_64 macosx10.15-i386-x86_64 macosx10.14-x86_64 macosx10.14-i386-x86_64 macosx10.13-x86_64 macosx10.13-i386-x86_64 macosx10.12-x86_64 macosx10.12-i386-x86_64 macosx10.11-x86_64 macosx10.11-i386-x86_64 macosx10.10-x86_64 macosx10.10-i386-x86_64 macosx10.9-x86_64 macosx10.9-i386-x86_64 macosx10.8-x86_64 macosx10.8-i386-x86_64 macosx10.7-x86_64 macosx10.7-i386-x86_64 macosx10.6-x86_64 macosx10.6-i386-x86_64 macosx10.5-x86_64 macosx10.5-i386-x86_64 macosx-x86_64 macosx-i386-x86_64 tcl
For MacOS <= 10, everything is kept the same.

B.T.W: starting with MacOS 10.15, 32-bit intel is no longer supported, which also will be corrected.

Referenced by4
  • 052f571967Follow-up to [66cd465323]: For Tcl 9.0+, building on 32-bit MacOS is no longer supported check-in2025-08-27 11:57:47
  • a354ab80f0Follow-up to [66cd465323]: For Tcl 9.0+, building on 32-bit MacOS is no longer supported check-in2025-08-27 11:22:17
  • ee7c3ae49b[66cd465323] Platform package simplifications for MacOS >= 11. Platform => 1.1.0 check-in2025-08-25 15:32:36
  • 12394301e1[66cd465323] Platform package simplifications for MacOS >= 11. Platform => 1.1.0 check-in2025-08-25 15:08:09
jan.nijtmans Ticket [66cd465323]: 3 changes [History diff]2025-08-22 11:57:44
jan.nijtmansplain2025-08-22 14:14:13
> starting with MacOS 10.15, 32-bit intel is no longer supported, which also will be corrected.

That should be corrected now: [https://core.tcl-lang.org/tcl/timeline?r=platform-macos-simplification]

@marc_culler.   Would you like to review the changes?
jan.nijtmanswiki2025-08-26 08:49:39

Fixed [here]

jan.nijtmansplain2025-08-27 09:44:47
Marc Culler wrote: "I agree with removing the patch number for macOS 11 and up.  I don't know why we want to include patterns for systems that are not supported, however.  I don't think Tk will build on 32 bit systems"

That means, we can simplify some more.
Log in (anonymous is fine) to add a comment.