On Thu, Jul 14, 2016 at 4:34 PM, William Hubbs <willi...@gentoo.org> wrote: >> I'd rather avoid adding more of this until we figure out what to do >> about multiple Lua versions. The Lua5.1/5.2 split is still stuck >> nowhere, and luajit is yet another variant to handle. > > If we don't do this, the only way to add luajit support to dev-lua/busted is > to > propegate the local use flag into all of its dependencies [1], and that is > what I'm trying to avoid.
rspamd has (since [1]) used the jit flag to distinguish between lua and luajit for a while. Then, lua is about lua support in general, and jit can select between lua and luajit. This is maybe not the best solution, but not so bad either, in my view. Cheers, Dirkjan [1] https://bugs.gentoo.org/show_bug.cgi?id=572682