GNU bug report logs - #53834
[PATCH] gnu: Add cproc.

Previous Next

Package: guix-patches;

Reported by: jgart <jgart <at> dismail.de>

Date: Mon, 7 Feb 2022 01:58:01 UTC

Severity: normal

Tags: patch

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#53834: closed ([PATCH] gnu: Add cproc.)
Date: Tue, 05 Apr 2022 16:13:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 05 Apr 2022 18:12:29 +0200
with message-id <87o81fldaq.fsf <at> gnu.org>
and subject line Re: bug#53834: [PATCH] gnu: Add cproc.
has caused the debbugs.gnu.org bug report #53834,
regarding [PATCH] gnu: Add cproc.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
53834: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=53834
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: jgart <jgart <at> dismail.de>
To: guix-patches <at> gnu.org
Cc: jgart <jgart <at> dismail.de>
Subject: [PATCH] gnu: Add cproc.
Date: Sun,  6 Feb 2022 20:14:15 -0500
* gnu/packages/c.scm (cproc): New variable.
---

Hi Guixers,

This is a WIP in case anyone would like to help check/test/review this package.

cproc depends on qbe which is available from ticket 53833.

all best,

jgart

 gnu/packages/c.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm
index 8966b7b8d0..87a6d413bc 100644
--- a/gnu/packages/c.scm
+++ b/gnu/packages/c.scm
@@ -172,6 +172,38 @@ (define-public qbe
       (home-page "https://c9x.me/compile/")
       (license license:expat))))
 
+(define-public cproc
+  (let ((commit "51e61fa5fa3de8cabc2191a5c6ac4d18aaaaf049")
+        (revision "0"))
+    (package
+      (name "cproc")
+      (version (git-version "0.0" revision commit))
+      (source
+        (origin
+          (method git-fetch)
+          (uri
+            (git-reference
+              (url "https://git.sr.ht/~mcf/cproc")
+              (commit commit)))
+          (file-name (git-file-name name version))
+          (sha256
+           (base32
+            "1fyyqxg2fphh104yrn15az0w7vipkljkgspi6kzv8lyddl5758nj"))))
+      (build-system gnu-build-system)
+      (arguments
+       `(#:tests? #f
+         #:make-flags (list (string-append "CC=" ,(cc-for-target))
+                            (string-append "PREFIX=" %output))
+         #:phases
+         (modify-phases %standard-phases
+           (delete 'configure))))
+      (inputs
+        (list qbe))
+      (synopsis "C11 compiler")
+      (description "@code{cproc} is a C11 compiler using QBE as a backend.")
+      (home-page "https://sr.ht/~mcf/cproc")
+      (license license:expat))))
+
 (define-public libbytesize
   (package
     (name "libbytesize")
-- 
2.35.0



[Message part 3 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: jgart <jgart <at> dismail.de>
Cc: 53834-done <at> debbugs.gnu.org
Subject: Re: bug#53834: [PATCH] gnu: Add cproc.
Date: Tue, 05 Apr 2022 18:12:29 +0200
jgart <jgart <at> dismail.de> skribis:

> This is a WIP in case anyone would like to help check/test/review this package.
>
> cproc depends on qbe which is available from ticket 53833.

As with <https://issues.guix.gnu.org/53833>, please ping us when you
think that it can get in together with qbe.

Ludo’.


This bug report was last modified 2 years and 321 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.