From e41c3ad1fc5cda3981348a430e46e58ec862c8bb Mon Sep 17 00:00:00 2001 From: Severin Strobl Date: Wed, 16 Sep 2020 17:16:08 +0200 Subject: [PATCH] Likwid versions >= 5.0.0 depend on Lua 5.2. (#18675) * Likwid versions >= 5.0.0 depend on Lua 5.2. According to https://github.com/RRZE-HPC/likwid/issues/324 recent versions of Likwid require Lua 5.2. * Update var/spack/repos/builtin/packages/likwid/package.py Co-authored-by: Adam J. Stewart Co-authored-by: Adam J. Stewart --- var/spack/repos/builtin/packages/likwid/package.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/likwid/package.py b/var/spack/repos/builtin/packages/likwid/package.py index 0bbf69a89be..c1772c4e84a 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')