From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id OA5WHeUct2LdcgAAbAwnHQ (envelope-from ) for ; Sat, 25 Jun 2022 16:34:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id EIE9HeUct2JIWAAAauVa8A (envelope-from ) for ; Sat, 25 Jun 2022 16:34:13 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E4B7E1560D for ; Sat, 25 Jun 2022 16:34:12 +0200 (CEST) Received: from localhost ([::1]:57284 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o56rT-000870-N0 for larch@yhetil.org; Sat, 25 Jun 2022 10:34:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47816) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o56rL-00084A-9n for guix-patches@gnu.org; Sat, 25 Jun 2022 10:34:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52093) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o56rK-0005eS-EO for guix-patches@gnu.org; Sat, 25 Jun 2022 10:34:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o56rK-0004Ow-6q for guix-patches@gnu.org; Sat, 25 Jun 2022 10:34:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56181] [PATCH v2] gnu: packages: qbe: Update to 1.0. References: <20220624060410.3257-1-paren@disroot.org> In-Reply-To: <20220624060410.3257-1-paren@disroot.org> Resent-From: "(" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 25 Jun 2022 14:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56181 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56181@debbugs.gnu.org Cc: "\(" Received: via spool by 56181-submit@debbugs.gnu.org id=B56181.165616761516883 (code B ref 56181); Sat, 25 Jun 2022 14:34:02 +0000 Received: (at 56181) by debbugs.gnu.org; 25 Jun 2022 14:33:35 +0000 Received: from localhost ([127.0.0.1]:45990 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o56qt-0004OE-2C for submit@debbugs.gnu.org; Sat, 25 Jun 2022 10:33:35 -0400 Received: from knopi.disroot.org ([178.21.23.139]:50490) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o56qq-0004O6-Ni for 56181@debbugs.gnu.org; Sat, 25 Jun 2022 10:33:33 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 0FC9B4585C; Sat, 25 Jun 2022 16:33:32 +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 Lcna3-Q7zuGi; Sat, 25 Jun 2022 16:33:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1656167610; bh=cYZcwC5L66E2uIFy4t2BW0XxxRjOWd3BGetOjly5dz8=; h=From:To:Cc:Subject:Date; b=OoJe443Ug+5jazOGK46WX3dOcdAxcfldX0HIOfgJGvndhjBa2anwoXBdZkwrs7gGI 04mQs4ViuosMnlFmt05Q7W5k3fu4KT2DO1oue3aVtDvPUcL9/L5JvxFBOa4sz8JXKc H2CQvBz6ssxCMWIY1J6R+aih9UoY5VCryqvv6WJKaejAsnhnVfvafhOzGG85CO5pJs +AeGzcTIANQGBbIkzQ6D0dyjdZajuj/H2M2PJukvXh1kfK2vKRhsSV4shnixRi42HV JG13N0jQBzRPuUxf8Fj6qD95jn8UG+5SdeYfS9zc4AgUlJAZBJZz33qznKEYgy+B/t jdhMZTJhVURkg== Date: Sat, 25 Jun 2022 15:33:28 +0100 Message-Id: <20220625143328.2477-1-paren@disroot.org> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: "\(" X-ACL-Warn: , "\( via Guix-patches" From: "\( via Guix-patches" via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1656167653; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=15rIwD56OnKHhcqCwwjpKAUGfQ6s0j94OPcsHzHzGQQ=; b=c1qXA9p+rrx+FGrJGp5+U9CacKWndotSXB+rbKWXqF+KAA1Hjb7C3lXHdNhmlQLhT4mTK1 BJONOvR1hYPtZC1Eia6kKglcP3nOymi2o8n9nNOTvKazqCPvu4e99y5XA+nvnk/dpq6AB5 uuSf+UMLyNP/gzgnpc5BMYuaaVsgXEmr7EcOAMsOUP23tJ4L4VsLxMeg2Kkupom/SieylM h2t4gtnf3qLGxkhmvtD4+/kkbJipEA2TuEHDjsurhEHLZHO90Uh6pK9Rt6enLlUXno4Ei+ n5G8x/Yu9/7mApHRdeKV31zePZ/oDvExnmuZnf0MP6bl8dAh9yfg0gLhKwLErQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656167653; a=rsa-sha256; cv=none; b=lKxfEYn6ilCPJeuWJPMbONOgDGXQocAvF9m0oEViaGKbCchBBPNqBDH/DQ4s7tGSgAstAj wvJMAMQ3v6/HwovJLdo8t9oPZ8tPqXotoqvMIABAyhy+kyxJ5ma7iDgzzcvI2GI+JzAXzF /ll3YYbjUHMKAEIqKw/LD78ageFN0aa8gxF2JR9OxnAy0YKBRyFm8trJLq/2BeJSm/pSyp 0PBHeFQCLlhMTqWOjIQeJ3vM+5IDu5hmHH7F6alAwDuMWn/wLc1p7k1Bbz8KMAB8a+O6ro VMA91RwNI/2mc8ytRC5o2KjeP8w5inXbUrWvvJnbESaq2qOONL8WdpVVm3OQxg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=OoJe443U; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -0.97 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=OoJe443U; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: E4B7E1560D X-Spam-Score: -0.97 X-Migadu-Scanner: scn1.migadu.com X-TUID: KrEw9enku+4h * gnu/packages/c.scm (qbe): Update to 1.0. --- gnu/packages/c.scm | 68 +++++++++++++++++++++------------------------- 1 file changed, 31 insertions(+), 37 deletions(-) diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm index 3e49539473..8cf7122fcc 100644 --- a/gnu/packages/c.scm +++ b/gnu/packages/c.scm @@ -147,44 +147,38 @@ (define-public pcc (license (list license:bsd-2 license:bsd-3)))) (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)) - #:phases - #~(modify-phases %standard-phases - (add-after 'unpack 'allow-cross-compilation - (lambda _ - (substitute* "Makefile" - (("`uname -m`") #$(or (%current-target-system) - (%current-system)))))) - (add-after 'allow-cross-compilation 'use-$CC-for-tests - (lambda _ - (substitute* "tools/test.sh" - (("cc=\"cc -no-pie\"") "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 + (package + (name "qbe") + (version "1.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "git://c9x.me/qbe") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0qx4a3fjjrp2m4dsn19rpbjf89k9w7w7l09s96jx8vv15vzsdgis")))) + (build-system gnu-build-system) + (arguments + (list #:make-flags + #~(list (string-append "CC=" #$(cc-for-target)) + (string-append "PREFIX=" #$output)) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'allow-cross-compilation + (lambda _ + (substitute* "Makefile" + (("`uname -m`") #$(or (%current-target-system) + (%current-system)))))) + (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)))) + (home-page "https://c9x.me/compile/") + (license license:expat))) (define-public python-pcpp (package -- 2.36.1