unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Simon Tournier <zimon.toutoune@gmail.com>
To: 62923@debbugs.gnu.org
Cc: Simon Tournier <zimon.toutoune@gmail.com>, ludo@gnu.org
Subject: [bug#62923] [PATCH core-updates] gnu: gcc-7, gcc-10, gcc-11: Hide packages.
Date: Tue, 18 Apr 2023 12:14:56 +0200	[thread overview]
Message-ID: <20230418101456.1479034-1-zimon.toutoune@gmail.com> (raw)

* gnu/packages/gcc.scm (gcc-7, gcc-10, gcc-11): Also inherit 'hidden?'
properties.
---
 gnu/packages/gcc.scm | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Hi,

This fixes annoyance and does not trigger any rebuild.  The package 'gcc'
whatever its version should be visisble from the command line.  The initial,

    (hidden-package
     (package
       (name "gcc")
       (version "4.7.4")

had been lost when inheriting, introduced by commit
2576e2019d2f5049ad3dc51404c7e991af45d1d6:

        gnu: gcc: Add 'compiler-cpu-architectures' property.

        * gnu/packages/gcc.scm (%gcc-7.5-x86_64-micro-architectures)
        (%gcc-10-x86_64-micro-architectures): New variables.
        (gcc-7, gcc-10): Add 'properties' field.
        * gnu/packages/commencement.scm (make-gcc-toolchain): Likewise.

Cheers,
simon




diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index 5b1ef83ce6..b7d15d0730 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -632,7 +632,8 @@ (define-public gcc-7
      `((compiler-cpu-architectures
         ("aarch64" ,@%gcc-7.5-aarch64-micro-architectures)
         ("armhf" ,@%gcc-7.5-armhf-micro-architectures)
-        ("x86_64" ,@%gcc-7.5-x86_64-micro-architectures))))))
+        ("x86_64" ,@%gcc-7.5-x86_64-micro-architectures))
+       ,@(package-properties gcc-6)))))
 
 (define-public gcc-8
   (package
@@ -688,7 +689,8 @@ (define-public gcc-10
     `((compiler-cpu-architectures
        ("aarch64" ,@%gcc-10-aarch64-micro-architectures)
        ("armhf" ,@%gcc-10-armhf-micro-architectures)
-       ("x86_64" ,@%gcc-10-x86_64-micro-architectures))))))
+       ("x86_64" ,@%gcc-10-x86_64-micro-architectures))
+      ,@(package-properties gcc-8)))))
 
 (define-public gcc-11
   (package
@@ -722,7 +724,8 @@ (define patch
     `((compiler-cpu-architectures
        ("aarch64" ,@%gcc-11-aarch64-micro-architectures)
        ("armhf" ,@%gcc-11-armhf-micro-architectures)
-       ("x86_64" ,@%gcc-11-x86_64-micro-architectures))))))
+       ("x86_64" ,@%gcc-11-x86_64-micro-architectures))
+      ,@(package-properties gcc-8)))))
 
 (define-public gcc-12
   (package

base-commit: 39ec7b86c0730f07da01f008f85287c05efde1bc
-- 
2.38.1





             reply	other threads:[~2023-04-18 10:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-18 10:14 Simon Tournier [this message]
2023-04-18 11:27 ` bug#62923: [PATCH core-updates] gnu: gcc-7, gcc-10, gcc-11: Hide packages Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230418101456.1479034-1-zimon.toutoune@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=62923@debbugs.gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).