From patchwork Mon Jan 9 19:22: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: 1190 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 00B6027BBED; Mon, 9 Jan 2023 19:23:13 +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=ham 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 B742C27BBE9 for ; Mon, 9 Jan 2023 19:23:12 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pExje-0005Ge-J4; Mon, 09 Jan 2023 14:23:06 -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 1pExjb-0005C5-Ne for guix-patches@gnu.org; Mon, 09 Jan 2023 14:23:04 -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 1pExjb-0001un-7x for guix-patches@gnu.org; Mon, 09 Jan 2023 14:23:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pExja-00077S-NQ for guix-patches@gnu.org; Mon, 09 Jan 2023 14:23:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60695] [PATCH 0/9] gnu: nextpnr-ice40: Update to 0.5. Resent-From: Simon South Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 09 Jan 2023 19:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60695 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60695@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167329215727314 (code B ref -1); Mon, 09 Jan 2023 19:23:02 +0000 Received: (at submit) by debbugs.gnu.org; 9 Jan 2023 19:22:37 +0000 Received: from localhost ([127.0.0.1]:38199 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pExjA-00076T-Ok for submit@debbugs.gnu.org; Mon, 09 Jan 2023 14:22:37 -0500 Received: from lists.gnu.org ([209.51.188.17]:53682) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pExj9-00076L-Dx for submit@debbugs.gnu.org; Mon, 09 Jan 2023 14:22:35 -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 1pExj9-0004lo-AO for guix-patches@gnu.org; Mon, 09 Jan 2023 14:22:35 -0500 Received: from mailout.easymail.ca ([64.68.200.34]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pExj6-0001mu-PD for guix-patches@gnu.org; Mon, 09 Jan 2023 14:22:35 -0500 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 3887F67B40 for ; Mon, 9 Jan 2023 19:22:29 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo09-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo09-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Un8PBMehe-_x for ; Mon, 9 Jan 2023 19:22:28 +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 326A267B3F for ; Mon, 9 Jan 2023 19:22:28 +0000 (UTC) From: Simon South Date: Mon, 9 Jan 2023 14:22:25 -0500 Message-Id: X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Received-SPF: pass client-ip=64.68.200.34; envelope-from=simon@simonsouth.net; helo=mailout.easymail.ca X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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 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 | 99 +++++++++++++++++++++++++++++++-------- gnu/packages/qt.scm | 63 +++++++++++++++++++++++++ gnu/packages/toolkits.scm | 50 ++++++++++++++++++++ 4 files changed, 238 insertions(+), 19 deletions(-) base-commit: de48bcee070b8d1ea6f3abe24be28d3b7d1aff68