Go Ports Can Now Declare What Version of Go They Need
Joshua Root
jmr at macports.org
Tue Aug 4 12:41:11 UTC 2026
On 4/8/2026 04:54, Herby G wrote:
> The `go` port is now a thin wrapper that provides the newest Go compiler
> release each system can actually run:
>
> macOS 10.7 - 10.12 -> Go 1.17
> macOS 10.13 - 11 -> Go 1.24
> macOS 12 and later -> Go 1.26
>
> The versioned toolchains are installed side by side as go-1.NN, and a new
> go_toolchain PortGroup owns the mapping. Background and reasoning are in
> https://trac.macports.org/ticket/73086 <https://trac.macports.org/
> ticket/73086> -- this note is just what maintainers
> need to do.
>
> This mechanism prevents a Go port from attempting to build on an unsupported
> version of macOS where it cannot be built or run. In this way, we
> increase Buildbot
> efficiency and improve the user experience for Go port users.
Thank you. This looks like a great improvement.
- Josh
More information about the macports-dev
mailing list