summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorDave Keeshan <96727608+davekeeshan@users.noreply.github.com>2023-11-30 20:51:48 +0000
committerGitHub <noreply@github.com>2023-11-30 12:51:48 -0800
commite420441bc2a4690aaf9223965acb1cd67e465e38 (patch)
treed42ad8ad5e7143495d1060f8acefa4718922e865 /var
parenta039dc16fa4142f7d5a7d498aeec3b4dbc808202 (diff)
downloadspack-e420441bc2a4690aaf9223965acb1cd67e465e38.tar.gz
spack-e420441bc2a4690aaf9223965acb1cd67e465e38.tar.bz2
spack-e420441bc2a4690aaf9223965acb1cd67e465e38.tar.xz
spack-e420441bc2a4690aaf9223965acb1cd67e465e38.zip
Fix flex for build and link, limit gcc to 7 or greater (#41335)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/verilator/package.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/verilator/package.py b/var/spack/repos/builtin/packages/verilator/package.py
index df49bf3bb6..de3d527912 100644
--- a/var/spack/repos/builtin/packages/verilator/package.py
+++ b/var/spack/repos/builtin/packages/verilator/package.py
@@ -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")