From patchwork Sun Feb 16 18:43:28 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cayetano Santos X-Patchwork-Id: 38754 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 8E26C27BBEA; Sun, 16 Feb 2025 18:46:35 +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.3 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_SBL_A 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 47F7E27BBE2 for ; Sun, 16 Feb 2025 18:46:34 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tjjeg-0004jQ-Rn; Sun, 16 Feb 2025 13:46:19 -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 1tjjeV-0004hU-C1 for guix-patches@gnu.org; Sun, 16 Feb 2025 13:46:03 -0500 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 1tjjeV-0000HN-2u for guix-patches@gnu.org; Sun, 16 Feb 2025 13:46:03 -0500 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=Lh3+tDncNaNxhJ+QpiXylWWUz5isIoiowVwflh/AHI4=; b=pDRNWA/V5R1WXR8rR2i5m6keakavD45YXvv0qYlADdKNfDBxr5Ci1uGYtXsCJzxDu3Ae4toBSn88ZCOCQg8yvbAWt6cq00KdVDdYKNHLfiutoCtrbrnL3ARkjrypm+aRnv9GFGLSQQUP+Y7DgevSFPaNRFe3en0EpePdWH7DRi7sXaPsWveSNte8loOMWUbGDphHBHKX1Pc2L+G6YZwgqMktux+yLQMsoz3XnqzIlbxDjP/Gl2dhyQdAwPKH6Ga3zW2KBBtF255yK1iGCnybLSS2eL3RfUNdiBlfu08oEmGRQ9koYWczQRZRiaBAqPUe0mA2z2D8Onwz1wXOubNmSw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tjjeU-0006WH-J1 for guix-patches@gnu.org; Sun, 16 Feb 2025 13:46:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#76348] [PATCH] gnu: yosys: Update to 0.50. Resent-From: Cayetano Santos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 16 Feb 2025 18:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 76348 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 76348@debbugs.gnu.org Cc: Cayetano Santos X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.173973153024952 (code B ref -1); Sun, 16 Feb 2025 18:46:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Feb 2025 18:45:30 +0000 Received: from localhost ([127.0.0.1]:37312 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tjjdu-0006UH-AD for submit@debbugs.gnu.org; Sun, 16 Feb 2025 13:45:29 -0500 Received: from lists.gnu.org ([2001:470:142::17]:45856) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tjjdq-0006Sq-Jx for submit@debbugs.gnu.org; Sun, 16 Feb 2025 13:45:24 -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 1tjjdk-0004Gr-D8 for guix-patches@gnu.org; Sun, 16 Feb 2025 13:45:16 -0500 Received: from confino.investici.org ([93.190.126.19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tjjdh-0000CM-HC for guix-patches@gnu.org; Sun, 16 Feb 2025 13:45:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1739731509; bh=Lh3+tDncNaNxhJ+QpiXylWWUz5isIoiowVwflh/AHI4=; h=From:To:Cc:Subject:Date:From; b=A/0leL1qyxHQ62RdiVINBSoygGNfrrqUF/e3OCtGQWVOZzRmK3RN9BQySN3aLLDmd jgEaTvxvV1BQcokEfg42oessFNWnh7GcEBFX9cQaxTPhgHQPXjyHWKSPg0ItagjdAE TCfGk6WgT7j2e0Z3qEY6Ni9fdO7KlX41sECbnDD0= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4Ywvq93xDfz113p; Sun, 16 Feb 2025 18:45:09 +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 4Ywvq56x2pz113l; Sun, 16 Feb 2025 18:45:05 +0000 (UTC) Date: Sun, 16 Feb 2025 19:43:28 +0100 Message-ID: <68b586f82fe57d95e8c22aa20a520ce6f5ab7da3.1739731408.git.csantosb@inventati.org> X-Mailer: git-send-email 2.48.1 MIME-Version: 1.0 Received-SPF: pass client-ip=93.190.126.19; envelope-from=csantosb@inventati.org; helo=confino.investici.org X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 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, URIBL_SBL_A=0.1 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 (yosys): Update to 0.50. Change-Id: I29afc237c3ef5ea327aefdba68f76335d617a251 --- I update to 0.50 and also apply `guix style` to the package definition. gnu/packages/fpga.scm | 86 ++++++++++++++++++++++--------------------- 1 file changed, 45 insertions(+), 41 deletions(-) base-commit: eba8c08b1bfc7ac333a0eda658a0be5acac7f151 -- 2.48.1 diff --git a/gnu/packages/fpga.scm b/gnu/packages/fpga.scm index 1e4bbe2c68..1d2aa931b3 100644 --- a/gnu/packages/fpga.scm +++ b/gnu/packages/fpga.scm @@ -155,40 +155,45 @@ (define-public iverilog (define-public yosys (package (name "yosys") - (version "0.49") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/YosysHQ/yosys") - (commit (string-append "v" version)))) - (sha256 - (base32 - "0mw8csk91s72vl73a9ngc3rrwhr4rfr8fm0abfycj3wcy8n3zr57")) - (file-name (git-file-name name version)))) + (version "0.50") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/YosysHQ/yosys") + (commit (string-append "v" version)))) + (sha256 + (base32 "13fmxsg668fqggq4jyflhd5js2m8r52gb407mfqzcqzq59129gmz")) + (file-name (git-file-name name version)))) (build-system gnu-build-system) (arguments (list #:test-target "test" - #:make-flags #~(list (string-append "CC=" #$(cc-for-target)) - (string-append "CXX=" #$(cxx-for-target)) - (string-append "PREFIX=" #$output)) + #:make-flags + #~(list (string-append "CC=" + #$(cc-for-target)) + (string-append "CXX=" + #$(cxx-for-target)) + (string-append "PREFIX=" + #$output)) #:phases #~(modify-phases %standard-phases (add-before 'configure 'fix-paths (lambda* (#:key inputs #:allow-other-keys) (substitute* "backends/smt2/smtio.py" (("\\['z3") - (string-append "['" (search-input-file inputs "bin/z3")))) + (string-append "['" + (search-input-file inputs "bin/z3")))) (substitute* "kernel/fstdata.cc" (("vcd2fst") (search-input-file inputs "bin/vcd2fst"))) (substitute* "kernel/driver.cc" (("^#include \"libs/cxxopts/include/cxxopts.hpp\"") "#include ")) - (substitute* '("passes/cmds/show.cc" - "passes/cmds/viz.cc") + (substitute* '("passes/cmds/show.cc" "passes/cmds/viz.cc") (("exec xdot") - (string-append "exec " (search-input-file inputs "bin/xdot"))) + (string-append "exec " + (search-input-file inputs "bin/xdot"))) (("dot -") (string-append (search-input-file inputs "bin/dot") " -")) (("fuser") @@ -213,30 +218,29 @@ (define-public yosys (add-after 'install 'wrap (lambda* (#:key inputs #:allow-other-keys) (wrap-program (string-append #$output "/bin/yosys-witness") - `("GUIX_PYTHONPATH" ":" prefix (,(getenv "GUIX_PYTHONPATH"))))))))) - (native-inputs - (list bison - cxxopts ;header-only library - flex - gawk ;for the tests and "make" progress pretty-printing - iverilog ;for the tests - pkg-config - python - tcl)) ;tclsh for the tests - (inputs - (list abc - bash-minimal - graphviz - gtkwave - libffi - psmisc - python - python-click - readline - tcl - xdot - z3 - zlib)) + `("GUIX_PYTHONPATH" ":" prefix + (,(getenv "GUIX_PYTHONPATH"))))))))) + (native-inputs (list bison + cxxopts ;header-only library + flex + gawk ;for the tests and "make" progress pretty-printing + iverilog ;for the tests + pkg-config + python + tcl)) ;tclsh for the tests + (inputs (list abc + bash-minimal + graphviz + gtkwave + libffi + psmisc + python + python-click + readline + tcl + xdot + z3 + zlib)) (home-page "https://yosyshq.net/yosys/") (synopsis "FPGA Verilog RTL synthesizer") (description "Yosys synthesizes Verilog-2005.")