Fix flex for build and link, limit gcc to 7 or greater (#41335)
This commit is contained in:
parent
a039dc16fa
commit
e420441bc2
@ -70,11 +70,13 @@ class Verilator(AutotoolsPackage):
|
||||
depends_on("libtool", type="build")
|
||||
depends_on("help2man", type="build")
|
||||
depends_on("bison", type="build")
|
||||
depends_on("flex", type="build")
|
||||
depends_on("flex")
|
||||
depends_on("ccache", type=("build", "run"), when="@5.018:")
|
||||
depends_on("perl", type=("build", "run"))
|
||||
depends_on("bash", type="build")
|
||||
|
||||
conflicts("%gcc@:6", msg="C++14 support required")
|
||||
|
||||
# we need to fix the CXX and LINK paths, as they point to the spack
|
||||
# wrapper scripts which aren't usable without spack
|
||||
filter_compiler_wrappers("verilated.mk", relative_root="include")
|
||||
|
Loading…
Reference in New Issue
Block a user