From b5b2522947a5ee86a68feaab1eb9d7b779030d57 Mon Sep 17 00:00:00 2001 From: Janneke Nieuwenhuizen Date: Tue, 3 Dec 2024 08:52:13 +0100 Subject: [PATCH] gnu: gcc: Update gcc, gcc-toolchain, libgccjit to 14. * gnu/packages/gcc.scm (gcc): Define as gcc-14 for all. (libgccjit): Define as libgccjit-14. * gnu/packages/commencement.scm (gcc-toolchain): Define as gcc-toolchain-14 for all. * gnu/packages/gcc.scm Change-Id: Iaac983da8acbbb2fd1088a0469d6115b7d424dbb --- gnu/packages/commencement.scm | 6 ++---- gnu/packages/gcc.scm | 7 ++----- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index e1c7082753..d9992a9086 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm @@ -3675,7 +3675,7 @@ (define-public gcc-toolchain-10 (make-gcc-toolchain gcc-10)) (define-public gcc-toolchain-11 - (make-gcc-toolchain gcc-11)) + (make-gcc-toolchain gcc-11)) (define-public gcc-toolchain-12 (make-gcc-toolchain gcc-12)) @@ -3688,9 +3688,7 @@ (define-public gcc-toolchain-14 ;; The default GCC (define-public gcc-toolchain - (if (host-hurd64?) - gcc-toolchain-14 - gcc-toolchain-11)) + gcc-toolchain-14) (define-public gcc-toolchain-aka-gcc ;; It's natural for users to try "guix install gcc". This package diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm index 5104c437f0..4a034da11f 100644 --- a/gnu/packages/gcc.scm +++ b/gnu/packages/gcc.scm @@ -885,10 +885,7 @@ (define-public gcc-14 ;; Note: When changing the default gcc version, update ;; the gcc-toolchain-* definitions. -(define-public gcc - (if (host-hurd64?) - gcc-14 - gcc-11)) +(define-public gcc gcc-14) ;;; @@ -1283,7 +1280,7 @@ (define-public libgccjit-14 (make-libgccjit gcc-14)) ;; This must match the 'gcc' variable, but it must also be 'eq?' to one of the ;; libgccjit-* packages above. -(define-public libgccjit libgccjit-11) +(define-public libgccjit libgccjit-14) (define (make-gccgo gcc) "Return a gccgo package based on GCC."