From dadbd723a3e7d898948200d2ebfccb5d7510ae0f Mon Sep 17 00:00:00 2001 From: Oliver Breitwieser Date: Mon, 15 Apr 2019 09:56:07 +0200 Subject: [PATCH] verilator: Fix FlexLexer.h not found (#11185) Similar to #10956 flex needs to be a link-dependency for verilator in order for FlexLexer.h to be found during install. --- var/spack/repos/builtin/packages/verilator/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/verilator/package.py b/var/spack/repos/builtin/packages/verilator/package.py index e87ee9e2da..64b1956129 100644 --- a/var/spack/repos/builtin/packages/verilator/package.py +++ b/var/spack/repos/builtin/packages/verilator/package.py @@ -39,7 +39,7 @@ class Verilator(AutotoolsPackage): version('3.904', '7d4dc8e61d5e0e564c3016a06f0b9d07') depends_on('bison', type='build') - depends_on('flex', type='build') + depends_on('flex') depends_on('perl', type=('build', 'run')) def setup_environment(self, spack_env, run_env):