From patchwork Fri Jan 27 20:34:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon South X-Patchwork-Id: 638 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 4A3B927BBEB; Fri, 27 Jan 2023 20:35:56 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5E0D627BBE9 for ; Fri, 27 Jan 2023 20:35:55 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pLVRD-0006to-6X; Fri, 27 Jan 2023 15:35:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pLVR9-0006sH-I9 for guix-patches@gnu.org; Fri, 27 Jan 2023 15:35:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pLVR9-0004Zm-9b for guix-patches@gnu.org; Fri, 27 Jan 2023 15:35:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pLVR9-0006On-69 for guix-patches@gnu.org; Fri, 27 Jan 2023 15:35:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60695] [PATCH v2 0/9] gnu: nextpnr-ice40: Update to 0.5. References: In-Reply-To: Resent-From: Simon South Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 27 Jan 2023 20:35:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60695 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60695@debbugs.gnu.org Received: via spool by 60695-submit@debbugs.gnu.org id=B60695.167485168724487 (code B ref 60695); Fri, 27 Jan 2023 20:35:03 +0000 Received: (at 60695) by debbugs.gnu.org; 27 Jan 2023 20:34:47 +0000 Received: from localhost ([127.0.0.1]:38582 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pLVQs-0006Mo-KN for submit@debbugs.gnu.org; Fri, 27 Jan 2023 15:34:46 -0500 Received: from mailout.easymail.ca ([64.68.200.34]:56716) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pLVQq-0006M1-1s for 60695@debbugs.gnu.org; Fri, 27 Jan 2023 15:34:45 -0500 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 63883E8522 for <60695@debbugs.gnu.org>; Fri, 27 Jan 2023 20:34:38 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo08-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo08-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id K4a-UkC3NOdt for <60695@debbugs.gnu.org>; Fri, 27 Jan 2023 20:34:36 +0000 (UTC) Received: from localhost.localdomain (23-233-96-72.cpe.pppoe.ca [23.233.96.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 535F2E8352 for <60695@debbugs.gnu.org>; Fri, 27 Jan 2023 20:34:36 +0000 (UTC) From: Simon South Date: Fri, 27 Jan 2023 15:34:25 -0500 Message-Id: X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Following a comment[0] from ( on another issue, here's a v2 of this patch series that refers to package inputs appropriately using "this-package-input" and "this-package-native-input" instead of by variable name. This affects primarily patches 5 and 8, in references to icestorm and sanitizers-cmake; aside from differences in formatting resulting from these changes, the remaining patches are the same as before. I've re-tested this on AArch64 and everything appears fine. The original cover letter follows below. [0] https://lists.gnu.org/archive/html/guix-patches/2023-01/msg01230.html --- Simon South simon@simonsouth.net Continuing on from issue 60429[0], here's a patch series that aims to improve the package for nextpnr-ice40, a place-and-route tool for Lattice iCE40 FPGAs, by - Adding separate packages for implot, qtimgui and sanitizers-cmake, which are currently bundled with nextpnr; - Updating its source-repository URL to use HTTPS instead of the git protocol (no longer supported by GitHub[1]); - Updating it to the modern style using gexps; - Enabling the test suite; - Fixing the version string shown by "nextpnr-ice40 --version", which should match the output of "git describe --tags --always" at build time but is currently empty; - Removing the bundled software and patching the source to use Guix packages instead; and - Updating nextpnr-ice40 itself to version 0.5. I've tested this on x86-64 (command line and GUI) and AArch64 (command line only) and everything seems fine. Note that as with Yosys, the nextpnr Web page helpfully includes a short example of using the tool[2] for testing its basic functionality. (The "blinky" folder is in the nextpnr source tree.) [0] https://issues.guix.gnu.org/60429 [1] https://github.blog/2021-09-01-improving-git-protocol-security-github/ [2] https://github.com/YosysHQ/nextpnr#getting-started -- Simon South simon@simonsouth.net Simon South (9): gnu: Add implot. gnu: Add qtimgui. gnu: Add sanitizers-cmake. gnu: nextpnr-ice40: Use HTTPS for source URL. gnu: nextpnr-ice40: Use gexps. gnu: nextpnr-ice40: Enable tests. gnu: nextpnr-ice40: Fix generated version string. gnu: nextpnr-ice40: Remove bundled software. gnu: nextpnr-ice40: Update to 0.5. gnu/packages/cmake.scm | 45 +++++++++++++++++ gnu/packages/fpga.scm | 101 +++++++++++++++++++++++++++++++------- gnu/packages/qt.scm | 63 ++++++++++++++++++++++++ gnu/packages/toolkits.scm | 50 +++++++++++++++++++ 4 files changed, 240 insertions(+), 19 deletions(-) base-commit: 8e1cca32b938cef0812ce042c6c2e8bccb326ec7 prerequisite-patch-id: 63e61bd0fe7b4cd3b7f4b15c594172579674e67b prerequisite-patch-id: 14469ab44ea45c68c034574747dcf39f1b0d4c8c prerequisite-patch-id: 22efe5c3a9047003160bc343e7b1e12d813b5fcf prerequisite-patch-id: dfbdd64c8cb4841ee2d6d6e0498f9336de21888b prerequisite-patch-id: 033f40ecd2d1ff437359b411482b9fe57b64baf3