Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 May 2025 17:36:52 GMT
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 8cb04a4d7a4e - main - defaults: Change Go default to 1.24
Message-ID:  <202505211736.54LHaqkw056210@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by adamw:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8cb04a4d7a4e76c9ffcb71a50aa73e64712ffc59

commit 8cb04a4d7a4e76c9ffcb71a50aa73e64712ffc59
Author:     Adam Weinberger <adamw@FreeBSD.org>
AuthorDate: 2025-05-21 17:26:56 +0000
Commit:     Adam Weinberger <adamw@FreeBSD.org>
CommitDate: 2025-05-21 17:26:56 +0000

    defaults: Change Go default to 1.24
    
    There's a lot that's happening in Go town. All Go versions can build any
    other Go version, so individual Go ports are irrelevant.
    
    There's no longer any point to having multiple Go versions. On paper,
    it's SUPPOSED to work like this:
    - 1.24 can build something that only works in ex. 1.14
      - It restricts itself to features that quirks in 1.14
      - It's precisely the same as building it in 1.14 itself, except with
        toolchain bugs fixed, etc.
    - 1.24 can build something that only works in 1.28
      - It downloads the sources for 1.28, builds that stdlib, and then
        statically links against that
    
    The first step here is making Go 1.24 the default and seeing whether
    reality matches the specs. If everything looks good, the next steps are:
    1. Remove all version specifiers from Go ports.
    2. Remove all other Go versions except 1.24 and 1.25-devel, and simplify
       the heck out of Uses/go.mk.
    3. ???
    4. Profit.
    
    All these changes should be largely transparent. Except if it's not.
    Wish me luck, as I wish the builders luck. Vaya con Dios.
---
 Mk/bsd.default-versions.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Mk/bsd.default-versions.mk b/Mk/bsd.default-versions.mk
index 50d8a4ef789c..95fc4994a61b 100644
--- a/Mk/bsd.default-versions.mk
+++ b/Mk/bsd.default-versions.mk
@@ -64,7 +64,7 @@ GHOSTSCRIPT_DEFAULT?=	10
 # Possible values: mesa-libs, mesa-devel
 GL_DEFAULT?=		mesa-libs
 # Possible values: 1.20, 1.21, 1.22, 1.23, 1.24, 1.25-devel
-GO_DEFAULT?=		1.21
+GO_DEFAULT?=		1.24
 # Possible values: 1.8, 2.2, 3.0
 GUILE_DEFAULT?=		2.2
 # Possible versions: 6, 7


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202505211736.54LHaqkw056210>