From 007ec66206fdda28b15f0f638adbdc979d94a6e2 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 27 Apr 2021 17:08:21 +0300 Subject: gnu: Add gcc-toolchain-11. * gnu/packages/gcc.scm (gcc-11): New variable. * gnu/packages/commencement.scm (gcc-toolchain-11): New variable. --- gnu/packages/gcc.scm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'gnu/packages/gcc.scm') diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm index a412c93c29..a444abf943 100644 --- a/gnu/packages/gcc.scm +++ b/gnu/packages/gcc.scm @@ -594,6 +594,20 @@ It also includes runtime support libraries for these languages."))) (patches (search-patches "gcc-9-strmov-store-file-names.patch" "gcc-5.0-libvtv-runpath.patch")))))) +(define-public gcc-11 + (package + (inherit gcc-8) + (version "11.1.0") + (source (origin + (method url-fetch) + (uri (string-append "mirror://gnu/gcc/gcc-" + version "/gcc-" version ".tar.xz")) + (sha256 + (base32 + "1pwxrjhsymv90xzh0x42cxfnmhjinf2lnrrf3hj5jq1rm2w6yjjc")) + (patches (search-patches "gcc-9-strmov-store-file-names.patch" + "gcc-5.0-libvtv-runpath.patch")))))) + ;; Note: When changing the default gcc version, update ;; the gcc-toolchain-* definitions. (define-public gcc gcc-7) -- cgit v1.2.3 From 1f5543e7ff5db3f085edb5d6aa150be29bb4af43 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 27 Apr 2021 17:08:44 +0300 Subject: gnu: Add gdc-11. * gnu/packages/gcc.scm (gdc-11): New variable. --- gnu/packages/gcc.scm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gnu/packages/gcc.scm') diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm index a444abf943..8c8968a111 100644 --- a/gnu/packages/gcc.scm +++ b/gnu/packages/gcc.scm @@ -772,6 +772,11 @@ as the 'native-search-paths' field." (custom-gcc gcc-10 "gdc" '("d") %generic-search-paths))) +(define-public gdc-11 + (hidden-package + (custom-gcc gcc-11 "gdc" '("d") + %generic-search-paths))) + (define-public libgccjit (package (inherit gcc-9) -- cgit v1.2.3