Gentoo Archives: gentoo-dev

From: waltdnes@××××××××.org
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] rfc: new global use flag: luajit
Date: Fri, 15 Jul 2016 22:58:30
Message-Id: 20160715225822.GA27346@waltdnes.org
In Reply to: Re: [gentoo-dev] rfc: new global use flag: luajit by Dirkjan Ochtman
1 On Fri, Jul 15, 2016 at 11:23:37PM +0200, Dirkjan Ochtman wrote
2 > On Thu, Jul 14, 2016 at 4:34 PM, William Hubbs <williamh@g.o> wrote:
3 > >> I'd rather avoid adding more of this until we figure out what to do
4 > >> about multiple Lua versions. The Lua5.1/5.2 split is still stuck
5 > >> nowhere, and luajit is yet another variant to handle.
6 > >
7 > > If we don't do this, the only way to add luajit support to dev-lua/busted is to
8 > > propegate the local use flag into all of its dependencies [1], and that is
9 > > what I'm trying to avoid.
10 >
11 > rspamd has (since [1]) used the jit flag to distinguish between lua
12 > and luajit for a while. Then, lua is about lua support in general, and
13 > jit can select between lua and luajit. This is maybe not the best
14 > solution, but not so bad either, in my view.
15
16 Seamonkey and Firefox both have a "jit" USE flag, which I doubt has
17 anything to do with lua/luajit. "lua" and "luajit" appear to be
18 languages. They should have flags just like fortran and gcj. It appear
19 that the default is "-luajit", and "luajit" turns it on. BTW...
20
21 grep ":luajit " /usr/portage/profiles/use.local.desc | wc -l
22
23 ...gives 17 hits. It looks like a good candidate for "globalization".
24 Note the trailing space. There are 2 for USE flag "luajittex" for
25 app-text/texlive-core and dev-texlive/texlive-basic
26
27 --
28 Walter Dnes <waltdnes@××××××××.org>
29 I don't run "desktop environments"; I run useful applications