* [bug#62923] [PATCH core-updates] gnu: gcc-7, gcc-10, gcc-11: Hide packages.
@ 2023-04-18 10:14 Simon Tournier
2023-04-18 11:27 ` bug#62923: " Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Simon Tournier @ 2023-04-18 10:14 UTC (permalink / raw)
To: 62923; +Cc: Simon Tournier, ludo
* 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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-04-18 11:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-18 10:14 [bug#62923] [PATCH core-updates] gnu: gcc-7, gcc-10, gcc-11: Hide packages Simon Tournier
2023-04-18 11:27 ` bug#62923: " Ludovic Courtès
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).