summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
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")