From patchwork Sun May 11 10:41:57 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cayetano Santos X-Patchwork-Id: 42522 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 5A14427BC4B; Sun, 11 May 2025 11:43:29 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, 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 673F327BC4A for ; Sun, 11 May 2025 11:43:28 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uE49E-0002Xb-E3; Sun, 11 May 2025 06:43:08 -0400 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 1uE49C-0002XP-Av for guix-patches@gnu.org; Sun, 11 May 2025 06:43:06 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uE49B-0004ow-Rs for guix-patches@gnu.org; Sun, 11 May 2025 06:43:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=auk0/TcARcaLm40HofRl8xaeRKX1ckNLrd+9Kcsh0No=; b=ikgcZaffTHyfFHUj+sYPMrYkndtH3Ispyqxdg8STRHxw3LP00kVA9GrPatX5wUiEX5vRoxk5N+Oi0S4TWFs/sJY2SjCZMBiFz7pE8ryFR1+iC3qCahgzGJk0Mm/RNQ6ZUZX4k2wGNbH8cwG9t7ywPJOsQB3c6QMgwBL3flgyGiKqb31ovjKMvXIeGvrTQS2zYzRbv6J5vmjKNi+mSWPCb5LbkBsCcye/rY4VcCe/axi9SkqyTflj29JQ5OsSvsyEGI7WHDfwwUk2KLZv4tUWq8btKMr3XiLPc5DzAKMwNp8WNAKu6RG4qrnoerzYQAEF1ZvuuH2re/wZ1ndE5OYIWA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1uE497-0001Fw-U0; Sun, 11 May 2025 06:43:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#78369] [PATCH electronics-team] gnu: prjtrellis: Update to 1.4-0.898329d. Resent-From: Cayetano Santos Original-Sender: "Debbugs-submit" Resent-CC: csantosb@inventati.org, ekaitz@elenq.tech, gabriel@erlikon.ch, maxim.cournoyer@gmail.com, guix-patches@gnu.org Resent-Date: Sun, 11 May 2025 10:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 78369 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 78369@debbugs.gnu.org Cc: Cayetano Santos , Cayetano Santos , Ekaitz Zarraga , Gabriel Wicki , Maxim Cournoyer X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Cayetano Santos , Ekaitz Zarraga , Gabriel Wicki , Maxim Cournoyer Received: via spool by submit@debbugs.gnu.org id=B.17469601634780 (code B ref -1); Sun, 11 May 2025 10:43:01 +0000 Received: (at submit) by debbugs.gnu.org; 11 May 2025 10:42:43 +0000 Received: from localhost ([127.0.0.1]:58739 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uE48o-0001F0-FC for submit@debbugs.gnu.org; Sun, 11 May 2025 06:42:43 -0400 Received: from lists.gnu.org ([2001:470:142::17]:45002) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uE48l-0001Eg-SA for submit@debbugs.gnu.org; Sun, 11 May 2025 06:42:41 -0400 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 1uE48f-0002WH-Iv for guix-patches@gnu.org; Sun, 11 May 2025 06:42:33 -0400 Received: from latitanza.investici.org ([82.94.249.234]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uE48c-0004nj-QK for guix-patches@gnu.org; Sun, 11 May 2025 06:42:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1746960140; bh=auk0/TcARcaLm40HofRl8xaeRKX1ckNLrd+9Kcsh0No=; h=From:To:Cc:Subject:Date:From; b=uoldaaY3QRyTKWUOgyRWYa2w5MMjyAAruw/ZrcuaNgEe2eGzAWWjfY/D5E7QbPFUg ixIHPa9oBdDCDRPaR9FYZ4r2JzT4tAQjq5g7z+UNCx9em207A+FabG1TPMFVIvTx54 0bPo+8R2DLY/fuUT9bFxmzO36KdLMAlE9rQV4e7A= Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4ZwK7J0MJTzGp9f; Sun, 11 May 2025 10:42:20 +0000 (UTC) Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: cayetano.santos@inventati.org) by localhost (Postfix) with ESMTPSA id 4ZwK7H5DwvzGp9V; Sun, 11 May 2025 10:42:19 +0000 (UTC) Date: Sun, 11 May 2025 12:41:57 +0200 Message-ID: X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 Received-SPF: pass client-ip=82.94.249.234; envelope-from=csantosb@inventati.org; helo=latitanza.investici.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, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-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: , Reply-to: Cayetano Santos X-ACL-Warn: , Cayetano Santos via Guix-patches X-Patchwork-Original-From: Cayetano Santos via Guix-patches via From: Cayetano Santos 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 * gnu/packages/electronics.scm (prjtrellis): Update to 1.4-0.898329d. Change-Id: I7773415ee875fe266e523ee8fda25467db1b85f5 --- gnu/packages/electronics.scm | 95 +++++++++++++++++++----------------- 1 file changed, 49 insertions(+), 46 deletions(-) base-commit: 4fe484ee7e9d598a9d0a249c375b75a14b95d1b4 diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm index da37a9fb33..f7134fac8e 100644 --- a/gnu/packages/electronics.scm +++ b/gnu/packages/electronics.scm @@ -423,50 +423,53 @@ (define-public openboardview (license license:expat))) (define-public prjtrellis - (package - (name "prjtrellis") - (version "1.4") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/YosysHQ/prjtrellis/") - (commit version) - ;; Pull the bitstream database for ECP5 devices; this is useful - ;; only by prjtrellis: there is no need to package it separately. - (recursive? #t))) - (file-name (git-file-name name version)) - (modules '((guix build utils))) - (snippet - ;; Remove bundled source code for which Guix has packages. - '(with-directory-excursion "libtrellis/3rdparty" - (for-each delete-file-recursively - '("pybind11")))) - (sha256 - (base32 "0c3asdfrjmnc6q3vawn3nfghgg43iajwy2zb8kck9d3wrypbhlmc")))) - (build-system cmake-build-system) - (arguments - (list - ;; The examples test directory requires nextpnr, using this package as a - ;; backend, which is provided by nextpnr-ecp5: the tests are to be run - ;; in this later package. - #:tests? #f - #:phases - #~(modify-phases %standard-phases - (add-after 'unpack 'chdir - (lambda _ - (chdir "libtrellis"))) - ;; point to pybind11 include dir - (add-after 'chdir 'setenv-pybind11 - (lambda* (#:key inputs #:allow-other-keys) - (setenv "PYBIND11_INCLUDE_DIR" - (string-append #$(this-package-input "pybind11") - "/include/pybind11"))))))) - (native-inputs (list python)) - (inputs (list openocd boost pybind11)) - (synopsis "Placement and routing for ECP5 FPGAs") - (description - "Project Trellis is a Nextpnr backend compatible with ECP5 FPGAs. + ;; Last release is 2 years old. + (let ((commit "898329dddf6ce6463299973081f109d645b9c55f") + (revision "0")) + (package + (name "prjtrellis") + (version (git-version "1.4" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/YosysHQ/prjtrellis/") + (commit commit) + ;; Pull the bitstream database for ECP5 devices; this is useful + ;; only by prjtrellis: there is no need to package it separately. + (recursive? #t))) + (file-name (git-file-name name version)) + (modules '((guix build utils))) + (snippet + ;; Remove bundled source code for which Guix has packages. + '(with-directory-excursion "libtrellis/3rdparty" + (for-each delete-file-recursively + '("pybind11")))) + (sha256 + (base32 "1qljgn7rxz114vki21rms70zi9rgr4gw7crdfihxx1n68zgv60gg")))) + (build-system cmake-build-system) + (arguments + (list + ;; The examples test directory requires nextpnr, using this package as a + ;; backend, which is provided by nextpnr-ecp5: the tests are to be run + ;; in this later package. + #:tests? #f + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'chdir + (lambda _ + (chdir "libtrellis"))) + ;; point to pybind11 include dir + (add-after 'chdir 'setenv-pybind11 + (lambda* (#:key inputs #:allow-other-keys) + (setenv "PYBIND11_INCLUDE_DIR" + (string-append #$(this-package-input "pybind11") + "/include/pybind11"))))))) + (native-inputs (list python)) + (inputs (list openocd boost pybind11)) + (synopsis "Placement and routing for ECP5 FPGAs") + (description + "Project Trellis is a Nextpnr backend compatible with ECP5 FPGAs. The following features are currently available: @itemize @item logic slice functionality, including carries @@ -478,8 +481,8 @@ (define-public prjtrellis @item global networks and PLLs @item transcievers (DCUs.) @end itemize") - (home-page "https://github.com/YosysHQ/prjtrellis/") - (license license:expat))) + (home-page "https://github.com/YosysHQ/prjtrellis/") + (license license:expat)))) (define-public opensta ;; There are no releases, we use last commit.