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 <ajstewart426@gmail.com>

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
Severin Strobl 2020-09-16 17:16:08 +02:00 committed by GitHub
parent 1a9f97fd0d
commit e41c3ad1fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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')