summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/likwid/package.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/likwid/package.py b/var/spack/repos/builtin/packages/likwid/package.py
index 0bbf69a89b..c1772c4e84 100644
--- a/var/spack/repos/builtin/packages/likwid/package.py
+++ b/var/spack/repos/builtin/packages/likwid/package.py
@@ -38,7 +38,8 @@ class Likwid(Package):
# The reason is that the internal hwloc is patched to contain extra
# functionality and functions are prefixed with "likwid_".
- depends_on('lua', when='@4.2.0:')
+ depends_on('lua', when='@:4')
+ depends_on('lua@5.2:', when='@5:')
# TODO: check
# depends_on('gnuplot', type='run')