* [bug#42197] [PATCH 1/2] gnu: Add gdc.
@ 2020-07-04 14:00 guy fleury iteriteka
2020-07-04 14:00 ` [bug#42196] [PATCH 2/2] gnu: Add gdc-toolchain guy fleury iteriteka
2020-07-16 14:43 ` [bug#42197] updated patch gfleury
0 siblings, 2 replies; 7+ messages in thread
From: guy fleury iteriteka @ 2020-07-04 14:00 UTC (permalink / raw)
To: 42197
Like gfortran this package is not usable like it is.
use gdc-toolchain instead.
* gnu/packages/gcc.scm(gdc): New variable.
---
gnu/packages/gcc.scm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index 9e88109..201b37e 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -692,6 +692,11 @@ as the 'native-search-paths' field."
(custom-gcc gcc "gfortran" '("fortran")
%generic-search-paths)))
+(define-public gdc
+ (hidden-package
+ (custom-gcc gcc-10 "gdc" '("d")
+ %generic-search-paths)))
+
(define-public libgccjit
(package
(inherit gcc-9)
--
2.25.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [bug#42196] [PATCH 2/2] gnu: Add gdc-toolchain.
2020-07-04 14:00 [bug#42197] [PATCH 1/2] gnu: Add gdc guy fleury iteriteka
@ 2020-07-04 14:00 ` guy fleury iteriteka
2020-07-24 10:38 ` bug#42196: " Ludovic Courtès
2020-07-16 14:43 ` [bug#42197] updated patch gfleury
1 sibling, 1 reply; 7+ messages in thread
From: guy fleury iteriteka @ 2020-07-04 14:00 UTC (permalink / raw)
To: 42196
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=yes, Size: 1304 bytes --]
* gnu/packages/commencement.scm(gdc-toolchain): New variable.
---
gnu/packages/commencement.scm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index ef250e0..510bf0b 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -8,6 +8,7 @@
;;; Copyright © 2018, 2019, 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2019, 2020 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2020 Timothy Sample <samplet@ngyro.com>
+;;; Copyright © 2020 Guy Fleury Iteriteka <gfleury@disroot.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -3909,5 +3910,12 @@ Fortran development to be installed in user profiles. This includes
gfortran, as well as libc (headers and binaries, plus debugging symbols
in the @code{debug} output), and binutils.")))
+(define-public gdc-toolchain
+ (package (inherit (make-gcc-toolchain gdc))
+ (synopsis "Complete GCC tool chain for D development")
+ (description "This package provides a complete GCC tool chain for
+D development to be installed in user profiles. This includes
+gdc, as well as libc (headers and binaries, plus debugging symbols
+in the @code{debug} output), and binutils.")))
;;; commencement.scm ends here
--
2.25.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [bug#42197] updated patch
2020-07-04 14:00 [bug#42197] [PATCH 1/2] gnu: Add gdc guy fleury iteriteka
2020-07-04 14:00 ` [bug#42196] [PATCH 2/2] gnu: Add gdc-toolchain guy fleury iteriteka
@ 2020-07-16 14:43 ` gfleury
2020-07-16 20:17 ` Efraim Flashner
2020-07-18 20:30 ` gfleury
1 sibling, 2 replies; 7+ messages in thread
From: gfleury @ 2020-07-16 14:43 UTC (permalink / raw)
To: 42197
[-- Attachment #1.1: Type: text/plain, Size: 30 bytes --]
ping with a revisited patch.
[-- Attachment #1.2: Type: text/html, Size: 262 bytes --]
[-- Attachment #2: 0001-gnu-Add-gdc.patch --]
[-- Type: application/octet-stream, Size: 796 bytes --]
From 8733b5f0593939f7f45da77c78b2c4134b7eee31 Mon Sep 17 00:00:00 2001
From: guy fleury iteriteka <gfleury@disroot.org>
Date: Thu, 16 Jul 2020 16:33:02 +0200
Subject: [PATCH 1/2] gnu: Add gdc.
* gnu/packages/commencement.scm(gdc-10): New variable
---
gnu/packages/gcc.scm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index 9e88109..9ff5e3d 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -692,6 +692,11 @@ as the 'native-search-paths' field."
(custom-gcc gcc "gfortran" '("fortran")
%generic-search-paths)))
+(define-public gdc-10
+ (hidden-package
+ (custom-gcc gcc-10 "gdc" '("d")
+ %generic-search-paths)))
+
(define-public libgccjit
(package
(inherit gcc-9)
--
2.25.1
[-- Attachment #3: 0002-gnu-Add-gdc-toolchain.patch --]
[-- Type: application/octet-stream, Size: 1661 bytes --]
From 13b2cb35940b5e90b1fe5388a902feed4ee1f000 Mon Sep 17 00:00:00 2001
From: guy fleury iteriteka <gfleury@disroot.org>
Date: Thu, 16 Jul 2020 16:35:14 +0200
Subject: [PATCH 2/2] gnu: Add gdc-toolchain.
* gnu/packages/commencement.scm(gdc-toolchain) New variable.
---
gnu/packages/commencement.scm | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index ef250e0..f86f514 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -8,6 +8,7 @@
;;; Copyright © 2018, 2019, 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2019, 2020 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2020 Timothy Sample <samplet@ngyro.com>
+;;; Copyright © 2020 Guy Fleury Iteriteka <gfleury@disroot.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -3897,6 +3898,14 @@ binaries, plus debugging symbols in the @code{debug} output), and Binutils.")
(define-public gcc-toolchain-10
(make-gcc-toolchain gcc-10))
+(define-public gdc-toolchain-10
+ (package (inherit (make-gcc-toolchain gdc-10))
+ (synopsis "Complete GCC tool chain for D lang development")
+ (description "This package provides a complete GCC tool chain for
+D lang development to be installed in user profiles. This includes
+gdc, as well as libc (headers and binaries, plus debugging symbols
+in the @code{debug} output), and binutils.")))
+
;; Provide the Fortran toolchain package only for the version of gfortran that
;; is used by Guix internally to build Fortran libraries, because combining
;; code compiled with different versions can cause problems.
--
2.25.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [bug#42197] updated patch
2020-07-16 14:43 ` [bug#42197] updated patch gfleury
@ 2020-07-16 20:17 ` Efraim Flashner
2020-07-18 20:30 ` gfleury
1 sibling, 0 replies; 7+ messages in thread
From: Efraim Flashner @ 2020-07-16 20:17 UTC (permalink / raw)
To: gfleury; +Cc: 42197
[-- Attachment #1: Type: text/plain, Size: 320 bytes --]
This looks good to me. Have you tested it with anything? I don't have a
D project to test it out with.
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* [bug#42197] updated patch
2020-07-16 14:43 ` [bug#42197] updated patch gfleury
2020-07-16 20:17 ` Efraim Flashner
@ 2020-07-18 20:30 ` gfleury
2020-07-19 17:25 ` bug#42197: " Efraim Flashner
1 sibling, 1 reply; 7+ messages in thread
From: gfleury @ 2020-07-18 20:30 UTC (permalink / raw)
To: Efraim Flashner; +Cc: 42197
hello,
16 juillet 2020 22:18 "Efraim Flashner" <efraim@flashner.co.il> a écrit:
> This looks good to me. Have you tested it with anything? I don't have a
> D project to test it out with.
yes. I compile gtkd and some d simple code i wrote.
but gdc alone don't work like gfortran that why it is hidden.
>
> --
> Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
> GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
> Confidentiality cannot be guaranteed on emails sent or received unencrypted
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#42197: updated patch
2020-07-18 20:30 ` gfleury
@ 2020-07-19 17:25 ` Efraim Flashner
0 siblings, 0 replies; 7+ messages in thread
From: Efraim Flashner @ 2020-07-19 17:25 UTC (permalink / raw)
To: gfleury; +Cc: 42197-done
[-- Attachment #1: Type: text/plain, Size: 660 bytes --]
On Sat, Jul 18, 2020 at 08:30:02PM +0000, gfleury@disroot.org wrote:
> hello,
>
> 16 juillet 2020 22:18 "Efraim Flashner" <efraim@flashner.co.il> a écrit:
>
> > This looks good to me. Have you tested it with anything? I don't have a
> > D project to test it out with.
>
> yes. I compile gtkd and some d simple code i wrote.
> but gdc alone don't work like gfortran that why it is hidden.
Sounds good to me. Patch pushed! Thanks.
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#42196: [PATCH 2/2] gnu: Add gdc-toolchain.
2020-07-04 14:00 ` [bug#42196] [PATCH 2/2] gnu: Add gdc-toolchain guy fleury iteriteka
@ 2020-07-24 10:38 ` Ludovic Courtès
0 siblings, 0 replies; 7+ messages in thread
From: Ludovic Courtès @ 2020-07-24 10:38 UTC (permalink / raw)
To: guy fleury iteriteka; +Cc: 42196-done
Hi,
guy fleury iteriteka <gfleury@disroot.org> skribis:
> * gnu/packages/commencement.scm(gdc-toolchain): New variable.
This was commit in 7b2ab96a6efcd30ce12371cac101f1f965ff20b8, closing!
Ludo’.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2020-07-24 10:39 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-04 14:00 [bug#42197] [PATCH 1/2] gnu: Add gdc guy fleury iteriteka
2020-07-04 14:00 ` [bug#42196] [PATCH 2/2] gnu: Add gdc-toolchain guy fleury iteriteka
2020-07-24 10:38 ` bug#42196: " Ludovic Courtès
2020-07-16 14:43 ` [bug#42197] updated patch gfleury
2020-07-16 20:17 ` Efraim Flashner
2020-07-18 20:30 ` gfleury
2020-07-19 17:25 ` bug#42197: " Efraim Flashner
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).