[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
19/172: gnu: go-1.20: Build with gccgo-12 on some systems.
From: |
guix-commits |
Subject: |
19/172: gnu: go-1.20: Build with gccgo-12 on some systems. |
Date: |
Sat, 9 Nov 2024 16:44:47 -0500 (EST) |
sharlatan pushed a commit to branch master
in repository guix.
commit ecdca86e1ce93ff22b0ad2c40b141b1b0d506418
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Sep 11 13:04:03 2024 +0300
gnu: go-1.20: Build with gccgo-12 on some systems.
* gnu/packages/golang.scm (go-1.20)[native-inputs]: Don't replace the
gccgo input on architectures bootstrapping go with it.
Change-Id: I26831b2bcfe623f6eb0ac7c16b463e5e873110e6
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
---
gnu/packages/golang.scm | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 971da2b8a3..37e2cd3b96 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2016-2023 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2016-2024 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Matthew Jordan <matthewjordandevops@yandex.com>
;;; Copyright © 2016 Andy Wingo <wingo@igalia.com>
;;; Copyright © 2016, 2019, 2021 Ludovic Courtès <ludo@gnu.org>
@@ -812,7 +812,10 @@ in the style of communicating sequential processes
(@dfn{CSP}).")
;; See 'src/cmd/dist/notgo117.go' in the source code distribution,
;; as well as the upstream discussion of this topic:
;; https://go.dev/issue/44505
- (alist-replace "go" (list go-1.17) (package-native-inputs go-1.17)))))
+ ;; We continue to use gccgo-12 since it provides go-1.18.
+ (if (member (%current-system) (package-supported-systems go-1.4))
+ (alist-replace "go" (list go-1.17) (package-native-inputs go-1.17))
+ (package-native-inputs go-1.17)))))
(define-public go-1.21
(package
- 02/172: gnu: go-github-com-lithammer-fuzzysearch: Move to golang-xyz., (continued)
- 02/172: gnu: go-github-com-lithammer-fuzzysearch: Move to golang-xyz., guix-commits, 2024/11/09
- 01/172: gnu: go-github-com-lithammer-fuzzysearch: Enable tests., guix-commits, 2024/11/09
- 03/172: gnu: Remove go-github-com-niemeyer-pretty., guix-commits, 2024/11/09
- 04/172: gnu: go-github-com-jhillyerd-enmime: Update to 1.3.0., guix-commits, 2024/11/09
- 06/172: gnu: go-github-com-jaytaylor-html2text: Update to 0.0.0-20230321000545-74c2419ad056., guix-commits, 2024/11/09
- 13/172: gnu: Remove go-github-com-kyoh86-xdg., guix-commits, 2024/11/09
- 14/172: gnu: Remove go-github-com-rylans-getlang., guix-commits, 2024/11/09
- 11/172: gnu: go-github-com-deckarep-golang-set: Move to golang-xyz., guix-commits, 2024/11/09
- 16/172: import/go: Add comment about monorepo., guix-commits, 2024/11/09
- 18/172: gnu: go-1.23: Update to 1.23.1., guix-commits, 2024/11/09
- 19/172: gnu: go-1.20: Build with gccgo-12 on some systems.,
guix-commits <=
- 20/172: build-system/go: Add subdir parameter to go-version->git-ref., guix-commits, 2024/11/09
- 21/172: import/go: Account for monorepo modules in the Go importer., guix-commits, 2024/11/09
- 36/172: gnu: go-github-com-golang-groupcache: Fix indentation., guix-commits, 2024/11/09
- 29/172: gnu: go-golang-org-x-text: Update to 0.18.0., guix-commits, 2024/11/09
- 23/172: gnu: packages/golang-crypto: Apply #:subdir parameter., guix-commits, 2024/11/09
- 31/172: gnu: go-golang-org-x-xerrors: Fix indentation., guix-commits, 2024/11/09
- 24/172: gnu: go-golang-org-x-image: Update to 0.20.0., guix-commits, 2024/11/09
- 38/172: gnu: go-github-com-libp2p-go-msgio: Fix build., guix-commits, 2024/11/09
- 25/172: gnu: go-golang-org-x-mod: Update to 0.21.0., guix-commits, 2024/11/09
- 42/172: gnu: go-github-com-prometheus-exporter-toolkit: Fix build., guix-commits, 2024/11/09