~ruther/guix-local

01c1c4872e13c38b8df4523074b20000c5b92a95 — Cayetano Santos 10 months ago 33bb990
gnu: verilator: Update to 5.040.

* gnu/packages/fpga.scm (verilator): Update to 5.040.
[native-inputs]: Sort.
[#:phases] {set-SYSTEMC_ROOT}: New phase.

Change-Id: Ib7460a1ca99fa6d2f48b866ef8c704e0c17c132b
Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
Modified-by: Maxim Cournoyer <maxim@guixotic.coop>
1 files changed, 10 insertions(+), 7 deletions(-)

M gnu/packages/fpga.scm
M gnu/packages/fpga.scm => gnu/packages/fpga.scm +10 -7
@@ 768,7 768,7 @@ using different abstraction levels.")
(define-public verilator
  (package
    (name "verilator")
    (version "5.034")
    (version "5.040")
    (source
     (origin
       (method git-fetch)


@@ 777,18 777,18 @@ using different abstraction levels.")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "14alpa2z4fqbbsyx67dz50nqcvfis8pha84545h28xmglrzm13yn"))))
        (base32 "0xw2w7fikli3jffwd819rx8bwbh3zsymhrn3zbq34glklff07rsb"))))
    (native-inputs
     (list autoconf
           automake
           bison
           flex
           help2man
           gettext-minimal
           python
           ;; And a couple of extras for the test suite:
           cmake-minimal
           flex
           gdb/pinned
           gettext-minimal
           help2man
           python-distro
           python-minimal
           which))
    (inputs
     (list perl python systemc))


@@ 803,6 803,9 @@ using different abstraction levels.")
            (lambda _
              (substitute* "bin/verilator"
                (("/bin/echo") "echo"))))
          (add-before 'check 'set-SYSTEMC_ROOT
            (lambda _
              (setenv "SYSTEMC_ROOT" #$(this-package-input systemc))))
          (add-before 'check 'disable-gdb-safe-path
            (lambda _
              (setenv "HOME" (getcwd))