Add 5.022 and cleanup how autoconf is done (#43085)
This commit is contained in:
parent
c6fcb1068f
commit
e3fe6bc0f7
1 changed files with 4 additions and 3 deletions
|
@ -33,7 +33,7 @@ class Verilator(AutotoolsPackage):
|
||||||
designs with thousands of modules."""
|
designs with thousands of modules."""
|
||||||
|
|
||||||
homepage = "https://www.veripool.org/projects/verilator"
|
homepage = "https://www.veripool.org/projects/verilator"
|
||||||
url = "https://github.com/verilator/verilator/archive/refs/tags/v5.020.tar.gz"
|
url = "https://github.com/verilator/verilator/archive/refs/tags/v5.022.tar.gz"
|
||||||
git = "https://github.com/verilator/verilator.git"
|
git = "https://github.com/verilator/verilator.git"
|
||||||
|
|
||||||
maintainers("davekeeshan")
|
maintainers("davekeeshan")
|
||||||
|
@ -42,6 +42,7 @@ class Verilator(AutotoolsPackage):
|
||||||
|
|
||||||
version("master", branch="master")
|
version("master", branch="master")
|
||||||
|
|
||||||
|
version("5.022", sha256="3c2f5338f4b6ce7e2f47a142401acdd18cbf4c5da06092618d6d036c0afef12d")
|
||||||
version("5.020", sha256="41ca9abfadf8d2413efbff7f8277379733d0095957fe7769dc38f8fd1bc899a6")
|
version("5.020", sha256="41ca9abfadf8d2413efbff7f8277379733d0095957fe7769dc38f8fd1bc899a6")
|
||||||
version("5.018", sha256="8b544273eedee379e3c1a3bb849e14c754c9b5035d61ad03acdf3963092ba6c0")
|
version("5.018", sha256="8b544273eedee379e3c1a3bb849e14c754c9b5035d61ad03acdf3963092ba6c0")
|
||||||
version("5.016", sha256="66fc36f65033e5ec904481dd3d0df56500e90c0bfca23b2ae21b4a8d39e05ef1")
|
version("5.016", sha256="66fc36f65033e5ec904481dd3d0df56500e90c0bfca23b2ae21b4a8d39e05ef1")
|
||||||
|
@ -76,7 +77,6 @@ class Verilator(AutotoolsPackage):
|
||||||
depends_on("flex")
|
depends_on("flex")
|
||||||
depends_on("ccache", type=("build", "run"), when="@5.018:")
|
depends_on("ccache", type=("build", "run"), when="@5.018:")
|
||||||
depends_on("perl", type=("build", "run"))
|
depends_on("perl", type=("build", "run"))
|
||||||
depends_on("bash", type="build")
|
|
||||||
|
|
||||||
conflicts("%gcc@:6", msg="C++14 support required")
|
conflicts("%gcc@:6", msg="C++14 support required")
|
||||||
|
|
||||||
|
@ -88,7 +88,8 @@ def setup_run_environment(self, env):
|
||||||
env.prepend_path("VERILATOR_ROOT", self.prefix)
|
env.prepend_path("VERILATOR_ROOT", self.prefix)
|
||||||
|
|
||||||
def autoreconf(self, spec, prefix):
|
def autoreconf(self, spec, prefix):
|
||||||
which("bash")("autoconf")
|
autoconf = which("autoconf")
|
||||||
|
autoconf()
|
||||||
|
|
||||||
# verilator requires access to its shipped scripts (bin) and include
|
# verilator requires access to its shipped scripts (bin) and include
|
||||||
# but the standard make doesn't put it in the correct places
|
# but the standard make doesn't put it in the correct places
|
||||||
|
|
Loading…
Reference in a new issue