From unknown Sun Jun 22 03:57:37 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#53833] [PATCH] gnu: Add qbe. Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 07 Feb 2022 01:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53833 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53833@debbugs.gnu.org Cc: jgart X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164419684818717 (code B ref -1); Mon, 07 Feb 2022 01:21:01 +0000 Received: (at submit) by debbugs.gnu.org; 7 Feb 2022 01:20:48 +0000 Received: from localhost ([127.0.0.1]:40453 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGshz-0004rp-OL for submit@debbugs.gnu.org; Sun, 06 Feb 2022 20:20:47 -0500 Received: from lists.gnu.org ([209.51.188.17]:52964) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGshx-0004rg-RI for submit@debbugs.gnu.org; Sun, 06 Feb 2022 20:20:46 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57090) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGshv-0001Ap-PC for guix-patches@gnu.org; Sun, 06 Feb 2022 20:20:45 -0500 Received: from [2a01:4f8:c17:e5e::2] (port=38915 helo=mx1.dismail.de) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGshm-0001yx-Sm for guix-patches@gnu.org; Sun, 06 Feb 2022 20:20:43 -0500 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id c8be7182 for ; Mon, 7 Feb 2022 02:13:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; s=20190914; bh=0MIm/QImGPAircRSBP67WMkXcVGAFcImVBsULlrS0ZA=; b= HZs4hkVhoBa9Soc0Nn04nNpLkea883p+MddMZtPTCuo/WcCLgf7UD4BKFm8ZEnyM bmi2i3QM2slxtyohpc4iJ2iWTF/Dzz4byrzUxuej69bwWpsYkoFkVJo29g8+XFeB OqpkTHBSI4bqTK5qssDEFkQeNfoAtiDszBSV5ezGrJD4t3Ni32BSXclOlWvR/in+ SZUBocRBVrYklcws77zY8C+gzpoq9HMKyGWclB+NfyJyh3Wq7PuYNS0Tc8ppPSrT O81PEgGrxgNtomyn5/brHl+1IFwDHGKMiYM4RWg3RobSzJhz9n48qOEt/X3uTjea jSPQH8q/STE2FmJkpFhXxw== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id ab16b334 for ; Mon, 7 Feb 2022 02:13:47 +0100 (CET) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id 91ff3752 for ; Mon, 7 Feb 2022 02:13:47 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id e11b45e5 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Mon, 7 Feb 2022 02:13:41 +0100 (CET) From: jgart Date: Sun, 6 Feb 2022 20:13:32 -0500 Message-Id: <20220207011332.27844-1-jgart@dismail.de> X-Mailer: git-send-email 2.35.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a01:4f8:c17:e5e::2 (failed) Received-SPF: pass client-ip=2a01:4f8:c17:e5e::2; envelope-from=jgart@dismail.de; helo=mx1.dismail.de X-Spam_score_int: -35 X-Spam_score: -3.6 X-Spam_bar: --- X-Spam_report: (-3.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) * gnu/packages/c.scm (qbe): New variable. --- gnu/packages/c.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm index 459d996fa2..8966b7b8d0 100644 --- a/gnu/packages/c.scm +++ b/gnu/packages/c.scm @@ -142,6 +142,36 @@ (define-public pcc ;; preferred. See http://pcc.ludd.ltu.se/licenses/ for more details. (license (list license:bsd-2 license:bsd-3)))) +(define-public qbe + (let ((commit "2ca6fb25a238842418019a3f9ee8d1beb1327f7e") + (revision "0")) + (package + (name "qbe") + (version (git-version "0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "git://c9x.me/qbe") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0qbnsrwk10v0s42vzxy2wvksd8xl8bmxfzqv2a4j4zjaklqgfd6j")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; Tests require a running qemu? + #:make-flags (list (string-append "CC=" ,(cc-for-target)) + (string-append "PREFIX=" %output)) + #:phases + (modify-phases %standard-phases + (delete 'configure)))) + (synopsis "Backend compiler") + (description "@code{qbe} is a compiler backend.") + (home-page "https://c9x.me/compile/") + (license license:expat)))) + (define-public libbytesize (package (name "libbytesize") -- 2.35.0 From unknown Sun Jun 22 03:57:37 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#53833] [PATCH] gnu: Add qbe. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 07 Feb 2022 09:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53833 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: jgart , 53833@debbugs.gnu.org Received: via spool by 53833-submit@debbugs.gnu.org id=B53833.164422723615102 (code B ref 53833); Mon, 07 Feb 2022 09:48:01 +0000 Received: (at 53833) by debbugs.gnu.org; 7 Feb 2022 09:47:16 +0000 Received: from localhost ([127.0.0.1]:41016 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nH0c7-0003vV-Ph for submit@debbugs.gnu.org; Mon, 07 Feb 2022 04:47:16 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:52783) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nH0c4-0003vK-P2 for 53833@debbugs.gnu.org; Mon, 07 Feb 2022 04:47:14 -0500 Received: from lprikler-laptop.ist.intra (gw.ist.tugraz.at [129.27.202.101]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4JshBP1fsnz3x6h; Mon, 7 Feb 2022 10:47:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1644227229; bh=bVI2Y8ZfJjKQViu9SB/hNU0ClIan2D5MIouUkIwzyK0=; h=Subject:From:To:Date:In-Reply-To:References; b=rvGmmOmlhHQ9UL4o6+5J4OcIBvqGBexjRVAIsnYjchx9aeJ2xnsA1nXZyx4cPbGd4 BKCzcOI9Z80fgQYOVGONvkw3aa56/twr4cZswx9e0+nO8JYT0WmefU+nuFGvhqptub P/CU8jDQykhbHAzEji6BllTixoS5SEs9HLN7s3nU= Message-ID: <7974e4fbf6a2b7beb41ead69a708a78a460b295e.camel@ist.tugraz.at> From: Liliana Marie Prikler Date: Mon, 07 Feb 2022 10:47:08 +0100 In-Reply-To: <20220207011332.27844-1-jgart@dismail.de> References: <20220207011332.27844-1-jgart@dismail.de> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: waObeELIUl4ypBWmcn/8wQ X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Am Sonntag, dem 06.02.2022 um 20:13 -0500 schrieb jgart: > * gnu/packages/c.scm (qbe): New variable. > --- >  gnu/packages/c.scm | 30 ++++++++++++++++++++++++++++++ >  1 file changed, 30 insertions(+) > > diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm > index 459d996fa2..8966b7b8d0 100644 > --- a/gnu/packages/c.scm > +++ b/gnu/packages/c.scm > @@ -142,6 +142,36 @@ (define-public pcc >      ;; preferred.  See http://pcc.ludd.ltu.se/licenses/ for more > details. >      (license (list license:bsd-2 license:bsd-3)))) >   > +(define-public qbe > +  (let ((commit "2ca6fb25a238842418019a3f9ee8d1beb1327f7e") > +        (revision "0")) > +    (package > +      (name "qbe") > +      (version (git-version "0.0" revision commit)) >From the homepage: "QBE is in constant change. It is a young project and I still have many ideas to try." As always, I don't think it's too good of an idea to package projects that tell you "this edge will make you bleed". Or in the words of the manual > Occasionally, we package snapshots of upstream’s version control > system (VCS) instead of formal releases. This should remain > exceptional, because it is up to upstream developers to clarify what > the stable release is. I think upstream is very clear here that QBE is not yet stable and therefore not something you'd want in a distro. Of course, since the recipe is a rather simple one, you can easily maintain it in your own channel -- or not package it at all and use it from source with just a C compiler. > +      (source > +        (origin > +          (method git-fetch) > +          (uri > +            (git-reference > +              (url "git://c9x.me/qbe") > +              (commit commit))) > +          (file-name (git-file-name name version)) > +          (sha256 > +           (base32 > +            > "0qbnsrwk10v0s42vzxy2wvksd8xl8bmxfzqv2a4j4zjaklqgfd6j")))) > +      (build-system gnu-build-system) > +      (arguments > +       `(#:tests? #f ; Tests require a running qemu? You should be able to add qemu to native-inputs if that's all it takes. > +         #:make-flags (list (string-append "CC=" ,(cc-for-target)) > +                            (string-append "PREFIX=" %output)) > +         #:phases > +         (modify-phases %standard-phases > +           (delete 'configure)))) > +      (synopsis "Backend compiler") > +      (description "@code{qbe} is a compiler backend.") It'd be nice if the description was more descriptive :) Also the synopsis should probably not invert the ordering of "compiler" and "backend". > +      (home-page "https://c9x.me/compile/") > +      (license license:expat)))) > + >  (define-public libbytesize >    (package >      (name "libbytesize") Cheers From unknown Sun Jun 22 03:57:37 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#53833] [PATCH] gnu: Add qbe. Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 08 Feb 2022 21:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53833 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Liliana Marie Prikler Cc: 53833@debbugs.gnu.org Received: via spool by 53833-submit@debbugs.gnu.org id=B53833.164435465715608 (code B ref 53833); Tue, 08 Feb 2022 21:11:01 +0000 Received: (at 53833) by debbugs.gnu.org; 8 Feb 2022 21:10:57 +0000 Received: from localhost ([127.0.0.1]:48895 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHXlE-00043c-Ie for submit@debbugs.gnu.org; Tue, 08 Feb 2022 16:10:57 -0500 Received: from mx1.dismail.de ([78.46.223.134]:38430) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHXlB-00043J-Ny for 53833@debbugs.gnu.org; Tue, 08 Feb 2022 16:10:51 -0500 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 1922d1de; Tue, 8 Feb 2022 22:10:42 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=date :message-id:from:to:cc:subject:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s= 20190914; bh=YB4B3UHjxg7HAPcDFt4STG/wrfOmIFME6cqjOPLSC1I=; b=epL NXgPnBeDdZnlF0fjMvHzEAzfjimFbvonvPFK69ZlKE8Cry36HFjeT5y8K66Y/ANT s5ObyxmYWsHCoD5RtBKAekoxWrB5VmPpOijaJvFVSeBGv3wQV6Gbq8ZHHvjponSX mUpmMukx6jFcxqZ/pFwQvASjg3mCq2ZDTqN9MvCWy3naUBT5oEsm8RWXhbKmkGj5 1YegOwFfa771TmJaGVzu60fLGxBriyMNF+8eVbUd3uCEUj12TIgq3DgCgocaJRaX CBXEQxZmr96kjuZorKYsMZlSF/kh52XIIHtEg2WJpEuEdtt37/CAfDijt9wUEY50 WGiCZruk6+Wa+VfpsKw== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 53b36afb; Tue, 8 Feb 2022 22:10:42 +0100 (CET) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id 1c344a66; Tue, 8 Feb 2022 22:10:42 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 77a274ec (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Tue, 8 Feb 2022 22:10:41 +0100 (CET) Date: Tue, 8 Feb 2022 16:10:34 -0500 Message-ID: <20220208161034.GB28776@gac.attlocal.net> From: jgart In-Reply-To: <7974e4fbf6a2b7beb41ead69a708a78a460b295e.camel@ist.tugraz.at> References: <20220207011332.27844-1-jgart@dismail.de> <7974e4fbf6a2b7beb41ead69a708a78a460b295e.camel@ist.tugraz.at> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Spam-Score: 0.9 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) On Mon, 07 Feb 2022 10:47:08 +0100 Liliana Marie Prikler wrote: > Am Sonntag, dem 06.02.2022 um 20:13 -0500 schrieb jgart: > > * gnu/packages/c.scm (qbe): New variable. > > --- > >  gnu/packages/c.scm | 30 ++++++++++++++++++++++++++++++ > >  1 file changed, 30 insertions(+) > > > > diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm > > index 459d996fa2..8966b7b8d0 100644 > > --- a/gnu/packages/c.scm > > +++ b/gnu/packages/c.scm > > @@ -142,6 +142,36 @@ (define-public pcc > >      ;; preferred.  See http://pcc.ludd.ltu.se/licenses/ for more > > details. > >      (license (list license:bsd-2 license:bsd-3)))) > >   > > +(define-public qbe > > +  (let ((commit "2ca6fb25a238842418019a3f9ee8d1beb1327f7e") > > +        (revision "0")) > > +    (package > > +      (name "qbe") > > +      (version (git-version "0.0" revision commit)) > From the homepage: "QBE is in constant change. It is a young project > and I still have many ideas to try." As always, I don't think it's too > good of an idea to package projects that tell you "this edge will make > you bleed". Or in the words of the manual > > > Occasionally, we package snapshots of upstream’s version control > > system (VCS) instead of formal releases. This should remain > > exceptional, because it is up to upstream developers to clarify what > > the stable release is. > I think upstream is very clear here that QBE is not yet stable and > therefore not something you'd want in a distro. Of course, since the > recipe is a rather simple one, you can easily maintain it in your own > channel -- or not package it at all and use it from source with just a > C compiler. Hi lilyp, Thanks for the review. It's much appreciated. Here's a recent talk from FOSDEM 2022 on qbe by Drew Devault in case you're interested in finding out more about it: https://fosdem.org/2022/schedule/event/lg_qbe/ I already have qbe in Guix 'R Us along with cproc: https://git.sr.ht/~whereiseveryone/guixrus/tree/master/item/guixrus/packages/qbe.scm#L43 If maintainers think it will be ready for Guix in the future ping me or feel free to send an update as you see fit. all best, jgart https://whereiseveryone.srht.site/ gemini://whereiseveryone.srht.site/ https://sr.ht/~mcf/cproc From unknown Sun Jun 22 03:57:37 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: jgart Subject: bug#53833: closed (Re: bug#53833: [PATCH] gnu: Add qbe.) Message-ID: References: <87sfqrldcu.fsf_-_@gnu.org> <20220207011332.27844-1-jgart@dismail.de> X-Gnu-PR-Message: they-closed 53833 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 53833@debbugs.gnu.org Date: Tue, 05 Apr 2022 16:12:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1649175122-21939-1" This is a multi-part message in MIME format... ------------=_1649175122-21939-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #53833: [PATCH] gnu: Add qbe. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 53833@debbugs.gnu.org. --=20 53833: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D53833 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1649175122-21939-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 53833-done) by debbugs.gnu.org; 5 Apr 2022 16:11:28 +0000 Received: from localhost ([127.0.0.1]:55927 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nblmC-0005gg-I7 for submit@debbugs.gnu.org; Tue, 05 Apr 2022 12:11:28 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40990) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nblm9-0005gP-Gq for 53833-done@debbugs.gnu.org; Tue, 05 Apr 2022 12:11:27 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35670) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nblm1-0007gY-Ei; Tue, 05 Apr 2022 12:11:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=8oZNE8AdkRbF4JPkOvJLlJtqLO/G4s7sD86Q5K8W0/E=; b=JgTsoRmblxdZV0uTydMY lNJZBQh94hBs8isW20WXLfCiyTl0S23yJxk9enQuRk4Kkx65kyQk3sUpGeJDmZ3HWjFKI5QwZhGBY X0rM0EhuBoGOEn6e/3we+aYLb5KlOKb2+XEAJnCLLhRUu5TjQQ+m0ru9rJpDuIYKhEJzhVT6VYw6H IYwRGYOyxw1hAKs13uwedfdVOSfr5AzptG+q8TVw/zdvrGRmCONq9DdDfQEgBOBTH6sfanjTKRSlD 4Cb4hNo1/o1Pt1Bfiv1UisDM7IYPanf62MAzqLvLn9BwRM8Cm+eIGhZ1YKga4TUq83/CIHnWpW5k3 NY3qZKtIv8W7SA==; Received: from [193.50.110.173] (port=58788 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nbllz-0005fN-Cq; Tue, 05 Apr 2022 12:11:16 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: jgart Subject: Re: bug#53833: [PATCH] gnu: Add qbe. References: <20220207011332.27844-1-jgart@dismail.de> <7974e4fbf6a2b7beb41ead69a708a78a460b295e.camel@ist.tugraz.at> <20220208161034.GB28776@gac.attlocal.net> Date: Tue, 05 Apr 2022 18:11:13 +0200 In-Reply-To: <20220208161034.GB28776@gac.attlocal.net> (jgart@dismail.de's message of "Tue, 8 Feb 2022 16:10:34 -0500") Message-ID: <87sfqrldcu.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 53833-done Cc: Liliana Marie Prikler , 53833-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi jgart, jgart skribis: > I already have qbe in Guix 'R Us along with cproc: > > https://git.sr.ht/~whereiseveryone/guixrus/tree/master/item/guixrus/packa= ges/qbe.scm#L43 > > If maintainers think it will be ready for Guix in the future ping me or > feel free to send an update as you see fit. I=E2=80=99m not opposed to including it if it=E2=80=99s useful but like you= write, since you have it in a channel, maybe we can wait until it=E2=80=99s mature enough before getting it in Guix proper. I=E2=80=99m closing this issue but feel free to ping us when you think it s= hould get in. Thanks, Ludo=E2=80=99. ------------=_1649175122-21939-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 7 Feb 2022 01:20:48 +0000 Received: from localhost ([127.0.0.1]:40453 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGshz-0004rp-OL for submit@debbugs.gnu.org; Sun, 06 Feb 2022 20:20:47 -0500 Received: from lists.gnu.org ([209.51.188.17]:52964) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGshx-0004rg-RI for submit@debbugs.gnu.org; Sun, 06 Feb 2022 20:20:46 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57090) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGshv-0001Ap-PC for guix-patches@gnu.org; Sun, 06 Feb 2022 20:20:45 -0500 Received: from [2a01:4f8:c17:e5e::2] (port=38915 helo=mx1.dismail.de) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGshm-0001yx-Sm for guix-patches@gnu.org; Sun, 06 Feb 2022 20:20:43 -0500 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id c8be7182 for ; Mon, 7 Feb 2022 02:13:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; s=20190914; bh=0MIm/QImGPAircRSBP67WMkXcVGAFcImVBsULlrS0ZA=; b= HZs4hkVhoBa9Soc0Nn04nNpLkea883p+MddMZtPTCuo/WcCLgf7UD4BKFm8ZEnyM bmi2i3QM2slxtyohpc4iJ2iWTF/Dzz4byrzUxuej69bwWpsYkoFkVJo29g8+XFeB OqpkTHBSI4bqTK5qssDEFkQeNfoAtiDszBSV5ezGrJD4t3Ni32BSXclOlWvR/in+ SZUBocRBVrYklcws77zY8C+gzpoq9HMKyGWclB+NfyJyh3Wq7PuYNS0Tc8ppPSrT O81PEgGrxgNtomyn5/brHl+1IFwDHGKMiYM4RWg3RobSzJhz9n48qOEt/X3uTjea jSPQH8q/STE2FmJkpFhXxw== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id ab16b334 for ; Mon, 7 Feb 2022 02:13:47 +0100 (CET) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id 91ff3752 for ; Mon, 7 Feb 2022 02:13:47 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id e11b45e5 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Mon, 7 Feb 2022 02:13:41 +0100 (CET) From: jgart To: guix-patches@gnu.org Subject: [PATCH] gnu: Add qbe. Date: Sun, 6 Feb 2022 20:13:32 -0500 Message-Id: <20220207011332.27844-1-jgart@dismail.de> X-Mailer: git-send-email 2.35.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a01:4f8:c17:e5e::2 (failed) Received-SPF: pass client-ip=2a01:4f8:c17:e5e::2; envelope-from=jgart@dismail.de; helo=mx1.dismail.de X-Spam_score_int: -35 X-Spam_score: -3.6 X-Spam_bar: --- X-Spam_report: (-3.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: jgart X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) * gnu/packages/c.scm (qbe): New variable. --- gnu/packages/c.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm index 459d996fa2..8966b7b8d0 100644 --- a/gnu/packages/c.scm +++ b/gnu/packages/c.scm @@ -142,6 +142,36 @@ (define-public pcc ;; preferred. See http://pcc.ludd.ltu.se/licenses/ for more details. (license (list license:bsd-2 license:bsd-3)))) +(define-public qbe + (let ((commit "2ca6fb25a238842418019a3f9ee8d1beb1327f7e") + (revision "0")) + (package + (name "qbe") + (version (git-version "0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "git://c9x.me/qbe") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0qbnsrwk10v0s42vzxy2wvksd8xl8bmxfzqv2a4j4zjaklqgfd6j")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; Tests require a running qemu? + #:make-flags (list (string-append "CC=" ,(cc-for-target)) + (string-append "PREFIX=" %output)) + #:phases + (modify-phases %standard-phases + (delete 'configure)))) + (synopsis "Backend compiler") + (description "@code{qbe} is a compiler backend.") + (home-page "https://c9x.me/compile/") + (license license:expat)))) + (define-public libbytesize (package (name "libbytesize") -- 2.35.0 ------------=_1649175122-21939-1-- From unknown Sun Jun 22 03:57:37 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#53833] [PATCH] gnu: Add qbe. In-Reply-To: <20220207011332.27844-1-jgart@dismail.de> Resent-From: paren@disroot.org Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 25 Apr 2022 20:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53833 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53833@debbugs.gnu.org Received: via spool by 53833-submit@debbugs.gnu.org id=B53833.165091732927629 (code B ref 53833); Mon, 25 Apr 2022 20:09:01 +0000 Received: (at 53833) by debbugs.gnu.org; 25 Apr 2022 20:08:49 +0000 Received: from localhost ([127.0.0.1]:36170 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nj50r-0007BZ-3J for submit@debbugs.gnu.org; Mon, 25 Apr 2022 16:08:49 -0400 Received: from knopi.disroot.org ([178.21.23.139]:36510) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nj50p-0007BR-Px for 53833@debbugs.gnu.org; Mon, 25 Apr 2022 16:08:48 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 3372042AF3 for <53833@debbugs.gnu.org>; Mon, 25 Apr 2022 22:08:47 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pAMq8CNJ22-E for <53833@debbugs.gnu.org>; Mon, 25 Apr 2022 22:08:45 +0200 (CEST) Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1650917324; bh=uHC4C0QQiT8MMJLShtyZKwFYF5FotWUbKJwKj3AvBMs=; h=Date:From:Subject:To:References; b=dGrpjI5TGrB4sKcwwzB+RQC5YTpHFIMFcVzm0pAvmMyFwNAavQ/dPUEj37tTRKgKv Jz4l7DmTI4nl+BVDoJSF4QB1Bx2s8JJTBKF11RCwFuLZv3pZLYcXT468FCiYciQGLg zp9czkMaE2YvssIURYC8O7KoScx64k5KoQR8KPzsMIGLoO0k+SKX8F9hkQ43tX/r92 N5H5xSEgDpQDhB7hvDZsv1hiC3c8UFiT9VGNJAbJfVHkrfQGD3wVKNxRyUl8/H0t81 z6csS2iSB3OqCqEYnyQdJhgA3XmPEj6DeTS35bN/0l3SwChde9ybPm+a1nvwehvMc0 6Oigeev4jmWIw== Date: Mon, 25 Apr 2022 20:08:44 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: paren@disroot.org Message-ID: References: undefined undefined X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) QBE is now being used in one reasonably mature project: https://harelang.= org https://harelang.org/=20 While=20it's not at 1.0 yet, it's been in development for ~2 (i think) ye= ars now. From unknown Sun Jun 22 03:57:37 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#53833] [PATCH] gnu: Add qbe. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 26 Apr 2022 07:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53833 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: paren@disroot.org, 53833@debbugs.gnu.org Cc: ludo@gnu.org Received: via spool by 53833-submit@debbugs.gnu.org id=B53833.165095901930850 (code B ref 53833); Tue, 26 Apr 2022 07:44:01 +0000 Received: (at 53833) by debbugs.gnu.org; 26 Apr 2022 07:43:39 +0000 Received: from localhost ([127.0.0.1]:36829 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njFrH-00081V-Dw for submit@debbugs.gnu.org; Tue, 26 Apr 2022 03:43:39 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:50936) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njFrF-00081N-Ar for 53833@debbugs.gnu.org; Tue, 26 Apr 2022 03:43:38 -0400 Received: from lprikler-laptop.ist.intra (gw.ist.tugraz.at [129.27.202.101]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4KnYln5TXXz3wCT; Tue, 26 Apr 2022 09:43:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1650959014; bh=fqkLhV7DA5vV6nc41JjoQV/0FKkW3xm84ePY2ND4Z+s=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=Hygv1E6NQAK4qKyeGJEH1OTrXML0kmtbPaNvdobVQ9s1pWvS31hj4xeFkAd5Fioa8 1vmpl+p/+ZcyIEejAZwhubHs044iZHvLER6mec1K6S+yfELrCPDTr7nQ6GKG5lda+T sPrH6FNjQ6JwvRjWCyHA487ySvcZnM0A75g8nX0w= Message-ID: From: Liliana Marie Prikler Date: Tue, 26 Apr 2022 09:43:34 +0200 In-Reply-To: <454d4c514fc4485670cf8f2ec891034c9014edc0@disroot.org> References: <454d4c514fc4485670cf8f2ec891034c9014edc0@disroot.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-TUG-Backscatter-control: waObeELIUl4ypBWmcn/8wQ X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -0.4 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Am Montag, dem 25.04.2022 um 20:05 +0000 schrieb paren@disroot.org: > QBE is now being used in one reasonably mature project: > https://harelang.org > > While it's not at 1.0 yet, it's been in development for ~2 (i think) > years now. I'm not asking for a 1.0, I'd be fine with a 0.1 or even a 0.0.1. As it stands, every place I look at says "this is experimental" rather than "you can use this and it ought to work as intended at least for these sample programs". Cheers From unknown Sun Jun 22 03:57:37 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#53833] [PATCH] gnu: Add qbe. In-Reply-To: <20220207011332.27844-1-jgart@dismail.de> Resent-From: paren@disroot.org Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 26 Apr 2022 18:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53833 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "Liliana Marie Prikler" , 53833@debbugs.gnu.org Received: via spool by 53833-submit@debbugs.gnu.org id=B53833.165099698017360 (code B ref 53833); Tue, 26 Apr 2022 18:17:02 +0000 Received: (at 53833) by debbugs.gnu.org; 26 Apr 2022 18:16:20 +0000 Received: from localhost ([127.0.0.1]:40520 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njPjX-0004Vv-QS for submit@debbugs.gnu.org; Tue, 26 Apr 2022 14:16:19 -0400 Received: from knopi.disroot.org ([178.21.23.139]:57650) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njPjW-0004Vk-9B for 53833@debbugs.gnu.org; Tue, 26 Apr 2022 14:16:19 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 7A97942AC3; Tue, 26 Apr 2022 20:16:16 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with UTF8SMTP id jJXIHRT93z9W; Tue, 26 Apr 2022 20:16:15 +0200 (CEST) Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1650996970; bh=DqMl1J1wXY/ThMp5YAo6ntBHsUb+K33XY4aKraUd+FI=; h=Date:From:Subject:To:References; b=JB3Fdql/taFvKjj/ZCPOwwhv7iw5TJSmlFfDv0DPaZZOZsJpLsJzUMn/JNP/rFAMU BWjrMLT6Vu5/kTcYejNhC+BmLZDPlzfEInq1hW9XYTc7d7avxCbEd+OYT4qhH55M3m ak5+As4/TowNUiGYZOy+ZoVXM5NktYFYwbdKmtifeBZsPyML0TiON2bvVI/onRD74M p46cQsZf+7KIoz4D7+mIzwLkzt0VuCRt5fsDyswMGV9LlnhKLkBVInozL77S7UWcxV JEYNkypef7NRu9kybk2zS5SMwOahAVniS5yRjbQbdwxVCYAo+JUJsPVr/5vmiBO9r7 aSNeJW3ZikdFw== Date: Tue, 26 Apr 2022 18:16:09 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: paren@disroot.org Message-ID: <93eb9d1f96c32f607f056fe3b3225f89d99f2a2e@disroot.org> References: undefined undefined X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > I'm not asking for a 1.0, I'd be fine with a 0.1 or even a 0.0.1. As > it stands, every place I look at says "this is experimental" rather > than "you can use this and it ought to work as intended at least for > these sample programs". Ah, I think you misunderstood slightly: I was saying that Hare was not ye= t at 1.0 yet (although QBE isn't either.) Regardless, I think it is matur= e enough for Guix, especially as a stable programming language uses it no= w. By the way, https://c9x.me/compile is really outdated, so its estimate on= QBE's stability is probably inaccurate by now. From unknown Sun Jun 22 03:57:37 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#53833] [PATCH] gnu: Add qbe. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 01 May 2022 13:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53833 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Liliana Marie Prikler Cc: paren@disroot.org, 55151@debbugs.gnu.org, 53833@debbugs.gnu.org Received: via spool by 53833-submit@debbugs.gnu.org id=B53833.165141098430288 (code B ref 53833); Sun, 01 May 2022 13:17:01 +0000 Received: (at 53833) by debbugs.gnu.org; 1 May 2022 13:16:24 +0000 Received: from localhost ([127.0.0.1]:59874 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nl9R1-0007sM-Kj for submit@debbugs.gnu.org; Sun, 01 May 2022 09:16:23 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41260) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nl9Qz-0007s2-Ne; Sun, 01 May 2022 09:16:22 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:37322) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nl9Qt-0005EL-19; Sun, 01 May 2022 09:16:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=xw5Hr4Zs+479KhxsntT7nvD1iOBI4u/6noTyafH40Pk=; b=rIz+H7hVP5Jum4F4Rdw+ kP29xz7P9fq3r425ybIFfTWS+lFsFtAefiDq3UQuk1oLOPO7g5mE4SAA0o/teyN1ZT3w3/KeESTvT jkJ2BVQj0CXHeOfsib/cJi1gXiKNaDvU/dkRe3W9MN2Ubs1csJsIPRZ8S+pZviEGmfDsWHnKHQjlx 9E/Ozh2rWf/QupU6QALrGr3XpFHoUG+EbZd+4Reqg3Gyh9XqKowOmMfpsKr07hDhvu9BIGvMDTFKQ uA0HuSdvAXEaTIOVcWdxeUz/JQnzqcwSR/gGhcnReUMjCXcAhZc+N6ShK2gULW9zf+NKnsZz+6yv/ tH7PweKEFDqnEA==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:51475 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nl9Qs-0007Ob-Ih; Sun, 01 May 2022 09:16:14 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <454d4c514fc4485670cf8f2ec891034c9014edc0@disroot.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 12 =?UTF-8?Q?Flor=C3=A9al?= an 230 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sun, 01 May 2022 15:16:13 +0200 In-Reply-To: (Liliana Marie Prikler's message of "Tue, 26 Apr 2022 09:43:34 +0200") Message-ID: <87h7694cma.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Liliana Marie Prikler skribis: > Am Montag, dem 25.04.2022 um 20:05 +0000 schrieb paren@disroot.org: >> QBE is now being used in one reasonably mature project: >> https://harelang.org >>=20 >> While it's not at 1.0 yet, it's been in development for ~2 (i think) >> years now. > I'm not asking for a 1.0, I'd be fine with a 0.1 or even a 0.0.1. As > it stands, every place I look at says "this is experimental" rather > than "you can use this and it ought to work as intended at least for > these sample programs". But that=E2=80=99s fine: having a web page at all, or one that doesn=E2=80= =99t read =E2=80=9Cexperimental=E2=80=9D, has never been a criterion for getting a pa= ckage in Guix. There=E2=80=99s now a second patch for qbe: https://issues.guix.gnu.org/55151 I propose to go ahead and apply it, adding anything missing from paren=E2= =80=99s initial patch. Thanks, Ludo=E2=80=99. From unknown Sun Jun 22 03:57:37 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#53833] [PATCH] gnu: Add qbe. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 02 May 2022 06:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53833 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: paren@disroot.org, Jon Eskin , jgart@dismail.de, 55151@debbugs.gnu.org, 53833@debbugs.gnu.org Received: via spool by 53833-submit@debbugs.gnu.org id=B53833.165147320912979 (code B ref 53833); Mon, 02 May 2022 06:34:01 +0000 Received: (at 53833) by debbugs.gnu.org; 2 May 2022 06:33:29 +0000 Received: from localhost ([127.0.0.1]:34680 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlPcf-0003NG-1p for submit@debbugs.gnu.org; Mon, 02 May 2022 02:33:29 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:28005) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlPcc-0003N0-Ok; Mon, 02 May 2022 02:33:28 -0400 Received: from lprikler-laptop.ist.intra (gw.ist.tugraz.at [129.27.202.101]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4KsCw339zmz3wMF; Mon, 2 May 2022 08:33:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1651473203; bh=nti2YGMSpChhBB9+nQTyfge6t6MwQnFWgbELFUxFR1Q=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=jNQxn+Zn4U3Mht1qXPuD9C31GHYJZo2RYbqKe3F0fclpebogesr6SMfxqWKbErE1c pgMNiKpI7k8FnajUoNM7h4vnzfWF1GnQ2tvNQ6q6h+owLlOnwCVKHiMS5hvveamm4S upbueKQikJfNpW532T/dNMG1kOhN6rtOofmhrnio= Message-ID: <23ff4ecaf07b3cec38d452d69785f1dd450581d7.camel@ist.tugraz.at> From: Liliana Marie Prikler Date: Mon, 02 May 2022 08:33:22 +0200 In-Reply-To: <87h7694cma.fsf@gnu.org> References: <454d4c514fc4485670cf8f2ec891034c9014edc0@disroot.org> <87h7694cma.fsf@gnu.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: waObeELIUl4ypBWmcn/8wQ X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -0.4 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Ludo, Am Sonntag, dem 01.05.2022 um 15:16 +0200 schrieb Ludovic Courtès: > Hi, > > Liliana Marie Prikler skribis: > > > Am Montag, dem 25.04.2022 um 20:05 +0000 schrieb paren@disroot.org: > > > > > QBE is now being used in one reasonably mature project: > > > https://harelang.org > > > > > > While it's not at 1.0 yet, it's been in development for ~2 (i > > > think) years now. > > I'm not asking for a 1.0, I'd be fine with a 0.1 or even a 0.0.1.  > > As it stands, every place I look at says "this is experimental" > > rather than "you can use this and it ought to work as intended at > > least for these sample programs". > > But that’s fine: having a web page at all, or one that doesn’t read > “experimental”, has never been a criterion for getting a package in > Guix. That's not my criterion either. My critierion is more or less "Will we have to revision-bump this package daily/every few days because people want to play with the latest stuff?" With upstream having seen no commit for three weeks at this point, I guess it might be fine. > There’s now a second patch for qbe: > >   https://issues.guix.gnu.org/55151 > > I propose to go ahead and apply it, adding anything missing from > paren’s initial patch. IMHO, paren's initial patch is slightly better in quality than 55151, but there are two (three) things lacking. First, the synopsis and description are subpar. 55151 has a slightly better synopsis, don't feel too sure about the description though. Second, the "fix-cc" phase from 55151 should be added after unpack ("patch-test-script" sounds like a better phase name). It might be better to use (cc-for-target) in the substitution rather than gcc, but note that this substitution only applies for native compilation anyway. cproc too seems to grow at a slower pace now. Might be worth moving stuff over from guixrus now. Note that the cproc package has #:tests #f without an explanation, though, so it needs some polishing. Cheers From unknown Sun Jun 22 03:57:37 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#53833] QBE and cproc upstreaming In-Reply-To: <20220207011332.27844-1-jgart@dismail.de> Resent-From: paren@disroot.org Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 07 May 2022 16:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53833 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53833@debbugs.gnu.org Cc: liliana.prikler@ist.tugraz.at Received: via spool by 53833-submit@debbugs.gnu.org id=B53833.16519412952923 (code B ref 53833); Sat, 07 May 2022 16:35:01 +0000 Received: (at 53833) by debbugs.gnu.org; 7 May 2022 16:34:55 +0000 Received: from localhost ([127.0.0.1]:52858 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nnNOQ-0000l4-NW for submit@debbugs.gnu.org; Sat, 07 May 2022 12:34:55 -0400 Received: from knopi.disroot.org ([178.21.23.139]:35680) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nnNOF-0000km-40 for 53833@debbugs.gnu.org; Sat, 07 May 2022 12:34:54 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 7D86B42FE3; Sat, 7 May 2022 18:34:42 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with UTF8SMTP id IgSGqjZBzFWW; Sat, 7 May 2022 18:34:41 +0200 (CEST) Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1651941280; bh=he5jmtNxe8RWHJgNgqeVUsJlvog32rJmJC6OpY7CNdU=; h=Date:From:Subject:To:Cc:References; b=aEDZy7TMtJaTvfWISVMyXjZH8+AMY+DZeXT2Ep9dViwv6rOkV4IC9AKdpe1exDoOg ++7JmWZmAUZLtX0HlzkyBOPCGvr7r5dd0vQ/y/Xa2TMOrYPfYMJkK1SOVk/+SQt5h3 y8290TrWtkd2b2jTOzFEl6vA0ZWrLvLw0sdw50DecNWmB8lRyoeynAMlPnj/zfGsnp zk41v0rCYryzMcCz1UWIEMhaeBBcj4IDYGUMFzYKKMdFyMrkZeVVvnWR4hJTYJE/lu Klz158VNbaLnCu7TbrRgbZaUoCx2sG6+8CXo+u5jSmx9k9px3U6oI2B02GTiL5w1pb vxOQ3KZE9e73Q== Date: Sat, 07 May 2022 16:34:40 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: paren@disroot.org Message-ID: <8b70a176c466220eea29aa967d104fdfc2ac93e6@disroot.org> References: undefined undefined X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Liliana, > IMHO, paren's initial patch is slightly better in quality than 55151, > but there are two (three) things lacking. First, the synopsis and > description are subpar. 55151 has a slightly better synopsis, don't > feel too sure about the description though. Second, the "fix-cc" phase > from 55151 should be added after unpack ("patch-test-script" sounds > like a better phase name). It might be better to use (cc-for-target) > in the substitution rather than gcc, but note that this substitution > only applies for native compilation anyway. I have made your suggested improvements, plus substantial changes to the = build recipe that allows you to cross-compile both QBE and cproc. I have confirmed that cross-comp= ilation works for aarch64 and riscv64. Here is the updated code: . The changes are as follows for qbe: * Patch the makefile to support cross-building with a TARGET variable. Th= is is done with a standalone patch. * Set "TARGET" to the appropriate target system. * Set the correct supported systems. (It supports x86_64, aarch64, and ri= scv64 currently.) * Improve the synopsis and description. * Update to the latest commit. Note that tests still aren't provided because they use QEMU. And cproc: * Reenable tests. Not sure why they were disabled in the first place... * Instead of skipping the configuration phase, replace it with an invocat= ion of cproc's hand-written ./configure. Pass the correct arguments to it to allow cross-compilation = to aarch64. * Use gcc:lib as an input to support cross-compilation. * Set the correct supported systems. (It supports riscv64 only under musl= libc right now.) * Improve the synopsis and description. * Update to the latest commit. I think they are ready for upstreaming now. I will send improved patches = to the appropriate issue threads. From unknown Sun Jun 22 03:57:37 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#53833] [PATCH] gnu: Add qbe. References: <20220207011332.27844-1-jgart@dismail.de> In-Reply-To: <20220207011332.27844-1-jgart@dismail.de> Resent-From: "(unmatched-parenthesis" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 07 May 2022 17:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53833 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53833@debbugs.gnu.org Cc: "\(unmatched-parenthesis" Received: via spool by 53833-submit@debbugs.gnu.org id=B53833.165194339114815 (code B ref 53833); Sat, 07 May 2022 17:10:02 +0000 Received: (at 53833) by debbugs.gnu.org; 7 May 2022 17:09:51 +0000 Received: from localhost ([127.0.0.1]:52902 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nnNwF-0003qt-K3 for submit@debbugs.gnu.org; Sat, 07 May 2022 13:09:51 -0400 Received: from knopi.disroot.org ([178.21.23.139]:36226) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nnNwE-0003qm-LS for 53833@debbugs.gnu.org; Sat, 07 May 2022 13:09:51 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id EB7F543675; Sat, 7 May 2022 19:09:49 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VBWRw6cq1zLs; Sat, 7 May 2022 19:09:48 +0200 (CEST) From: "(unmatched-parenthesis" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1651943387; bh=PUzpI6ym1jwuBWM61ZAwXSHzwv7Klwuky02cZFAtWts=; h=From:To:Cc:Subject:Date; b=SLD4c1pyUvt+fSuzlF/yPJP+0JAjbsQvOarGCXHVqgOJiIJzSihL2NCsHBuuEMUr+ ZjjgqKMwIsfVW3VNiAKw0Mf4XD/jQqfPcLi3ctnth0UGW5rp4od6mDLHYUJ4W1D4K6 FFz92UoEDaExt27HFy3ec1IJkl/w6MF564ySR5wMo9Wwg3lk7Ef6IMx7x02uj3SRaj rplpmb+kWtJV/iW35z/3AWGagjZtcLgwtGMXszHcTT74qFWldYYwCsTFimPQtoY4z7 h5RiLs+N+B2OK1yDbiIEHYinuyqQmmvn1nTfemMpyv1hToqX0FoVF30nwuIHju3oGA +SR7zaE0MTpwA== Date: Sat, 7 May 2022 18:09:42 +0100 Message-Id: <20220507170942.13785-1-paren@disroot.org> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/c.scm (qbe): New variable. Signed-off-by: (unmatched-parenthesis --- gnu/packages/c.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm index da034d5fd9..1e3296dae1 100644 --- a/gnu/packages/c.scm +++ b/gnu/packages/c.scm @@ -1064,3 +1064,36 @@ (define-public utf8-h C and C++. The functions it provides are like those from the C header string.h, but with a utf8* prefix instead of the str* prefix.") (license license:unlicense)))) + +(define-public qbe + (let ((commit "2caa26e388b1c904d2f12fb09f84df7e761d8331") + (revision "1")) + (package + (name "qbe") + (version (git-version "0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "git://c9x.me/qbe") + (commit commit))) + (file-name (git-file-name name version)) + (patches (search-patches "qbe-makefile-add-target.patch")) + (sha256 + (base32 "1gv03ym0gqrl4wkbhysa82025xwrkr1fg44z814b6vnggwlqgljc")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; Tests require a running qemu + #:make-flags ,#~(list (string-append "CC=" #$(cc-for-target)) + (string-append "PREFIX=" #$output) + (string-append "TARGET=" #$(or (%current-target-system) + (%current-system)))) + #:phases + (modify-phases %standard-phases + (delete 'configure)))) + (supported-systems (list "x86_64-linux" "aarch64-linux" "riscv64-linux")) + (synopsis "Simple, straightforward backend compiler") + (description "QBE is a compiler backend with the goal of reaching 70% of the +performance of advanced compilers such as LLVM and GCC in only 10% of the code.") + (home-page "https://c9x.me/compile/") + (license license:expat)))) -- 2.36.0 From unknown Sun Jun 22 03:57:37 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#53833] [PATCH] gnu: patches: Add qbe-makefile-add-target.patch. References: <20220207011332.27844-1-jgart@dismail.de> In-Reply-To: <20220207011332.27844-1-jgart@dismail.de> Resent-From: "(unmatched-parenthesis" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 07 May 2022 17:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53833 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53833@debbugs.gnu.org Cc: "\(unmatched-parenthesis" Received: via spool by 53833-submit@debbugs.gnu.org id=B53833.165194348114976 (code B ref 53833); Sat, 07 May 2022 17:12:02 +0000 Received: (at 53833) by debbugs.gnu.org; 7 May 2022 17:11:21 +0000 Received: from localhost ([127.0.0.1]:52906 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nnNxV-0003tF-Vw for submit@debbugs.gnu.org; Sat, 07 May 2022 13:11:21 -0400 Received: from knopi.disroot.org ([178.21.23.139]:52514) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nnNxT-0003t7-Tn for 53833@debbugs.gnu.org; Sat, 07 May 2022 13:11:08 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 3575E43674; Sat, 7 May 2022 19:11:07 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 269xLshh58-a; Sat, 7 May 2022 19:11:05 +0200 (CEST) From: "(unmatched-parenthesis" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1651943465; bh=HcWcCdJbIeSYlrKAuKsOW0Jvr8iEMJSMZ8JgJ9PV+vs=; h=From:To:Cc:Subject:Date; b=hO746lQJUnk61t/wx1qAHFch8/ydxZMsMyfOeJoHfTTeCta/QAoNXLUJkUFDDF3sk LSMJVNZn2NSz2m6JENXz72T0j1fonrp9Y1l24VYKUyvpPBAJ9k2+haVsZ+UMSUhLue bcEI8/RVZyer5sDTO6LBkthF3ha4afBPsWeAVl9lfu7aUpHDbt3RGS+S39YtmabF0H +vaYrI9odnA8ooi5ipQ1NnvvTqwAdvLAEPWK6CADWE9h1KM3XYNT8LsRDNe5OVqEBB 1nN5f6fs834AeItV349KugMXUVc1h7wanzUC5+4DxawVgs3hIUu0Ygx20tm+rBQ5AO SqL187KZ/iEHg== Date: Sat, 7 May 2022 18:11:04 +0100 Message-Id: <20220507171104.13861-1-paren@disroot.org> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/patches/qbe-makefile-add-target.patch: New variable. Signed-off-by: (unmatched-parenthesis --- .../patches/qbe-makefile-add-target.patch | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 gnu/packages/patches/qbe-makefile-add-target.patch diff --git a/gnu/packages/patches/qbe-makefile-add-target.patch b/gnu/packages/patches/qbe-makefile-add-target.patch new file mode 100644 index 0000000000..e87559c3fa --- /dev/null +++ b/gnu/packages/patches/qbe-makefile-add-target.patch @@ -0,0 +1,56 @@ +This patch modifies the QBE makefile to add a TARGET variable that allows us to support +cross-compiling it. We modify the case...esac in the config.h target to use this variable +instead of TARGET. +--- a/Makefile ++++ b/Makefile +@@ -17,6 +17,8 @@ OBJ = $(SRC:%.c=$(OBJDIR)/%.o) $(AMD64OBJ) $(ARM64OBJ) $(RV64OBJ) + + CFLAGS += -Wall -Wextra -std=c99 -g -pedantic + ++TARGET = unknown ++ + $(OBJDIR)/$(BIN): $(OBJ) $(OBJDIR)/timestamp + @test -z "$(V)" || echo "ld $@" + $(V)$(CC) $(LDFLAGS) $(OBJ) -o $@ +@@ -39,26 +41,21 @@ $(RV64OBJ): rv64/all.h + $(OBJDIR)/main.o: config.h + + config.h: +- @case `uname` in \ +- *Darwin*) \ +- echo "#define Defasm Gasmacho"; \ +- echo "#define Deftgt T_amd64_sysv"; \ +- ;; \ +- *) \ +- echo "#define Defasm Gaself"; \ +- case `uname -m` in \ +- *aarch64*) \ +- echo "#define Deftgt T_arm64"; \ +- ;; \ +- *riscv64*) \ +- echo "#define Deftgt T_rv64"; \ +- ;; \ +- *) \ +- echo "#define Deftgt T_amd64_sysv";\ +- ;; \ +- esac \ +- ;; \ +- esac > $@ ++ @echo "#define Defasm Gaself" >> $@ ++ @case $(TARGET) in \ ++ *x86_64*) \ ++ echo "#define Deftgt T_amd64_sysv"; \ ++ ;; \ ++ *aarch64*) \ ++ echo "#define Deftgt T_arm64"; \ ++ ;; \ ++ *riscv64*) \ ++ echo "#define Deftgt T_rv64"; \ ++ ;; \ ++ *) \ ++ echo "#error target not set to x86_64, aarch64, or riscv64 in makefile"; \ ++ ;; \ ++ esac >> $@ + + install: $(OBJDIR)/$(BIN) + mkdir -p "$(DESTDIR)/$(PREFIX)/bin/" -- 2.36.0 From unknown Sun Jun 22 03:57:37 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#53833] [PATCH] gnu: packages: c: Add (unmatched parenthesis copyright statement. References: <20220207011332.27844-1-jgart@dismail.de> In-Reply-To: <20220207011332.27844-1-jgart@dismail.de> Resent-From: "(unmatched-parenthesis" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 07 May 2022 17:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53833 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53833@debbugs.gnu.org Cc: "\(unmatched-parenthesis" Received: via spool by 53833-submit@debbugs.gnu.org id=B53833.165194410015923 (code B ref 53833); Sat, 07 May 2022 17:22:01 +0000 Received: (at 53833) by debbugs.gnu.org; 7 May 2022 17:21:40 +0000 Received: from localhost ([127.0.0.1]:52915 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nnO7g-00048l-Gf for submit@debbugs.gnu.org; Sat, 07 May 2022 13:21:40 -0400 Received: from knopi.disroot.org ([178.21.23.139]:59568) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nnO7f-00048e-1R for 53833@debbugs.gnu.org; Sat, 07 May 2022 13:21:39 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 632B74366E; Sat, 7 May 2022 19:21:38 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rghUz_IsAT_Y; Sat, 7 May 2022 19:21:37 +0200 (CEST) From: "(unmatched-parenthesis" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1651944097; bh=3LPp5MkBUAdkv0lnXoAVs7HBbiS3QBfH3+3dsbYP0J4=; h=From:To:Cc:Subject:Date; b=bdzdI7pApZGPxizQrabBN0yxTPZDGkARs+Rf80QB8U/8ERuWnhqj7AnqSxGnDEDhG W6x0hmV17uIDN91O9p9n9apnJdIuojFzQkTTgs76JTmDlRA4JyjNPCJsQTCboodJjC HEia97R2unXd31Ac7O4VtdK1oBkKc5HPdUZn9k46DH2NdLtqby5iQBk1zgTghxmpHG 5UOil/k+EItgoEtEhvZVS7IKCWjtlhqNR1xOr7dLN0lPc7hhF8k200es9/EWGFnP70 nfHzzUY5G5nhHHq0kNMZ0N9oWo7JVwFeIfmTbU9dkPCooIV+63sCwE0mEEp6TXD39N mRDgH3D29OxZg== Date: Sat, 7 May 2022 18:21:35 +0100 Message-Id: <20220507172135.14701-1-paren@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/c.scm: Add my copyright line. Signed-off-by: (unmatched-parenthesis --- I forgot to add my copyright AGAIN /o\ I am extremely absent-minded :P gnu/packages/c.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm index e03ea2e6eb..1477734718 100644 --- a/gnu/packages/c.scm +++ b/gnu/packages/c.scm @@ -13,6 +13,7 @@ ;;; Copyright © 2020, 2021 Greg Hogan ;;; Copyright © 2021 David Dashyan ;;; Copyright © 2021 Foo Chuan Wei +;;; Copyright © 2022 (unmatched parenthesis ;;; ;;; This file is part of GNU Guix. ;;; -- 2.36.0 From unknown Sun Jun 22 03:57:37 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#53833] Upstreaming QBE and cproc References: <20220207011332.27844-1-jgart@dismail.de> In-Reply-To: <20220207011332.27844-1-jgart@dismail.de> Resent-From: paren@disroot.org Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 07 May 2022 18:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53833 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53833@debbugs.gnu.org Received: via spool by 53833-submit@debbugs.gnu.org id=B53833.165194757929803 (code B ref 53833); Sat, 07 May 2022 18:20:02 +0000 Received: (at 53833) by debbugs.gnu.org; 7 May 2022 18:19:39 +0000 Received: from localhost ([127.0.0.1]:52938 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nnP1n-0007kd-LQ for submit@debbugs.gnu.org; Sat, 07 May 2022 14:19:39 -0400 Received: from knopi.disroot.org ([178.21.23.139]:42824) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nnP1l-0007kV-Pr for 53833@debbugs.gnu.org; Sat, 07 May 2022 14:19:38 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 2DFC74367E for <53833@debbugs.gnu.org>; Sat, 7 May 2022 20:19:37 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1AwlQXfEbsaw for <53833@debbugs.gnu.org>; Sat, 7 May 2022 20:19:36 +0200 (CEST) Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1651947576; bh=o2DilxTyxSMYUa8piQRR6AMbrRk05tPYQ/JYd4Ywy2s=; h=Date:From:Subject:To; b=CLx1ufZgeLP06GRIl6iKDPKJGHqIYWpXlFQB9kRC/w2PSSPgnitgffXQV1S6e7EGv UKqyOvUsPD19gCEuri30LbUq+2nX0gYPVwBkyxsqVO671C/nTe0v8fgfiN0lMjiFH8 2MzsZAP4KSEY/+Ogz89gI2QHNh/+FQ1H9cwEIQ38kK8cmf3Uw80NcwnppCFQE5rbfU Y+jxxcAQzkEmrTpC1OZADecgCt9snS7DSvTQ6YSDk1qNeZJdlnoOk57hE5GC7QCb4X IGAmdFLMvaczXx7lWjtk9/SCPYC56nO/MewZZxgkvCDM1fVr15Be9GsMrnfnRcqEfM 4BoO76KTqxnKw== Date: Sat, 07 May 2022 18:19:35 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: paren@disroot.org Message-ID: <838884700bc7082f7c62407b4cf9c1ec85dc3e54@disroot.org> X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) I just noticed that the QBE makefile patch contains a mistake in the desc= ription: > This patch modifies the QBE makefile to add a TARGET variable that allo= ws us to support > cross-compiling it. We modify the case...esac in the config.h target to= use this variable > instead of TARGET. "instead of TARGET" should be "instead of uname". I can't really see much= point in submitting a whole v2 patch for that, especially since i've alr= eady made further adjustments to the c.scm file for cproc, so could whoev= er merges this change that please? Thanks! From unknown Sun Jun 22 03:57:37 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#53833] [PATCH v2] gnu: Add qbe. References: <20220207011332.27844-1-jgart@dismail.de> In-Reply-To: <20220207011332.27844-1-jgart@dismail.de> Resent-From: "(unmatched-parenthesis" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 08 May 2022 20:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53833 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53833@debbugs.gnu.org Cc: "\(unmatched-parenthesis" Received: via spool by 53833-submit@debbugs.gnu.org id=B53833.165204134510397 (code B ref 53833); Sun, 08 May 2022 20:23:01 +0000 Received: (at 53833) by debbugs.gnu.org; 8 May 2022 20:22:25 +0000 Received: from localhost ([127.0.0.1]:55313 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nnnQ3-0002hV-Is for submit@debbugs.gnu.org; Sun, 08 May 2022 16:22:25 -0400 Received: from knopi.disroot.org ([178.21.23.139]:46158) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nnnQ1-0002hM-7S for 53833@debbugs.gnu.org; Sun, 08 May 2022 16:22:18 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 97A1E435E9; Sun, 8 May 2022 22:22:15 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id W9U_BMJuB_0X; Sun, 8 May 2022 22:22:13 +0200 (CEST) From: "(unmatched-parenthesis" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1652041333; bh=DRJOqEsD0A0uXEgGIucVwq9KSafRhsRAQIb3XPKzT4Y=; h=From:To:Cc:Subject:Date; b=AozXMSfiqGDSHOGM8+IK/qeaGQKBLQRutquP9PAOEQOleBKHnF44TEQ8q2DCj7Gql 54rqn1FNjgRB0oub/5wKGhAsQhPIX0CsUjvLQihqY2Hb5SxvVXGS7dywJ9Iiscy3Wm izYQaPaL6TvY+ag7yhLhKw7/cRE/CdA2B1eWICIcDjGZOszHzFCQzxPJ/BwtL6nyaS hbDR7uq2VqBgEhDTRP1WMBVwxHqRhtvxmWl7eGKhO4IyHZs9+saVQJULIJQfz+dkKZ FB/R5/j1UZrSWdL5dnTqoiSYpv41tdprRNj9kZ8rTsEnc5LKvcNWfnGjHoqoReUxqx KWufRH2bbF09A== Date: Sun, 8 May 2022 21:21:55 +0100 Message-Id: <20220508202154.9648-1-paren@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/c.scm (qbe): New variable. Signed-off-by: (unmatched-parenthesis --- This improved patch (1) squashes the three commits together, (2) enables tests for QBE, and (3) fixes some style nits. Thanks to lilyp for feedback on #guix! gnu/packages/c.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm index da034d5fd9..c9a25eb801 100644 --- a/gnu/packages/c.scm +++ b/gnu/packages/c.scm @@ -13,6 +13,7 @@ ;;; Copyright © 2020, 2021 Greg Hogan ;;; Copyright © 2021 David Dashyan ;;; Copyright © 2021 Foo Chuan Wei +;;; Copyright © 2022 (unmatched parenthesis ;;; ;;; This file is part of GNU Guix. ;;; @@ -1064,3 +1065,46 @@ (define-public utf8-h C and C++. The functions it provides are like those from the C header string.h, but with a utf8* prefix instead of the str* prefix.") (license license:unlicense)))) + +(define-public qbe + (let ((commit "2caa26e388b1c904d2f12fb09f84df7e761d8331") + (revision "1")) + (package + (name "qbe") + (version (git-version "0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "git://c9x.me/qbe") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1gv03ym0gqrl4wkbhysa82025xwrkr1fg44z814b6vnggwlqgljc")))) + (build-system gnu-build-system) + (arguments + (list #:make-flags + #~(list (string-append "CC=" #$(cc-for-target)) + (string-append "PREFIX=" #$output) + ;; `GUIXTARGET` is used instead of `TARGET` to avoid changing + ;; the meaning of tools/test.sh (which uses `TARGET` too). + (string-append "GUIXTARGET=" #$(or (%current-target-system) + (%current-system)))) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'allow-cross-compilation + (lambda _ + (substitute* "Makefile" + (("`uname -m`") "$(GUIXTARGET)")))) + (add-after 'allow-cross-compilation 'use-gcc-for-tests + (lambda _ + (substitute* "tools/test.sh" + (("cc=\"cc -no-pie\"") + (string-append "cc=\"${CC} -no-pie\""))))) + (delete 'configure)))) + (supported-systems (list "x86_64-linux" "aarch64-linux" "riscv64-linux")) + (synopsis "Simple compiler backend") + (description "QBE is a small compiler backend using an SSA-based intermediate +language as input.") + (home-page "https://c9x.me/compile/") + (license license:expat)))) -- 2.36.0 From debbugs-submit-bounces@debbugs.gnu.org Tue May 24 02:43:39 2022 Received: (at control) by debbugs.gnu.org; 24 May 2022 06:43:39 +0000 Received: from localhost ([127.0.0.1]:50788 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntOGZ-0001XV-4o for submit@debbugs.gnu.org; Tue, 24 May 2022 02:43:39 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:36731) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntOGW-0001XL-8C for control@debbugs.gnu.org; Tue, 24 May 2022 02:43:37 -0400 Received: from lprikler-laptop.ist.intra (gw.ist.tugraz.at [129.27.202.101]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4L6l5c6HhRz3xbl for ; Tue, 24 May 2022 08:43:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1653374612; bh=jWJ91umRF81OsMtq4e2g2qbKmtL7TAHJ2MadcW6i6k8=; h=Subject:From:To:Date; b=pBGsjVHBs+NT8Am9T82q2ehenllbJeTK7aDA5wvTsrNODqgUKeppU9tWemUiuxiNU 7HYy/Hrexwb7xMBWnm5gydEgVBuB9DEoLjQHaNqOCF/gmcP59XIrTxtFjfJrUSiYOd kFTb22eO0YgRgkFnJ22a2n/M1s8q0ZONieUy3qes= Message-ID: <8fdea3aaa79939d25f1fbe1a7b92b7f73ae20cc1.camel@ist.tugraz.at> Subject: From: Liliana Marie Prikler To: control@debbugs.gnu.org Date: Tue, 24 May 2022 08:43:31 +0200 Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-TUG-Backscatter-control: waObeELIUl4ypBWmcn/8wQ X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 X-Spam-Score: 1.4 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: merge 53833 55151 55605 merge 55187 55606 block 55187 by 53833 block 53834 by 53833 thanks Content analysis details: (1.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [129.27.2.202 listed in wl.mailspike.net] -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [129.27.2.202 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 SPF_NONE SPF: sender does not publish an SPF Record 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 2.0 BLANK_SUBJECT Subject is present but empty -0.0 T_SCC_BODY_TEXT_LINE No description available. 1.7 BODY_EMPTY No body text in message X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.4 (/) merge 53833 55151 55605 merge 55187 55606 block 55187 by 53833 block 53834 by 53833 thanks From unknown Sun Jun 22 03:57:37 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#53833] [PATCH v2] gnu: Add qbe. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 24 May 2022 06:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53833 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "(unmatched-parenthesis" , 53833@debbugs.gnu.org Received: via spool by 53833-submit@debbugs.gnu.org id=B53833.165337505115175 (code B ref 53833); Tue, 24 May 2022 06:51:01 +0000 Received: (at 53833) by debbugs.gnu.org; 24 May 2022 06:50:51 +0000 Received: from localhost ([127.0.0.1]:50801 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntONX-0003wh-BS for submit@debbugs.gnu.org; Tue, 24 May 2022 02:50:51 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:40079) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntONR-0003wW-R3 for 53833@debbugs.gnu.org; Tue, 24 May 2022 02:50:49 -0400 Received: from lprikler-laptop.ist.intra (gw.ist.tugraz.at [129.27.202.101]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4L6lFt4gK6z1LZX3; Tue, 24 May 2022 08:50:42 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4L6lFt4gK6z1LZX3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1653375042; bh=4DXFL0ktUzHfDye7G8rgABfS7DpoK4Mv7gs6gvIzl1w=; h=Subject:From:To:Date:In-Reply-To:References:From; b=OP8+DlqxZfYtD6MPI+ja16eJt0RZgexCw+526ERv9qh2u2BTSYcz9YEkkpKWcIsXQ pfexMQfa2Yecy3PK2YuI2eTSppSy/tGOXAppK2OCQjWfWmdHVUwdF27HCvlFvQUoxP kW3uHugATqv0Rh/f6f1BWDaax/mZHhFCZdhRltdg= Message-ID: <2b0a34e61f45a706afb7e84a5cac9aae8a9e10aa.camel@ist.tugraz.at> From: Liliana Marie Prikler Date: Tue, 24 May 2022 08:50:41 +0200 In-Reply-To: <20220508202154.9648-1-paren@disroot.org> References: <20220508202154.9648-1-paren@disroot.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: waObeELIUl4ypBWmcn/8wQ X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -0.4 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, this is mostly a reminder for myself to push this soon. Am Sonntag, dem 08.05.2022 um 21:21 +0100 schrieb (unmatched- parenthesis: > * gnu/packages/c.scm (qbe): New variable. > > Signed-off-by: (unmatched-parenthesis Don't add sign-off headers for your own patches, those are for committers signing of other people's patches :) > [...] > +    (arguments > +     (list #:make-flags > +           #~(list (string-append "CC=" #$(cc-for-target)) > +                   (string-append "PREFIX=" #$output) > +                   ;; `GUIXTARGET` is used instead of `TARGET` to > avoid changing > +                   ;; the meaning of tools/test.sh (which uses > `TARGET` too). > +                   (string-append "GUIXTARGET=" #$(or (%current- > target-system) > +                                                      (%current- > system)))) > +           #:phases > +           #~(modify-phases %standard-phases > +               (add-after 'unpack 'allow-cross-compilation > +                 (lambda _ > +                   (substitute* "Makefile" > +                     (("`uname -m`") "$(GUIXTARGET)")))) Instead of going through the variable, why not inline it into the substitute*? > +               (add-after 'allow-cross-compilation 'use-gcc-for- > tests > +                 (lambda _ > +                   (substitute* "tools/test.sh" > +                     (("cc=\"cc -no-pie\"") > +                      (string-append "cc=\"${CC} -no-pie\""))))) > +               (delete 'configure)))) > +    (supported-systems (list "x86_64-linux" "aarch64-linux" > "riscv64-linux")) > +    (synopsis "Simple compiler backend") > +    (description "QBE is a small compiler backend using an SSA-based > intermediate > +language as input.") > +    (home-page "https://c9x.me/compile/") > +    (license license:expat)))) Otherwise LGTM. Cheers From unknown Sun Jun 22 03:57:37 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: jgart Subject: bug#53833: closed (Re: [PATCH v2] gnu: Add qbe.) Message-ID: References: <956d04d18e0dd7474550167906f0aadc09cac98d.camel@gmail.com> <20220207011332.27844-1-jgart@dismail.de> X-Gnu-PR-Message: they-closed 53833 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 53833@debbugs.gnu.org Date: Tue, 24 May 2022 19:45:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1653421501-22494-1" This is a multi-part message in MIME format... ------------=_1653421501-22494-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #53833: [PATCH] gnu: Add qbe. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 53833@debbugs.gnu.org. --=20 53833: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D53833 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1653421501-22494-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 53833-done) by debbugs.gnu.org; 24 May 2022 19:44:53 +0000 Received: from localhost ([127.0.0.1]:53502 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntaSM-0005q6-Lh for submit@debbugs.gnu.org; Tue, 24 May 2022 15:44:53 -0400 Received: from mail-ej1-f66.google.com ([209.85.218.66]:33441) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntaSH-0005pp-U8 for 53833-done@debbugs.gnu.org; Tue, 24 May 2022 15:44:37 -0400 Received: by mail-ej1-f66.google.com with SMTP id f9so37517976ejc.0 for <53833-done@debbugs.gnu.org>; Tue, 24 May 2022 12:44:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:date:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=FmKIOpjSdCdIaJQ5+OXLvuygRhEymVdyrLycwQoXNSE=; b=VF1nzto1s58QUuBj7ezKgnuaYl57RdVV7nSSwDhunfxKbn6R+uDsTlV6JItAUhNv9j y1tDv5DUWKfU0kIE36MJYLkkUxZFZCu93inclMVRiUJo6cQhIXuQJ+1pmjkjXPRm9VKd xY0k7WbKPeqT2CR3JFZTKjbYKL50yEOYBFHBsXqPRYok+W+Tle+q4zhfXhI9D3M+JdmZ qAHFIgKRuyGlU4iCKadY+8zoFDvfq+XTtwsgRI6Zl4eN7DV1sAAMngujAvEkw/s3HUF7 MfD3uMt3A2yRLbNXadko5aOJ7AXdt/XY7BRFwa4ZyX8vR5Ta0eRF7de7xK4FxDnvFw5+ Z0jQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=FmKIOpjSdCdIaJQ5+OXLvuygRhEymVdyrLycwQoXNSE=; b=FSXaA8gluwH5rms0MQnDeQL4zPCr5qR9Zie6tjKxIsAVTpTSloEkSafFpA9HnN7xO/ Iw/96KNd+TqLXO4X2BSgT4hQ+L2SARf9CRJOxWLyCJUohBO2sC94IlpvXoFDQAQ1o/ks oJy99QIQWwDp5emlTfgYNRi3+dZlt7wvLaHkFZ39Qg4bCy1Et7EHywayTvnHY2sZoE4I gsL4BL7UXt/zqsalECePKZLKkOMx2bHL65C6uJGkE/8UIDZG+DzDk2IoJRjHOpNmIJky VptYqRSQM+I4WYPX9hARATSbBPaV523Pv3plOPrBb4DpQVHUM5om8zdN6+0zMFmEXBxS c6Wg== X-Gm-Message-State: AOAM5313HBuWKKLFusVIZDKDEvZI4ngifZyOjegqmZginuhmAHW39J8K Xa+/FWHeW/LqBfA4v3vvCrQ= X-Google-Smtp-Source: ABdhPJz1ZTl1nv1XWj3fGJ4mRpvTSpM3jy/NTElHlAUxAtbFONj0Zrya+cfw87FC+QTkUx0RlC02+w== X-Received: by 2002:a17:906:b10f:b0:6fe:a059:f6f4 with SMTP id u15-20020a170906b10f00b006fea059f6f4mr22984608ejy.194.1653421467843; Tue, 24 May 2022 12:44:27 -0700 (PDT) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id cz26-20020a0564021cba00b0042aad7448besm9732133edb.18.2022.05.24.12.44.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 May 2022 12:44:27 -0700 (PDT) Message-ID: <956d04d18e0dd7474550167906f0aadc09cac98d.camel@gmail.com> Subject: Re: [PATCH v2] gnu: Add qbe. From: Liliana Marie Prikler To: "(unmatched-parenthesis" , 53833-done@debbugs.gnu.org Date: Tue, 24 May 2022 21:44:26 +0200 In-Reply-To: <2b0a34e61f45a706afb7e84a5cac9aae8a9e10aa.camel@ist.tugraz.at> References: <20220508202154.9648-1-paren@disroot.org> <2b0a34e61f45a706afb7e84a5cac9aae8a9e10aa.camel@ist.tugraz.at> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 53833-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Am Dienstag, dem 24.05.2022 um 08:50 +0200 schrieb Liliana Marie Prikler: > Hi, this is mostly a reminder for myself to push this soon. > > Am Sonntag, dem 08.05.2022 um 21:21 +0100 schrieb (unmatched- > parenthesis: > > * gnu/packages/c.scm (qbe): New variable. > > > > Signed-off-by: (unmatched-parenthesis > Don't add sign-off headers for your own patches, those are for > committers signing of other people's patches :) > > > [...] > > +    (arguments > > +     (list #:make-flags > > +           #~(list (string-append "CC=" #$(cc-for-target)) > > +                   (string-append "PREFIX=" #$output) > > +                   ;; `GUIXTARGET` is used instead of `TARGET` to > > avoid changing > > +                   ;; the meaning of tools/test.sh (which uses > > `TARGET` too). > > +                   (string-append "GUIXTARGET=" #$(or (%current- > > target-system) > > +                                                      (%current- > > system)))) > > +           #:phases > > +           #~(modify-phases %standard-phases > > +               (add-after 'unpack 'allow-cross-compilation > > +                 (lambda _ > > +                   (substitute* "Makefile" > > +                     (("`uname -m`") "$(GUIXTARGET)")))) > Instead of going through the variable, why not inline it into the > substitute*? > > +               (add-after 'allow-cross-compilation 'use-gcc-for- > > tests > > +                 (lambda _ > > +                   (substitute* "tools/test.sh" > > +                     (("cc=\"cc -no-pie\"") > > +                      (string-append "cc=\"${CC} -no-pie\""))))) > > +               (delete 'configure)))) > > +    (supported-systems (list "x86_64-linux" "aarch64-linux" > > "riscv64-linux")) > > +    (synopsis "Simple compiler backend") > > +    (description "QBE is a small compiler backend using an SSA- > > based > > intermediate > > +language as input.") > > +    (home-page "https://c9x.me/compile/") > > +    (license license:expat)))) > > Otherwise LGTM. Applied with the above as well as my liberal interpretation of what passes as `guix style'. Cheers ------------=_1653421501-22494-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 7 Feb 2022 01:20:48 +0000 Received: from localhost ([127.0.0.1]:40453 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGshz-0004rp-OL for submit@debbugs.gnu.org; Sun, 06 Feb 2022 20:20:47 -0500 Received: from lists.gnu.org ([209.51.188.17]:52964) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGshx-0004rg-RI for submit@debbugs.gnu.org; Sun, 06 Feb 2022 20:20:46 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57090) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGshv-0001Ap-PC for guix-patches@gnu.org; Sun, 06 Feb 2022 20:20:45 -0500 Received: from [2a01:4f8:c17:e5e::2] (port=38915 helo=mx1.dismail.de) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGshm-0001yx-Sm for guix-patches@gnu.org; Sun, 06 Feb 2022 20:20:43 -0500 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id c8be7182 for ; Mon, 7 Feb 2022 02:13:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; s=20190914; bh=0MIm/QImGPAircRSBP67WMkXcVGAFcImVBsULlrS0ZA=; b= HZs4hkVhoBa9Soc0Nn04nNpLkea883p+MddMZtPTCuo/WcCLgf7UD4BKFm8ZEnyM bmi2i3QM2slxtyohpc4iJ2iWTF/Dzz4byrzUxuej69bwWpsYkoFkVJo29g8+XFeB OqpkTHBSI4bqTK5qssDEFkQeNfoAtiDszBSV5ezGrJD4t3Ni32BSXclOlWvR/in+ SZUBocRBVrYklcws77zY8C+gzpoq9HMKyGWclB+NfyJyh3Wq7PuYNS0Tc8ppPSrT O81PEgGrxgNtomyn5/brHl+1IFwDHGKMiYM4RWg3RobSzJhz9n48qOEt/X3uTjea jSPQH8q/STE2FmJkpFhXxw== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id ab16b334 for ; Mon, 7 Feb 2022 02:13:47 +0100 (CET) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id 91ff3752 for ; Mon, 7 Feb 2022 02:13:47 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id e11b45e5 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Mon, 7 Feb 2022 02:13:41 +0100 (CET) From: jgart To: guix-patches@gnu.org Subject: [PATCH] gnu: Add qbe. Date: Sun, 6 Feb 2022 20:13:32 -0500 Message-Id: <20220207011332.27844-1-jgart@dismail.de> X-Mailer: git-send-email 2.35.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a01:4f8:c17:e5e::2 (failed) Received-SPF: pass client-ip=2a01:4f8:c17:e5e::2; envelope-from=jgart@dismail.de; helo=mx1.dismail.de X-Spam_score_int: -35 X-Spam_score: -3.6 X-Spam_bar: --- X-Spam_report: (-3.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: jgart X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) * gnu/packages/c.scm (qbe): New variable. --- gnu/packages/c.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm index 459d996fa2..8966b7b8d0 100644 --- a/gnu/packages/c.scm +++ b/gnu/packages/c.scm @@ -142,6 +142,36 @@ (define-public pcc ;; preferred. See http://pcc.ludd.ltu.se/licenses/ for more details. (license (list license:bsd-2 license:bsd-3)))) +(define-public qbe + (let ((commit "2ca6fb25a238842418019a3f9ee8d1beb1327f7e") + (revision "0")) + (package + (name "qbe") + (version (git-version "0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "git://c9x.me/qbe") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0qbnsrwk10v0s42vzxy2wvksd8xl8bmxfzqv2a4j4zjaklqgfd6j")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; Tests require a running qemu? + #:make-flags (list (string-append "CC=" ,(cc-for-target)) + (string-append "PREFIX=" %output)) + #:phases + (modify-phases %standard-phases + (delete 'configure)))) + (synopsis "Backend compiler") + (description "@code{qbe} is a compiler backend.") + (home-page "https://c9x.me/compile/") + (license license:expat)))) + (define-public libbytesize (package (name "libbytesize") -- 2.35.0 ------------=_1653421501-22494-1-- From unknown Sun Jun 22 03:57:37 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Jon Eskin Subject: bug#55150: closed (Re: [PATCH v2] gnu: Add qbe.) Message-ID: References: <956d04d18e0dd7474550167906f0aadc09cac98d.camel@gmail.com> X-Gnu-PR-Message: they-closed 55150 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 55150@debbugs.gnu.org Date: Tue, 24 May 2022 19:45:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1653421502-22494-3" This is a multi-part message in MIME format... ------------=_1653421502-22494-3 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #53833: [PATCH] gnu: Add qbe. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 55150@debbugs.gnu.org. --=20 53833: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D53833 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1653421502-22494-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 53833-done) by debbugs.gnu.org; 24 May 2022 19:44:53 +0000 Received: from localhost ([127.0.0.1]:53502 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntaSM-0005q6-Lh for submit@debbugs.gnu.org; Tue, 24 May 2022 15:44:53 -0400 Received: from mail-ej1-f66.google.com ([209.85.218.66]:33441) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntaSH-0005pp-U8 for 53833-done@debbugs.gnu.org; Tue, 24 May 2022 15:44:37 -0400 Received: by mail-ej1-f66.google.com with SMTP id f9so37517976ejc.0 for <53833-done@debbugs.gnu.org>; Tue, 24 May 2022 12:44:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:date:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=FmKIOpjSdCdIaJQ5+OXLvuygRhEymVdyrLycwQoXNSE=; b=VF1nzto1s58QUuBj7ezKgnuaYl57RdVV7nSSwDhunfxKbn6R+uDsTlV6JItAUhNv9j y1tDv5DUWKfU0kIE36MJYLkkUxZFZCu93inclMVRiUJo6cQhIXuQJ+1pmjkjXPRm9VKd xY0k7WbKPeqT2CR3JFZTKjbYKL50yEOYBFHBsXqPRYok+W+Tle+q4zhfXhI9D3M+JdmZ qAHFIgKRuyGlU4iCKadY+8zoFDvfq+XTtwsgRI6Zl4eN7DV1sAAMngujAvEkw/s3HUF7 MfD3uMt3A2yRLbNXadko5aOJ7AXdt/XY7BRFwa4ZyX8vR5Ta0eRF7de7xK4FxDnvFw5+ Z0jQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=FmKIOpjSdCdIaJQ5+OXLvuygRhEymVdyrLycwQoXNSE=; b=FSXaA8gluwH5rms0MQnDeQL4zPCr5qR9Zie6tjKxIsAVTpTSloEkSafFpA9HnN7xO/ Iw/96KNd+TqLXO4X2BSgT4hQ+L2SARf9CRJOxWLyCJUohBO2sC94IlpvXoFDQAQ1o/ks oJy99QIQWwDp5emlTfgYNRi3+dZlt7wvLaHkFZ39Qg4bCy1Et7EHywayTvnHY2sZoE4I gsL4BL7UXt/zqsalECePKZLKkOMx2bHL65C6uJGkE/8UIDZG+DzDk2IoJRjHOpNmIJky VptYqRSQM+I4WYPX9hARATSbBPaV523Pv3plOPrBb4DpQVHUM5om8zdN6+0zMFmEXBxS c6Wg== X-Gm-Message-State: AOAM5313HBuWKKLFusVIZDKDEvZI4ngifZyOjegqmZginuhmAHW39J8K Xa+/FWHeW/LqBfA4v3vvCrQ= X-Google-Smtp-Source: ABdhPJz1ZTl1nv1XWj3fGJ4mRpvTSpM3jy/NTElHlAUxAtbFONj0Zrya+cfw87FC+QTkUx0RlC02+w== X-Received: by 2002:a17:906:b10f:b0:6fe:a059:f6f4 with SMTP id u15-20020a170906b10f00b006fea059f6f4mr22984608ejy.194.1653421467843; Tue, 24 May 2022 12:44:27 -0700 (PDT) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id cz26-20020a0564021cba00b0042aad7448besm9732133edb.18.2022.05.24.12.44.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 May 2022 12:44:27 -0700 (PDT) Message-ID: <956d04d18e0dd7474550167906f0aadc09cac98d.camel@gmail.com> Subject: Re: [PATCH v2] gnu: Add qbe. From: Liliana Marie Prikler To: "(unmatched-parenthesis" , 53833-done@debbugs.gnu.org Date: Tue, 24 May 2022 21:44:26 +0200 In-Reply-To: <2b0a34e61f45a706afb7e84a5cac9aae8a9e10aa.camel@ist.tugraz.at> References: <20220508202154.9648-1-paren@disroot.org> <2b0a34e61f45a706afb7e84a5cac9aae8a9e10aa.camel@ist.tugraz.at> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 53833-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Am Dienstag, dem 24.05.2022 um 08:50 +0200 schrieb Liliana Marie Prikler: > Hi, this is mostly a reminder for myself to push this soon. > > Am Sonntag, dem 08.05.2022 um 21:21 +0100 schrieb (unmatched- > parenthesis: > > * gnu/packages/c.scm (qbe): New variable. > > > > Signed-off-by: (unmatched-parenthesis > Don't add sign-off headers for your own patches, those are for > committers signing of other people's patches :) > > > [...] > > +    (arguments > > +     (list #:make-flags > > +           #~(list (string-append "CC=" #$(cc-for-target)) > > +                   (string-append "PREFIX=" #$output) > > +                   ;; `GUIXTARGET` is used instead of `TARGET` to > > avoid changing > > +                   ;; the meaning of tools/test.sh (which uses > > `TARGET` too). > > +                   (string-append "GUIXTARGET=" #$(or (%current- > > target-system) > > +                                                      (%current- > > system)))) > > +           #:phases > > +           #~(modify-phases %standard-phases > > +               (add-after 'unpack 'allow-cross-compilation > > +                 (lambda _ > > +                   (substitute* "Makefile" > > +                     (("`uname -m`") "$(GUIXTARGET)")))) > Instead of going through the variable, why not inline it into the > substitute*? > > +               (add-after 'allow-cross-compilation 'use-gcc-for- > > tests > > +                 (lambda _ > > +                   (substitute* "tools/test.sh" > > +                     (("cc=\"cc -no-pie\"") > > +                      (string-append "cc=\"${CC} -no-pie\""))))) > > +               (delete 'configure)))) > > +    (supported-systems (list "x86_64-linux" "aarch64-linux" > > "riscv64-linux")) > > +    (synopsis "Simple compiler backend") > > +    (description "QBE is a small compiler backend using an SSA- > > based > > intermediate > > +language as input.") > > +    (home-page "https://c9x.me/compile/") > > +    (license license:expat)))) > > Otherwise LGTM. Applied with the above as well as my liberal interpretation of what passes as `guix style'. Cheers ------------=_1653421502-22494-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 27 Apr 2022 14:31:14 +0000 Received: from localhost ([127.0.0.1]:43874 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njihG-0002or-Fn for submit@debbugs.gnu.org; Wed, 27 Apr 2022 10:31:14 -0400 Received: from lists.gnu.org ([209.51.188.17]:45628) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njfrV-00068e-Lo for submit@debbugs.gnu.org; Wed, 27 Apr 2022 07:29:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43616) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njfrV-0006g0-Fq for guix-patches@gnu.org; Wed, 27 Apr 2022 07:29:37 -0400 Received: from mail-qk1-x72b.google.com ([2607:f8b0:4864:20::72b]:39919) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1njfrT-0001DP-Vx for guix-patches@gnu.org; Wed, 27 Apr 2022 07:29:37 -0400 Received: by mail-qk1-x72b.google.com with SMTP id q75so1022929qke.6 for ; Wed, 27 Apr 2022 04:29:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:mime-version:subject:message-id:date:to; bh=1YzMNPeURvW8l6a5P/cbn/himjEwu9S87/lfy9jmKD8=; b=CbF9CelU8kprB1v6br8ak0qT7V8Ajw3ANPOM9Mx1Lc86RmsXbSU0yYN/pAAlvYWn8r e1GXNs5xVWcNSbdYiM4bTzVywqNMQJHWf82nDC5fOcywbxN6gvnHnJfb0FkaQxTmw8VX rvYCUdNxTzZGHwmRU6YPnOPBA/ijzTWycnWrXYLDbWvdb2ShBsQC+qBbOcJHhBKYQfeH YwV5BcihAU6GMw2So7P2/shMYcLaba4B3cxRAP8wKTzBO20dk9E8R8CznpPoY/Gw1q53 adSWnOJsMdLq2t+lSEQbgECleV0DnR/r1fpCKMQVPiqqKXxmTcsiuXhRNQtTt1XcX+r6 +YeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:mime-version:subject:message-id:date:to; bh=1YzMNPeURvW8l6a5P/cbn/himjEwu9S87/lfy9jmKD8=; b=h6DePd7NYn7AnXwUkL7+DA16rIrE2If+/HVQA5iy2HN2xwGBEIHky8HkMM9gz+xAss Cq+U/3oyui54YN/rs0WsJoq9ydKOMSAhkC3EVHp0AH0yTGgXY9kcU81k4eDgbqMumzwf cdZmy13xyuVvoZqEiV3mYARE+48d6x35zuBhvQHop6JbP4edfrv8J3F1/QWHJv1Dgbfg 2y3V0JIcctlqTadKyB87C3cnwhHAZiMzDx64i158RCRWduuRhZRYrRBviNiUHAsEdI7i dJErfUnGC8oJT1nBkQtmKmbQaZ0spffFjqItfcqvc3RFaznvxjZ8UBBtO1Quq/NwUuuD b6Gw== X-Gm-Message-State: AOAM531qxjW+tKozyvrFgF++DKHgd/JWD0CFeUJFFMxMjYG3/XojtF+r bxk880YtSmumI5GGSR7oKCg8VfirZh4= X-Google-Smtp-Source: ABdhPJzKqN7k1sk+MicGMVIoAqAM//9Amv0tnRmPeAMM3/GhTCY8GeWMc5xKNdX0hTsKahgZGhN9QA== X-Received: by 2002:a37:9e4b:0:b0:69f:87d2:e686 with SMTP id h72-20020a379e4b000000b0069f87d2e686mr2848186qke.169.1651058974500; Wed, 27 Apr 2022 04:29:34 -0700 (PDT) Received: from smtpclient.apple (pool-108-31-85-19.washdc.fios.verizon.net. [108.31.85.19]) by smtp.gmail.com with ESMTPSA id bl22-20020a05620a1a9600b00680da570a5dsm7966382qkb.61.2022.04.27.04.29.33 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Apr 2022 04:29:33 -0700 (PDT) From: Jon Eskin Content-Type: multipart/mixed; boundary="Apple-Mail=_1CD149DF-6F13-4A05-879E-D33F0AABA0DE" Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.80.82.1.1\)) Subject: [PATCH] gnu: Add qbe. Message-Id: Date: Wed, 27 Apr 2022 07:29:32 -0400 To: guix-patches@gnu.org X-Mailer: Apple Mail (2.3696.80.82.1.1) Received-SPF: pass client-ip=2607:f8b0:4864:20::72b; envelope-from=eskinjp@gmail.com; helo=mail-qk1-x72b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 27 Apr 2022 10:31:14 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --Apple-Mail=_1CD149DF-6F13-4A05-879E-D33F0AABA0DE Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hello, I=E2=80=99ve packaged the qbe compiler backend. I=E2=80=99m new to GUIX, = so let me know if I messed anything up! Jon --Apple-Mail=_1CD149DF-6F13-4A05-879E-D33F0AABA0DE Content-Disposition: attachment; filename=0001-gnu-Add-qbe.patch Content-Type: application/octet-stream; x-unix-mode=0644; name="0001-gnu-Add-qbe.patch" Content-Transfer-Encoding: quoted-printable =46rom=20c81d8d7489f157611f56fdd44d0fc05553e95f7f=20Mon=20Sep=2017=20= 00:00:00=202001=0AFrom:=20Jon=20Eskin=20=0ADate:=20= Wed,=2027=20Apr=202022=2005:48:54=20-0400=0ASubject:=20[PATCH]=20gnu:=20= Add=20qbe.=0A=0A---=0A=20gnu/local.mk=20=20=20=20=20=20=20=20=20|=20=202=20= ++=0A=20gnu/packages/qbe.scm=20|=2056=20= ++++++++++++++++++++++++++++++++++++++++++++=0A=202=20files=20changed,=20= 58=20insertions(+)=0A=20create=20mode=20100644=20gnu/packages/qbe.scm=0A=0A= diff=20--git=20a/gnu/local.mk=20b/gnu/local.mk=0Aindex=20= 9bad87710c..1c4a418a33=20100644=0A---=20a/gnu/local.mk=0A+++=20= b/gnu/local.mk=0A@@=20-50,6=20+50,7=20@@=0A=20#=20Copyright=20=C2=A9=20= 2022=20Daniel=20Mei=C3=9Fner=20=0A= =20#=20Copyright=20=C2=A9=202022=20Remco=20van=20't=20Veer=20= =0A=20#=20Copyright=20=C2=A9=202022=20Artyom=20V.=20= Poptsov=20=0A+#=20Copyright=20=C2=A9=202022=20= Jon=20Eskin=20=0A=20#=0A=20#=20This=20file=20is=20= part=20of=20GNU=20Guix.=0A=20#=0A@@=20-503,6=20+504,7=20@@=20= GNU_SYSTEM_MODULES=20=3D=09=09=09=09\=0A=20=20=20= %D%/packages/python-xyz.scm=09=09=09\=0A=20=20=20%D%/packages/toys.scm=09= =09=09=09\=0A=20=20=20%D%/packages/tryton.scm=09=09=09\=0A+=20=20= %D%/packages/qbe.scm=09=09=09=09\=0A=20=20=20%D%/packages/qt.scm=09=09=09= =09\=0A=20=20=20%D%/packages/racket.scm=09=09=09\=0A=20=20=20= %D%/packages/radio.scm=09=09=09\=0Adiff=20--git=20a/gnu/packages/qbe.scm=20= b/gnu/packages/qbe.scm=0Anew=20file=20mode=20100644=0Aindex=20= 0000000000..426566666c=0A---=20/dev/null=0A+++=20b/gnu/packages/qbe.scm=0A= @@=20-0,0=20+1,56=20@@=0A+;;;=20GNU=20Guix=20---=20Functional=20package=20= management=20for=20GNU=0A+;;;=20Copyright=20=C2=A9=202022=20Jon=20Eskin=20= =0A+;;;=0A+;;;=20This=20file=20is=20part=20of=20GNU=20= Guix.=0A+;;;=0A+;;;=20GNU=20Guix=20is=20free=20software;=20you=20can=20= redistribute=20it=20and/or=20modify=20it=0A+;;;=20under=20the=20terms=20= of=20the=20GNU=20General=20Public=20License=20as=20published=20by=0A+;;;=20= the=20Free=20Software=20Foundation;=20either=20version=203=20of=20the=20= License,=20or=20(at=0A+;;;=20your=20option)=20any=20later=20version.=0A= +;;;=0A+;;;=20GNU=20Guix=20is=20distributed=20in=20the=20hope=20that=20= it=20will=20be=20useful,=20but=0A+;;;=20WITHOUT=20ANY=20WARRANTY;=20= without=20even=20the=20implied=20warranty=20of=0A+;;;=20MERCHANTABILITY=20= or=20FITNESS=20FOR=20A=20PARTICULAR=20PURPOSE.=20=20See=20the=0A+;;;=20= GNU=20General=20Public=20License=20for=20more=20details.=0A+;;;=0A+;;;=20= You=20should=20have=20received=20a=20copy=20of=20the=20GNU=20General=20= Public=20License=0A+;;;=20along=20with=20GNU=20Guix.=20=20If=20not,=20= see=20.=0A+=0A+(define-module=20(gnu=20= packages=20qbe)=0A+=20=20#:use-module=20(guix=20packages)=0A+=20=20= #:use-module=20(guix=20build-system=20gnu)=0A+=20=20#:use-module=20(guix=20= git-download)=0A+=20=20#:use-module=20(guix=20licenses))=0A+=0A= +(define-public=20qbe=0A+=20=20(package=0A+=20=20=20=20(name=20"qbe")=0A= +=20=20=20=20(version=20"2022.04.11")=0A+=20=20=20=20(source=20(origin=0A= +=20=20=20=20=20=20=20=20=20=20=20=20=20=20(method=20git-fetch)=0A+=20=20= =20=20=20=20=20=20=20=20=20=20=20=20(uri=0A+=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20(git-reference=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20(url=20"git://c9x.me/qbe.git")=0A+=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20(commit=20"2caa26e388b1c904d2f12fb09f84df7e761d8331")))=0A= +=20=20=20=20=20=20=20=20=20=20=20=20=20=20(file-name=20(git-file-name=20= name=20version))=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20(sha256=0A= +=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20(base32=0A+=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20= "1gv03ym0gqrl4wkbhysa82025xwrkr1fg44z814b6vnggwlqgljc"))))=0A+=20=20=20=20= (build-system=20gnu-build-system)=0A+=20=20=20=20(arguments=0A+=20=20=20=20= =20'(#:make-flags=20(list=20(string-append=20"PREFIX=3D"=20(assoc-ref=20= %outputs=20"out"))=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20"CC=3Dgcc")=0A+=20=20=20=20=20=20=20#:phases=20= (modify-phases=20%standard-phases=0A+=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20(delete=20'configure)=0A+=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20(add-before=20'check=20'fix-cc=0A+=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20(lambda*=20(#:key=20inputs=20= outputs=20#:allow-other-keys)=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20;;=20fix=20test=20script=20overriding=20= environment=20variable=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20(substitute*=20"tools/test.sh"=0A+=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20(("cc=3D\"cc=20= -no-pie\"")=20"cc=3D\"gcc=20-no-pie\""))=0A+=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20#t)))))=0A+=20=20=20=20(synopsis=20= "Lightweight=20compiler=20backend")=0A+=20=20=20=20(description=0A+=20=20= =20=20=20"QBE=20aims=20to=20be=20a=20pure=20C=20embeddable=20backend=20= that=20provides=2070%=20of=20the=0A+performance=20of=20advanced=20= compilers=20in=2010%=20of=20the=20code.")=0A+=20=20=20=20(home-page=20= "https://c9x.me/compile/")=0A+=20=20=20=20(license=20expat)))=0A--=20=0A= 2.32.0=20(Apple=20Git-132)=0A=0A= --Apple-Mail=_1CD149DF-6F13-4A05-879E-D33F0AABA0DE-- ------------=_1653421502-22494-3-- From unknown Sun Jun 22 03:57:37 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Jon Eskin Subject: bug#55151: closed (Re: [PATCH v2] gnu: Add qbe.) Message-ID: References: <956d04d18e0dd7474550167906f0aadc09cac98d.camel@gmail.com> <645F64B5-672D-48DB-B3CB-6B621E56AA49@gmail.com> X-Gnu-PR-Message: they-closed 55151 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 55151@debbugs.gnu.org Date: Tue, 24 May 2022 19:45:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1653421502-22494-5" This is a multi-part message in MIME format... ------------=_1653421502-22494-5 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #53833: [PATCH] gnu: Add qbe. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 55151@debbugs.gnu.org. --=20 53833: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D53833 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1653421502-22494-5 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 53833-done) by debbugs.gnu.org; 24 May 2022 19:44:53 +0000 Received: from localhost ([127.0.0.1]:53502 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntaSM-0005q6-Lh for submit@debbugs.gnu.org; Tue, 24 May 2022 15:44:53 -0400 Received: from mail-ej1-f66.google.com ([209.85.218.66]:33441) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntaSH-0005pp-U8 for 53833-done@debbugs.gnu.org; Tue, 24 May 2022 15:44:37 -0400 Received: by mail-ej1-f66.google.com with SMTP id f9so37517976ejc.0 for <53833-done@debbugs.gnu.org>; Tue, 24 May 2022 12:44:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:date:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=FmKIOpjSdCdIaJQ5+OXLvuygRhEymVdyrLycwQoXNSE=; b=VF1nzto1s58QUuBj7ezKgnuaYl57RdVV7nSSwDhunfxKbn6R+uDsTlV6JItAUhNv9j y1tDv5DUWKfU0kIE36MJYLkkUxZFZCu93inclMVRiUJo6cQhIXuQJ+1pmjkjXPRm9VKd xY0k7WbKPeqT2CR3JFZTKjbYKL50yEOYBFHBsXqPRYok+W+Tle+q4zhfXhI9D3M+JdmZ qAHFIgKRuyGlU4iCKadY+8zoFDvfq+XTtwsgRI6Zl4eN7DV1sAAMngujAvEkw/s3HUF7 MfD3uMt3A2yRLbNXadko5aOJ7AXdt/XY7BRFwa4ZyX8vR5Ta0eRF7de7xK4FxDnvFw5+ Z0jQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=FmKIOpjSdCdIaJQ5+OXLvuygRhEymVdyrLycwQoXNSE=; b=FSXaA8gluwH5rms0MQnDeQL4zPCr5qR9Zie6tjKxIsAVTpTSloEkSafFpA9HnN7xO/ Iw/96KNd+TqLXO4X2BSgT4hQ+L2SARf9CRJOxWLyCJUohBO2sC94IlpvXoFDQAQ1o/ks oJy99QIQWwDp5emlTfgYNRi3+dZlt7wvLaHkFZ39Qg4bCy1Et7EHywayTvnHY2sZoE4I gsL4BL7UXt/zqsalECePKZLKkOMx2bHL65C6uJGkE/8UIDZG+DzDk2IoJRjHOpNmIJky VptYqRSQM+I4WYPX9hARATSbBPaV523Pv3plOPrBb4DpQVHUM5om8zdN6+0zMFmEXBxS c6Wg== X-Gm-Message-State: AOAM5313HBuWKKLFusVIZDKDEvZI4ngifZyOjegqmZginuhmAHW39J8K Xa+/FWHeW/LqBfA4v3vvCrQ= X-Google-Smtp-Source: ABdhPJz1ZTl1nv1XWj3fGJ4mRpvTSpM3jy/NTElHlAUxAtbFONj0Zrya+cfw87FC+QTkUx0RlC02+w== X-Received: by 2002:a17:906:b10f:b0:6fe:a059:f6f4 with SMTP id u15-20020a170906b10f00b006fea059f6f4mr22984608ejy.194.1653421467843; Tue, 24 May 2022 12:44:27 -0700 (PDT) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id cz26-20020a0564021cba00b0042aad7448besm9732133edb.18.2022.05.24.12.44.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 May 2022 12:44:27 -0700 (PDT) Message-ID: <956d04d18e0dd7474550167906f0aadc09cac98d.camel@gmail.com> Subject: Re: [PATCH v2] gnu: Add qbe. From: Liliana Marie Prikler To: "(unmatched-parenthesis" , 53833-done@debbugs.gnu.org Date: Tue, 24 May 2022 21:44:26 +0200 In-Reply-To: <2b0a34e61f45a706afb7e84a5cac9aae8a9e10aa.camel@ist.tugraz.at> References: <20220508202154.9648-1-paren@disroot.org> <2b0a34e61f45a706afb7e84a5cac9aae8a9e10aa.camel@ist.tugraz.at> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 53833-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Am Dienstag, dem 24.05.2022 um 08:50 +0200 schrieb Liliana Marie Prikler: > Hi, this is mostly a reminder for myself to push this soon. > > Am Sonntag, dem 08.05.2022 um 21:21 +0100 schrieb (unmatched- > parenthesis: > > * gnu/packages/c.scm (qbe): New variable. > > > > Signed-off-by: (unmatched-parenthesis > Don't add sign-off headers for your own patches, those are for > committers signing of other people's patches :) > > > [...] > > +    (arguments > > +     (list #:make-flags > > +           #~(list (string-append "CC=" #$(cc-for-target)) > > +                   (string-append "PREFIX=" #$output) > > +                   ;; `GUIXTARGET` is used instead of `TARGET` to > > avoid changing > > +                   ;; the meaning of tools/test.sh (which uses > > `TARGET` too). > > +                   (string-append "GUIXTARGET=" #$(or (%current- > > target-system) > > +                                                      (%current- > > system)))) > > +           #:phases > > +           #~(modify-phases %standard-phases > > +               (add-after 'unpack 'allow-cross-compilation > > +                 (lambda _ > > +                   (substitute* "Makefile" > > +                     (("`uname -m`") "$(GUIXTARGET)")))) > Instead of going through the variable, why not inline it into the > substitute*? > > +               (add-after 'allow-cross-compilation 'use-gcc-for- > > tests > > +                 (lambda _ > > +                   (substitute* "tools/test.sh" > > +                     (("cc=\"cc -no-pie\"") > > +                      (string-append "cc=\"${CC} -no-pie\""))))) > > +               (delete 'configure)))) > > +    (supported-systems (list "x86_64-linux" "aarch64-linux" > > "riscv64-linux")) > > +    (synopsis "Simple compiler backend") > > +    (description "QBE is a small compiler backend using an SSA- > > based > > intermediate > > +language as input.") > > +    (home-page "https://c9x.me/compile/") > > +    (license license:expat)))) > > Otherwise LGTM. Applied with the above as well as my liberal interpretation of what passes as `guix style'. Cheers ------------=_1653421502-22494-5 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 27 Apr 2022 14:31:15 +0000 Received: from localhost ([127.0.0.1]:43876 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njihG-0002p9-PH for submit@debbugs.gnu.org; Wed, 27 Apr 2022 10:31:15 -0400 Received: from lists.gnu.org ([209.51.188.17]:41620) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njgOZ-0002yE-Da for submit@debbugs.gnu.org; Wed, 27 Apr 2022 08:03:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50988) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njgOX-0001rg-Gi for guix-patches@gnu.org; Wed, 27 Apr 2022 08:03:47 -0400 Received: from mail-qv1-xf34.google.com ([2607:f8b0:4864:20::f34]:36609) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1njgOV-0006vd-8Z for guix-patches@gnu.org; Wed, 27 Apr 2022 08:03:44 -0400 Received: by mail-qv1-xf34.google.com with SMTP id q13so882266qvk.3 for ; Wed, 27 Apr 2022 05:03:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:mime-version:subject:message-id:date:to; bh=wAO5Rfsc9ZXVtXSBJYpZDn+qPPENpp0pkDKmCuL104g=; b=kG7gpCwmYKduFYixMGIaDGGczkicVHLcLeK23/q6voPEtLPeuDIJpBSplCUHopZGH/ KbsuAvMiSTMegBA8wygURSkrIbk2H0i9qfUaddt95u2tFLJ3ExOaPAPuSJM7mCSb67AU fZAUyH4oWsV8KuSuA4qKe51SBjCQ9VFsbBtntUMubPjTyGug/1xDS1deIw/bg5JMqXy0 VUGcsUYFBeJv/a5YIIZlYZwfea+k1iwBRehUi9o6mYdMM5+xIdWlJJZqXZSvF3LJ4bGC L1xs2xP4BIEonRJklHqmj6yEabPTAfa9p+grqNJJMXJPhjYXkEXJm8LpwIp+gODb6Oy/ QASA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:mime-version:subject:message-id:date:to; bh=wAO5Rfsc9ZXVtXSBJYpZDn+qPPENpp0pkDKmCuL104g=; b=T9OJsZNPS30R6dj75g9TSKOwiwHzNnyQT+7uV58TF5ZrvrOmmOHpmoZLS9bmZaaHac dYlRSKVYuPCMlYyP/fzhfl5RgboABFJaqcchJTwweGukRFH/3JHduahu3IL9isXXgxoz aY3sKGRLNSzca5Hc9C9+RIBR+DR/BLrowZU5fFYPQHg6I8cQCYu19sY6l9OXiPMuMQu1 do92vhSoqwvMtrFVnHsK4BYlF2ACvB2IGMI2ugn10NSTo4p+5WoC99sygA9DObPjFiON H1s9djvfxPCqdwIo79u9AhmMtLleYhPh2wz6DSZRyC6nXXGDaLXRTsqQvp5gEnMD9fyV SZDw== X-Gm-Message-State: AOAM532A0Bct36Qhq1RO9z+lSATFuJtpWbvjH6tEvkwCDaxYBdIULIpc 1Y1Bc9l2SjZimmnE1K3T5fkGEd+bEaQ= X-Google-Smtp-Source: ABdhPJwF155riBwYMxvzu5/uDbbcivm7Ua3JOotLoWnnTTFQCTMMXhXuZv7xCe35sBX7iOvJvjUj7Q== X-Received: by 2002:ad4:4753:0:b0:456:34db:614b with SMTP id c19-20020ad44753000000b0045634db614bmr11154252qvx.17.1651061020736; Wed, 27 Apr 2022 05:03:40 -0700 (PDT) Received: from smtpclient.apple (pool-108-31-85-19.washdc.fios.verizon.net. [108.31.85.19]) by smtp.gmail.com with ESMTPSA id c21-20020ac87dd5000000b002f36347ddabsm7229237qte.77.2022.04.27.05.03.39 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Apr 2022 05:03:40 -0700 (PDT) From: Jon Eskin Content-Type: multipart/alternative; boundary="Apple-Mail=_E10ACD98-612B-497D-A952-3D17D6B72C32" Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.80.82.1.1\)) Subject: [PATCH] gnu: Add qbe. Message-Id: <645F64B5-672D-48DB-B3CB-6B621E56AA49@gmail.com> Date: Wed, 27 Apr 2022 08:03:39 -0400 To: guix-patches@gnu.org X-Mailer: Apple Mail (2.3696.80.82.1.1) Received-SPF: pass client-ip=2607:f8b0:4864:20::f34; envelope-from=eskinjp@gmail.com; helo=mail-qv1-xf34.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 27 Apr 2022 10:31:14 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --Apple-Mail=_E10ACD98-612B-497D-A952-3D17D6B72C32 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hello, I=E2=80=99ve packaged the qbe compiler backend. I=E2=80=99m new to GUIX, = so let me know if I messed anything up! I sent this about patch about a half hour ago and it shows as sent on my = end but isn=E2=80=99t showing up on the archive=E2=80=A6 apologies if it = comes through twice. Jon= --Apple-Mail=_E10ACD98-612B-497D-A952-3D17D6B72C32 Content-Type: multipart/mixed; boundary="Apple-Mail=_CE6478C5-DFB8-4B7A-A84E-ACA52E5A6A21" --Apple-Mail=_CE6478C5-DFB8-4B7A-A84E-ACA52E5A6A21 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hello,

