[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#60429: closed ([PATCH 0/5] gnu: yosys: Update to 0.24.)

From: GNU bug Tracking System
Subject: bug#60429: closed ([PATCH 0/5] gnu: yosys: Update to 0.24.)
Date: Sat, 11 Feb 2023 20:42:02 +0000

Your message dated Sat, 11 Feb 2023 20:38:02 +0000
with message-id <878rh453zz.fsf@cbaines.net>
and subject line Re: [bug#60429] [PATCH v3 0/5] gnu: yosys: Update to 0.24.
has caused the debbugs.gnu.org bug report #60429,
regarding [PATCH 0/5] gnu: yosys: Update to 0.24.
to be marked as done.

(If you believe you have received this mail in error, please contact

60429: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60429
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH 0/5] gnu: yosys: Update to 0.24. Date: Fri, 30 Dec 2022 10:58:32 -0500
Here's a patch series that aims to improve the package for Yosys, a tool for
synthesizing Verilog RTL designs, by

- Updating the source-repository and home-page URLs to their current location;

- Updating the package definition to the modern style, using gexps and

- Having Yosys use the "abc" executable from Guix's package rather than
  creating and installing a duplicate copy;

- Explicitly propagating packages with executables Yosys invokes at runtime
  rather than embedding store references in Yosys' code; and

- Updating Yosys to version 0.24.

I've tested building the package and its dependencies on x86-64 and AArch64
and everything seems okay[0].  Again, arachne-pnr fails to build in any case
and will need separate attention.

[0] Yosys' README.md file includes sample sessions useful for testing,
    particularly whether external tools can be invoked via the "show" and
    "abc" commands:


    The files "fiedler-cooley.v" and "mycells.lib" are present in the source

Simon South

Simon South (5):
  gnu: yosys: Update source and home-page URLs.
  gnu: yosys: Use new package style.
  gnu: yosys: Use external abc.
  gnu: yosys: Propagate external dependencies.
  gnu: yosys: Update to 0.24.

 gnu/packages/fpga.scm | 120 ++++++++++++++++--------------------------
 1 file changed, 45 insertions(+), 75 deletions(-)

base-commit: 01762b7171f9afaf7ffa364f7926461bdebc903f

--- End Message ---
--- Begin Message --- Subject: Re: [bug#60429] [PATCH v3 0/5] gnu: yosys: Update to 0.24. Date: Sat, 11 Feb 2023 20:38:02 +0000 User-agent: mu4e 1.8.11; emacs 28.2
Simon South <simon@simonsouth.net> writes:

> Here's a third revision of the remaining two patches in this series.  These
> updated patches now
> - Remove the remaining propagated inputs (abc and z3) from the yosys package
>   via changes to its "fix-paths" and "use-external-abc" phases, and
> - Update Yosys to version 0.26.

Thanks for the update, I made a tweak and pushed these to master as

> Note the second patch adds python and python-click as new propagated inputs.
> The Click library is needed by the "yosys-witness" command, and including both
> it and the Python interpreter in propagated-inputs is the only combination
> I've found that will cause Guix to set GUIX_PYTHONPATH appropriately on
> installation so this command can function.
> This appears to be supported by the Guix manual (in the sections "Search
> Paths" and "Python Modules") but if there's a better approach, please let me
> know.

I believe the good approach to do this is to wrap the relevant
script. I've gone ahead and changed the patch to do this rather than add
the propagated inputs. Do let me know if there's a problem with this
approach though, as I don't know how to test this software as well as

Thanks again,


Attachment: signature.asc
Description: PGP signature

--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]