gnu: nvc: Update to 1.16.0.

Note that:

--enable-gcov is intended for debug/development of the simulator itself and
should not be enabled in release builds

- VHPI is now always enabled at build time and the `--enable-vhpi` configure
option has no effect.

* gnu/packages/fpga.scm (nvc): Update to 1.16.0.
[arguments] <#:configure-flags> Remove --enable-{vhpi,gcov}.
[native-inputs]: Add python and perl; sort.
[inputs]: Remove elfutils; sort.

Change-Id: If781ed403cd769db85f8265fc242d0f1608d737e
Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
Cayetano Santos via Guix-patches via 2025-04-26 20:36:22 +02:00 committed by Christopher Baines
parent 6134805e68
commit f1ce653b13
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -73,6 +73,7 @@
#:use-module (gnu packages python) #:use-module (gnu packages python)
#:use-module (gnu packages python-build) #:use-module (gnu packages python-build)
#:use-module (gnu packages python-xyz) #:use-module (gnu packages python-xyz)
#:use-module (gnu packages ruby)
#:use-module (gnu packages qt) #:use-module (gnu packages qt)
#:use-module (gnu packages readline) #:use-module (gnu packages readline)
#:use-module (gnu packages sphinx) #:use-module (gnu packages sphinx)
@ -551,7 +552,7 @@ automated testing of HDL code.")
(define-public nvc (define-public nvc
(package (package
(name "nvc") (name "nvc")
(version "1.15.2") (version "1.16.0")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
@ -560,12 +561,11 @@ automated testing of HDL code.")
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"1r6ba5jw4ja0hv366686d8haakm57h3fl95w81hda8haq6g0dj0q")))) "1hi1mqhjbj7r3wcdkjr6yazwpc7y9lqc0b8bj4ikfgdfsmakm3s4"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
(list #:out-of-source? #t (list #:out-of-source? #t
#:configure-flags #~(list "--enable-vhpi" "--enable-tcl" "--enable-gcov" #:configure-flags #~(list "--enable-tcl" "--enable-llvm")
"--enable-llvm")
#:phases #~(modify-phases %standard-phases #:phases #~(modify-phases %standard-phases
(add-after 'unpack 'clean-up (add-after 'unpack 'clean-up
(lambda _ (lambda _
@ -573,16 +573,17 @@ automated testing of HDL code.")
(native-inputs (native-inputs
(list automake (list automake
autoconf autoconf
check ; for the tests
flex flex
gettext-minimal gettext-minimal
libtool libtool
pkg-config pkg-config
which python
check)) ; for the tests ruby
which))
(inputs (inputs
(list elfutils (list libffi
llvm llvm
libffi
readline readline
tcl tcl
`(,zstd "lib"))) `(,zstd "lib")))