I=E2=80=99ve packaged the qbe compiler = backend. I=E2=80=99m new to GUIX, so let me know if I messed anything = up!

I sent this about patch = about a half hour ago and it shows as sent on my end but isn=E2=80=99t showing up = on the archive=E2=80=A6 apologies if it comes through = twice.

Jon
= --Apple-Mail=_CE6478C5-DFB8-4B7A-A84E-ACA52E5A6A21 Content-Disposition: attachment; filename=0001-gnu-Add-qbe.patch Content-Type: application/octet-stream; x-unix-mode=0644; name="0001-gnu-Add-qbe.patch" Content-Transfer-Encoding: quoted-printable =46rom=20c81d8d7489f157611f56fdd44d0fc05553e95f7f=20Mon=20Sep=2017=20= 00:00:00=202001=0AFrom:=20Jon=20Eskin=20=0ADate:=20= Wed,=2027=20Apr=202022=2005:48:54=20-0400=0ASubject:=20[PATCH]=20gnu:=20= Add=20qbe.=0A=0A---=0A=20gnu/local.mk=20=20=20=20=20=20=20=20=20|=20=202=20= ++=0A=20gnu/packages/qbe.scm=20|=2056=20= ++++++++++++++++++++++++++++++++++++++++++++=0A=202=20files=20changed,=20= 58=20insertions(+)=0A=20create=20mode=20100644=20gnu/packages/qbe.scm=0A=0A= diff=20--git=20a/gnu/local.mk=20b/gnu/local.mk=0Aindex=20= 9bad87710c..1c4a418a33=20100644=0A---=20a/gnu/local.mk=0A+++=20= b/gnu/local.mk=0A@@=20-50,6=20+50,7=20@@=0A=20#=20Copyright=20=C2=A9=20= 2022=20Daniel=20Mei=C3=9Fner=20=0A= =20#=20Copyright=20=C2=A9=202022=20Remco=20van=20't=20Veer=20= =0A=20#=20Copyright=20=C2=A9=202022=20Artyom=20V.=20= Poptsov=20=0A+#=20Copyright=20=C2=A9=202022=20= Jon=20Eskin=20=0A=20#=0A=20#=20This=20file=20is=20= part=20of=20GNU=20Guix.=0A=20#=0A@@=20-503,6=20+504,7=20@@=20= GNU_SYSTEM_MODULES=20=3D=09=09=09=09\=0A=20=20=20= %D%/packages/python-xyz.scm=09=09=09\=0A=20=20=20%D%/packages/toys.scm=09= =09=09=09\=0A=20=20=20%D%/packages/tryton.scm=09=09=09\=0A+=20=20= %D%/packages/qbe.scm=09=09=09=09\=0A=20=20=20%D%/packages/qt.scm=09=09=09= =09\=0A=20=20=20%D%/packages/racket.scm=09=09=09\=0A=20=20=20= %D%/packages/radio.scm=09=09=09\=0Adiff=20--git=20a/gnu/packages/qbe.scm=20= b/gnu/packages/qbe.scm=0Anew=20file=20mode=20100644=0Aindex=20= 0000000000..426566666c=0A---=20/dev/null=0A+++=20b/gnu/packages/qbe.scm=0A= @@=20-0,0=20+1,56=20@@=0A+;;;=20GNU=20Guix=20---=20Functional=20package=20= management=20for=20GNU=0A+;;;=20Copyright=20=C2=A9=202022=20Jon=20Eskin=20= =0A+;;;=0A+;;;=20This=20file=20is=20part=20of=20GNU=20= Guix.=0A+;;;=0A+;;;=20GNU=20Guix=20is=20free=20software;=20you=20can=20= redistribute=20it=20and/or=20modify=20it=0A+;;;=20under=20the=20terms=20= of=20the=20GNU=20General=20Public=20License=20as=20published=20by=0A+;;;=20= the=20Free=20Software=20Foundation;=20either=20version=203=20of=20the=20= License,=20or=20(at=0A+;;;=20your=20option)=20any=20later=20version.=0A= +;;;=0A+;;;=20GNU=20Guix=20is=20distributed=20in=20the=20hope=20that=20= it=20will=20be=20useful,=20but=0A+;;;=20WITHOUT=20ANY=20WARRANTY;=20= without=20even=20the=20implied=20warranty=20of=0A+;;;=20MERCHANTABILITY=20= or=20FITNESS=20FOR=20A=20PARTICULAR=20PURPOSE.=20=20See=20the=0A+;;;=20= GNU=20General=20Public=20License=20for=20more=20details.=0A+;;;=0A+;;;=20= You=20should=20have=20received=20a=20copy=20of=20the=20GNU=20General=20= Public=20License=0A+;;;=20along=20with=20GNU=20Guix.=20=20If=20not,=20= see=20.=0A+=0A+(define-module=20(gnu=20= packages=20qbe)=0A+=20=20#:use-module=20(guix=20packages)=0A+=20=20= #:use-module=20(guix=20build-system=20gnu)=0A+=20=20#:use-module=20(guix=20= git-download)=0A+=20=20#:use-module=20(guix=20licenses))=0A+=0A= +(define-public=20qbe=0A+=20=20(package=0A+=20=20=20=20(name=20"qbe")=0A= +=20=20=20=20(version=20"2022.04.11")=0A+=20=20=20=20(source=20(origin=0A= +=20=20=20=20=20=20=20=20=20=20=20=20=20=20(method=20git-fetch)=0A+=20=20= =20=20=20=20=20=20=20=20=20=20=20=20(uri=0A+=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20(git-reference=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20(url=20"git://c9x.me/qbe.git")=0A+=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20(commit=20"2caa26e388b1c904d2f12fb09f84df7e761d8331")))=0A= +=20=20=20=20=20=20=20=20=20=20=20=20=20=20(file-name=20(git-file-name=20= name=20version))=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20(sha256=0A= +=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20(base32=0A+=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20= "1gv03ym0gqrl4wkbhysa82025xwrkr1fg44z814b6vnggwlqgljc"))))=0A+=20=20=20=20= (build-system=20gnu-build-system)=0A+=20=20=20=20(arguments=0A+=20=20=20=20= =20'(#:make-flags=20(list=20(string-append=20"PREFIX=3D"=20(assoc-ref=20= %outputs=20"out"))=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20"CC=3Dgcc")=0A+=20=20=20=20=20=20=20#:phases=20= (modify-phases=20%standard-phases=0A+=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20(delete=20'configure)=0A+=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20(add-before=20'check=20'fix-cc=0A+=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20(lambda*=20(#:key=20inputs=20= outputs=20#:allow-other-keys)=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20;;=20fix=20test=20script=20overriding=20= environment=20variable=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20(substitute*=20"tools/test.sh"=0A+=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20(("cc=3D\"cc=20= -no-pie\"")=20"cc=3D\"gcc=20-no-pie\""))=0A+=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20#t)))))=0A+=20=20=20=20(synopsis=20= "Lightweight=20compiler=20backend")=0A+=20=20=20=20(description=0A+=20=20= =20=20=20"QBE=20aims=20to=20be=20a=20pure=20C=20embeddable=20backend=20= that=20provides=2070%=20of=20the=0A+performance=20of=20advanced=20= compilers=20in=2010%=20of=20the=20code.")=0A+=20=20=20=20(home-page=20= "https://c9x.me/compile/")=0A+=20=20=20=20(license=20expat)))=0A--=20=0A= 2.32.0=20(Apple=20Git-132)=0A=0A= --Apple-Mail=_CE6478C5-DFB8-4B7A-A84E-ACA52E5A6A21 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=us-ascii
--Apple-Mail=_CE6478C5-DFB8-4B7A-A84E-ACA52E5A6A21-- --Apple-Mail=_E10ACD98-612B-497D-A952-3D17D6B72C32-- ------------=_1653421502-22494-5-- From unknown Sun Jun 22 03:57:37 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Antero Mejr Subject: bug#55605: closed (Re: [PATCH v2] gnu: Add qbe.) Message-ID: References: <956d04d18e0dd7474550167906f0aadc09cac98d.camel@gmail.com> <20220524012155.48729-1-antero@mailbox.org> X-Gnu-PR-Message: they-closed 55605 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 55605@debbugs.gnu.org Date: Tue, 24 May 2022 19:45:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1653421502-22494-7" This is a multi-part message in MIME format... ------------=_1653421502-22494-7 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #53833: [PATCH 1/2] gnu: Add qbe. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 55605@debbugs.gnu.org. --=20 53833: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D53833 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1653421502-22494-7 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 53833-done) by debbugs.gnu.org; 24 May 2022 19:44:53 +0000 Received: from localhost ([127.0.0.1]:53502 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntaSM-0005q6-Lh for submit@debbugs.gnu.org; Tue, 24 May 2022 15:44:53 -0400 Received: from mail-ej1-f66.google.com ([209.85.218.66]:33441) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntaSH-0005pp-U8 for 53833-done@debbugs.gnu.org; Tue, 24 May 2022 15:44:37 -0400 Received: by mail-ej1-f66.google.com with SMTP id f9so37517976ejc.0 for <53833-done@debbugs.gnu.org>; Tue, 24 May 2022 12:44:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:date:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=FmKIOpjSdCdIaJQ5+OXLvuygRhEymVdyrLycwQoXNSE=; b=VF1nzto1s58QUuBj7ezKgnuaYl57RdVV7nSSwDhunfxKbn6R+uDsTlV6JItAUhNv9j y1tDv5DUWKfU0kIE36MJYLkkUxZFZCu93inclMVRiUJo6cQhIXuQJ+1pmjkjXPRm9VKd xY0k7WbKPeqT2CR3JFZTKjbYKL50yEOYBFHBsXqPRYok+W+Tle+q4zhfXhI9D3M+JdmZ qAHFIgKRuyGlU4iCKadY+8zoFDvfq+XTtwsgRI6Zl4eN7DV1sAAMngujAvEkw/s3HUF7 MfD3uMt3A2yRLbNXadko5aOJ7AXdt/XY7BRFwa4ZyX8vR5Ta0eRF7de7xK4FxDnvFw5+ Z0jQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=FmKIOpjSdCdIaJQ5+OXLvuygRhEymVdyrLycwQoXNSE=; b=FSXaA8gluwH5rms0MQnDeQL4zPCr5qR9Zie6tjKxIsAVTpTSloEkSafFpA9HnN7xO/ Iw/96KNd+TqLXO4X2BSgT4hQ+L2SARf9CRJOxWLyCJUohBO2sC94IlpvXoFDQAQ1o/ks oJy99QIQWwDp5emlTfgYNRi3+dZlt7wvLaHkFZ39Qg4bCy1Et7EHywayTvnHY2sZoE4I gsL4BL7UXt/zqsalECePKZLKkOMx2bHL65C6uJGkE/8UIDZG+DzDk2IoJRjHOpNmIJky VptYqRSQM+I4WYPX9hARATSbBPaV523Pv3plOPrBb4DpQVHUM5om8zdN6+0zMFmEXBxS c6Wg== X-Gm-Message-State: AOAM5313HBuWKKLFusVIZDKDEvZI4ngifZyOjegqmZginuhmAHW39J8K Xa+/FWHeW/LqBfA4v3vvCrQ= X-Google-Smtp-Source: ABdhPJz1ZTl1nv1XWj3fGJ4mRpvTSpM3jy/NTElHlAUxAtbFONj0Zrya+cfw87FC+QTkUx0RlC02+w== X-Received: by 2002:a17:906:b10f:b0:6fe:a059:f6f4 with SMTP id u15-20020a170906b10f00b006fea059f6f4mr22984608ejy.194.1653421467843; Tue, 24 May 2022 12:44:27 -0700 (PDT) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id cz26-20020a0564021cba00b0042aad7448besm9732133edb.18.2022.05.24.12.44.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 May 2022 12:44:27 -0700 (PDT) Message-ID: <956d04d18e0dd7474550167906f0aadc09cac98d.camel@gmail.com> Subject: Re: [PATCH v2] gnu: Add qbe. From: Liliana Marie Prikler To: "(unmatched-parenthesis" , 53833-done@debbugs.gnu.org Date: Tue, 24 May 2022 21:44:26 +0200 In-Reply-To: <2b0a34e61f45a706afb7e84a5cac9aae8a9e10aa.camel@ist.tugraz.at> References: <20220508202154.9648-1-paren@disroot.org> <2b0a34e61f45a706afb7e84a5cac9aae8a9e10aa.camel@ist.tugraz.at> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 53833-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Am Dienstag, dem 24.05.2022 um 08:50 +0200 schrieb Liliana Marie Prikler: > Hi, this is mostly a reminder for myself to push this soon. > > Am Sonntag, dem 08.05.2022 um 21:21 +0100 schrieb (unmatched- > parenthesis: > > * gnu/packages/c.scm (qbe): New variable. > > > > Signed-off-by: (unmatched-parenthesis > Don't add sign-off headers for your own patches, those are for > committers signing of other people's patches :) > > > [...] > > +    (arguments > > +     (list #:make-flags > > +           #~(list (string-append "CC=" #$(cc-for-target)) > > +                   (string-append "PREFIX=" #$output) > > +                   ;; `GUIXTARGET` is used instead of `TARGET` to > > avoid changing > > +                   ;; the meaning of tools/test.sh (which uses > > `TARGET` too). > > +                   (string-append "GUIXTARGET=" #$(or (%current- > > target-system) > > +                                                      (%current- > > system)))) > > +           #:phases > > +           #~(modify-phases %standard-phases > > +               (add-after 'unpack 'allow-cross-compilation > > +                 (lambda _ > > +                   (substitute* "Makefile" > > +                     (("`uname -m`") "$(GUIXTARGET)")))) > Instead of going through the variable, why not inline it into the > substitute*? > > +               (add-after 'allow-cross-compilation 'use-gcc-for- > > tests > > +                 (lambda _ > > +                   (substitute* "tools/test.sh" > > +                     (("cc=\"cc -no-pie\"") > > +                      (string-append "cc=\"${CC} -no-pie\""))))) > > +               (delete 'configure)))) > > +    (supported-systems (list "x86_64-linux" "aarch64-linux" > > "riscv64-linux")) > > +    (synopsis "Simple compiler backend") > > +    (description "QBE is a small compiler backend using an SSA- > > based > > intermediate > > +language as input.") > > +    (home-page "https://c9x.me/compile/") > > +    (license license:expat)))) > > Otherwise LGTM. Applied with the above as well as my liberal interpretation of what passes as `guix style'. Cheers ------------=_1653421502-22494-7 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 24 May 2022 01:23:11 +0000 Received: from localhost ([127.0.0.1]:50500 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntJGR-0001cA-4y for submit@debbugs.gnu.org; Mon, 23 May 2022 21:23:11 -0400 Received: from lists.gnu.org ([209.51.188.17]:49722) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntJGN-0001c1-My for submit@debbugs.gnu.org; Mon, 23 May 2022 21:23:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57976) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntJGN-0002IZ-Hs for guix-patches@gnu.org; Mon, 23 May 2022 21:23:07 -0400 Received: from mout-p-101.mailbox.org ([80.241.56.151]:58090) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1ntJGL-00062X-4k for guix-patches@gnu.org; Mon, 23 May 2022 21:23:07 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4L6bzl5VShz9sZk for ; Tue, 24 May 2022 03:22:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1653355379; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=zoH3KAgdbfi1Tok7KeFESu/14a4yQdOodf1/lfe1Bu4=; b=ex6LTb6t/rLSo5Ne7KY0+qSRv/YWYZPb784PrlLnM6eky/9/uxkIpOgdiwFIDfe6p3ZV2G JXshvJbyRMzbI3HekBBV+V7xbasx/FoLqjWEiB72lKF39GxTdkvRLy35Cabs4eegzUte0E BUWdqyMz9vfrxtyfycynVUey1kB0mN1ozgheOLOf7c08F5PR5s59/BNP7d6tbu4FeQzLqt vz7ASPitpoPrafJUvCIYhxdrrq/uoX06kxu5/wKQW3A1H04VFSDRBSX8WWPFjAg7SH9wzV c1sQoKn5Aie4np+gq52FctJNvBvt2qJtTZFAxBqkcafARyK2vzc5tcMzqJsqig== From: Antero Mejr DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1653355377; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=zoH3KAgdbfi1Tok7KeFESu/14a4yQdOodf1/lfe1Bu4=; b=nm9E3ISPX+GcYL9tPMzVF6gWr1hgrBsyHTQuX69fi0LYSE2pMYEHrLUBIqzch5ipPlB2zj jFlpnPMNTdQ8I/glhbkS0j3kQXKxnPKv3qvOT/yb4CiGVgNCBGX7Xickmz9BdCOLHSkESB EDPjt6Q/yUrANcq9TdoOBKjHl1Wi7c32dsadb1YpK3dkr+7RpD0Q08A8RYM6h5anPc8baY znhi7gEZUqpqzzH51QLE7FpRrxXJLlBOWqDcRJ8M9W17RoA2QvAb8GcIHNEg6q5Nvi/3O7 Av8L2TxpdRRr0e1HyfIqqFFnSP51IzdaDPb4H2wLXR5j1QD5K1bi1Pq20bPETA== To: guix-patches@gnu.org Subject: [PATCH 1/2] gnu: Add qbe. Date: Mon, 23 May 2022 21:21:54 -0400 Message-Id: <20220524012155.48729-1-antero@mailbox.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-MBO-RS-META: nq7cnaabtz8k1ox6ny4qydy5rgot8yqq X-MBO-RS-ID: 55c20fe40be9a8dcb4e Received-SPF: pass client-ip=80.241.56.151; envelope-from=antero@mailbox.org; helo=mout-p-101.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Antero Mejr X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/c.scm (qbe): New variable. --- Hare + QBE builds, tested running a Hello World program using the stdlib. gnu/packages/c.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm index e14e56ad71..01fd2e9a96 100644 --- a/gnu/packages/c.scm +++ b/gnu/packages/c.scm @@ -13,6 +13,7 @@ ;;; Copyright © 2020, 2021 Greg Hogan ;;; Copyright © 2021 David Dashyan ;;; Copyright © 2021 Foo Chuan Wei +;;; Copyright © 2022 Antero Mejr ;;; ;;; This file is part of GNU Guix. ;;; @@ -1096,3 +1097,37 @@ (define-public utf8-h C and C++. The functions it provides are like those from the C header string.h, but with a utf8* prefix instead of the str* prefix.") (license license:unlicense)))) + +(define-public qbe + (let ((commit "9a3e131cf713f8619705f906caf28c5809708ad0") (revision "0")) + (package + (name "qbe") + (version (git-version "0.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "git://c9x.me/qbe.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "04dhdm2j84h9hlqj934wh9v456v3kzh0ayxs1gncyh4inv3b41cf")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ;no test suite + #:make-flags + (list (string-append "CC=" + ,(cc-for-target)) + (string-append "DESTDIR=" + (assoc-ref %outputs "out")) + "PREFIX=") + #:phases + (modify-phases %standard-phases + (delete 'configure)))) ;no configure script + (supported-systems (list "x86_64-linux" "aarch64-linux" "riscv64-linux")) + (home-page "https://c9x.me/compile/") + (synopsis "Compiler backend written in C") + (description + "QBE aims to be a pure C embeddable backend that provides 70% of the +performance of advanced compilers in 10% of the code.") + (license license:expat)))) -- 2.36.1 ------------=_1653421502-22494-7--