From 2bad254d032fca2843ffdaff401619c7cecc7c5a Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Tue, 12 Nov 2024 14:03:19 +0900 Subject: gnu: yosys: Update to 0.47. * gnu/packages/fpga.scm (yosys): Update to 0.47. [arguments]: Extend fix-paths phase. [native-inputs]: Add cxxopts. Change-Id: I14afed45261e7c4830fe91fe2ced8762eed54810 --- gnu/packages/fpga.scm | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/fpga.scm b/gnu/packages/fpga.scm index 6064b2019b..ae326b1138 100644 --- a/gnu/packages/fpga.scm +++ b/gnu/packages/fpga.scm @@ -45,6 +45,7 @@ (define-module (gnu packages fpga) #:use-module (gnu packages check) #:use-module (gnu packages cmake) #:use-module (gnu packages compression) + #:use-module (gnu packages cpp) #:use-module (gnu packages elf) #:use-module (gnu packages flex) #:use-module (gnu packages gawk) @@ -149,7 +150,7 @@ (define-public iverilog (define-public yosys (package (name "yosys") - (version "0.46") + (version "0.47") (source (origin (method git-fetch) (uri (git-reference @@ -157,7 +158,7 @@ (define-public yosys (commit version))) (sha256 (base32 - "1zj7vbpy6v1wn4p5cjs4hdjd467a1j1aj2qhs148bl2s6mzq3p86")) + "061sqb59vl61rshlwgv3n51x0fxd9x3lb6gfbdl7nzia8im7x0qm")) (file-name (git-file-name name version)))) (build-system gnu-build-system) (arguments @@ -178,6 +179,9 @@ (define-public yosys (search-input-file inputs "/bin/vcd2fst"))) (substitute* '("./passes/cmds/show.cc" "./passes/cmds/viz.cc") + (substitute* "kernel/driver.cc" + (("^#include \"libs/cxxopts/include/cxxopts.hpp\"") + "#include ")) (("exec xdot") (string-append "exec " (search-input-file inputs "/bin/xdot"))) @@ -208,6 +212,7 @@ (define-public yosys `("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 -- cgit v1.2.3