From patchwork Mon Mar 17 10:21:33 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cayetano Santos X-Patchwork-Id: 40277 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 DF6AF27BBE9; Mon, 17 Mar 2025 10:23:46 +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=-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 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 3B7BF27BBE2 for ; Mon, 17 Mar 2025 10:23:44 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tu7cm-0006lu-IL; Mon, 17 Mar 2025 06:23:12 -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 1tu7ch-0006jm-Rc for guix-patches@gnu.org; Mon, 17 Mar 2025 06:23:08 -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 1tu7cg-00045r-4I for guix-patches@gnu.org; Mon, 17 Mar 2025 06:23:07 -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=OaM8jaG0MyZlIfqGe5j5rVUdujWPAWgyprxR0sITwl8=; b=PVpCr+zUuWeDF3eVqOvaqXkOWOePZK5tcUAANiKr9+FYUUoCMBDImaOVXjp4pEbSLJleigDlc9AV+C7PGZJcT/L2msjsaqRPA1vmGI/1h7Hn4Xp69y4ViLpLhlcEzSWs4tPpQgwR51df00EEd5P0R2arEn7/Zpiv2AKVcYBAuvGEq/VBFCQceipKhYYujWAes+t3hNe3iuzanbQ0qX+6DxvW3uyKdHU+tNaslwFApgToMGKJG1GtlS01SWlUOF1CyG9Fkizt5YXOE0rU4R+8DPLBLuMQ016njnmUTNrCB5YeKPg8HhmtkpVcztjN2bQP+LFy7/8jX7iX2G5w5UTbTw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tu7cf-0004Jo-KK for guix-patches@gnu.org; Mon, 17 Mar 2025 06:23:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77067] [PATCH] gnu: icestorm: Update to 0.0-5.7fbf8c0. Resent-From: Cayetano Santos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 17 Mar 2025 10:23:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 77067 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77067@debbugs.gnu.org Cc: Cayetano Santos X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.174220694116197 (code B ref -1); Mon, 17 Mar 2025 10:23:04 +0000 Received: (at submit) by debbugs.gnu.org; 17 Mar 2025 10:22:21 +0000 Received: from localhost ([127.0.0.1]:55835 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tu7bu-0004Cj-Nk for submit@debbugs.gnu.org; Mon, 17 Mar 2025 06:22:20 -0400 Received: from lists.gnu.org ([2001:470:142::17]:39244) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tu7bq-0004BE-Ih for submit@debbugs.gnu.org; Mon, 17 Mar 2025 06:22:16 -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 1tu7bk-0006FG-1f for guix-patches@gnu.org; Mon, 17 Mar 2025 06:22:08 -0400 Received: from confino.investici.org ([2a11:7980:1::2:0]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tu7bh-0003vs-4P for guix-patches@gnu.org; Mon, 17 Mar 2025 06:22:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1742206918; bh=OaM8jaG0MyZlIfqGe5j5rVUdujWPAWgyprxR0sITwl8=; h=From:To:Cc:Subject:Date:From; b=FP0diYQvIDhJe/6jdBI+zRS3VbyhvrZ3rLOo94R6TAGmMHGLPyhp76YrDf34sNBwf GAutRPwl7eIOugAFR8TaVW+IEg3juEQz2Jv/10fIW65vweNtqjhA+W89n6PfGF3eU1 7LpI5ro/FjrzKW+/VBIdhAmhZMHDRTYbY3RWktVY= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4ZGWHB31Tbz119y; Mon, 17 Mar 2025 10:21:58 +0000 (UTC) Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: cayetano.santos@inventati.org) by localhost (Postfix) with ESMTPSA id 4ZGWHB20psz119b; Mon, 17 Mar 2025 10:21:58 +0000 (UTC) Date: Mon, 17 Mar 2025 11:21:33 +0100 Message-ID: X-Mailer: git-send-email 2.48.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a11:7980:1::2:0; envelope-from=csantosb@inventati.org; helo=confino.investici.org 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, 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/fpga.scm (icestorm): Update to 0.0-5.7fbf8c0. Change-Id: I545ac91c94a97989c3a1494479d36cb5bb46930d --- gnu/packages/fpga.scm | 91 +++++++++++++++++++++++-------------------- 1 file changed, 48 insertions(+), 43 deletions(-) base-commit: fd19785a9a7f111c6a97da25187c3351e7e8f3fd diff --git a/gnu/packages/fpga.scm b/gnu/packages/fpga.scm index c09fe9bc76..efe0fe89c3 100644 --- a/gnu/packages/fpga.scm +++ b/gnu/packages/fpga.scm @@ -269,49 +269,54 @@ (define-public yosys-clang (synopsis "FPGA Verilog RTL synthesizer (Clang variant)"))) (define-public icestorm - (let ((commit "2bc541743ada3542c6da36a50e66303b9cbd2059") - (revision "4")) - (package - (name "icestorm") - (version (git-version "0.0" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/cliffordwolf/icestorm") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0d0ibdq3rzmjcbv97h4b9wgq8ikvgwlfw60spi2w81mis317lis8")))) - (build-system gnu-build-system) - (arguments - `(#:tests? #f ; no unit tests that don't need an FPGA exist. - #:make-flags (list "CC=gcc" "CXX=g++" - (string-append "PREFIX=" (assoc-ref %outputs "out"))) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'remove-usr-local - (lambda _ - (substitute* "iceprog/Makefile" - (("-I/usr/local/include") "") - (("-L/usr/local/lib") "")) - #t)) - (add-after 'remove-usr-local 'fix-usr-local - (lambda* (#:key outputs #:allow-other-keys) - (substitute* "icebox/icebox_vlog.py" - (("/usr/local/share") (string-append (assoc-ref outputs "out") "/share"))) - #t)) - (delete 'configure)))) - (inputs - (list libftdi)) - (native-inputs - `(("python-3" ,python) - ("pkg-config" ,pkg-config))) - (home-page "https://www.clifford.at/icestorm/") - (synopsis "Project IceStorm - Lattice iCE40 FPGAs bitstream tools") - (description "Project IceStorm - Lattice iCE40 FPGAs Bitstream Tools. -Includes the actual FTDI connector.") - (license license:isc)))) + (let ((commit "7fbf8c0afbcf7665c45499b090409859b1815184") + (revision "5")) + (package + (name "icestorm") + (version (git-version "0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/YosysHQ/icestorm/") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0vwl0j5sw2awsv82s18zby522h2b6wa5jyc6dkpqfxybak19kv7f")))) + (build-system gnu-build-system) + (arguments + (list + #:tests? #f ;no unit tests that don't need an FPGA exist. + #:make-flags + #~(list (string-append "CC=" #$(cc-for-target)) + (string-append "CXX=" #$(cxx-for-target)) + (string-append "PREFIX=" #$output) + "ICEPROG=1") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-usr-local + (lambda* (#:key outputs #:allow-other-keys) + (with-directory-excursion "icepack" + (substitute* "Makefile" + (("/usr/local") + #$output))) + (with-directory-excursion "icebox" + (substitute* "Makefile" + (("/usr/local/share") + (string-append #$output "/share"))) + (substitute* "icebox_vlog.py" + (("/usr/local/share") + (string-append #$output "/share")))))) + (delete 'configure)))) + (inputs (list libftdi)) + (native-inputs (list python pkg-config)) + (home-page "https://prjicestorm.readthedocs.io/") + (synopsis "Project IceStorm") + (description + "Project IceStorm aims at documenting the bitstream format of +Lattice iCE40 FPGAs and providing simple tools for analyzing and creating bitstream +files.") + (license license:isc)))) (define-public nextpnr-ice40 (let* ((version "0.7")