[pkg-lua-devel] LuaJIT package.path?
Enrico Tassi
gareuselesinge at debian.org
Tue Oct 15 19:21:13 UTC 2013
On Tue, Oct 15, 2013 at 08:19:09AM -0400, Peter Colberg wrote:
> Dear Debian Lua team,
>
> Recently I have been working on a LuaJIT stack of libraries commonly
> used in scientific computing (MPI, HDF5, OpenCL), as a productive
> alternative to traditional Fortran or C++ programs. As a long-term
> goal, it would be great to provide this set of modules in Debian.
Wow! Do your plans include the debian packaging? I'd love that.
> Would you consider adding a LuaJIT-specific package.path, so that such
> modules can be provided without interfering with Lua 5.1 or 5.2
> installations on the same machine? Currently, package.path only
> contains a versioned LuaJIT-only path:
Sure, the current dh_lua is easy to patch so that luajit is considered
as a Lua flavour, and having a private luajit path makes sense given
that the ffi is not available in Lua. But I think we should discuss on
the luajim mailing list a standard name for this private path... Would
you start a thread there?
> More generally, do you have specific hints for packaging Lua modules
> for Debian, besides following the Introduction to Debian Packaging on
> the wiki?
If you plan to make luajit only modules, then I have to fix dh_lua
first (that currently supports only lua5.1 and lua5.2). The reference
is the tentative lua policy here: http://pkg-lua.alioth.debian.org/
For pure FFI modules, I guess it is easy once dh_lua has been fixed.
You can start by creating an account on alioth.debian.org, there we can
share a git repository for the packaging.
Ciao
--
Enrico Tassi
More information about the pkg-lua-devel
mailing list