[pkg-lua-devel] LuaJIT package.path?
Peter Colberg
peter at colberg.org
Tue Oct 15 12:19:09 UTC 2013
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.
All packages [1-3] (with high-level bindings and documentation to
follow soon) make use of LuaJIT's foreign function interface, since it
provides direct and fast access to C data structures. A plugin for GCC
[4] is used to parse the corresponding C header file and generate FFI
C declarations [5].
[1] http://colberg.org/luajit-hdf5/
[2] http://colberg.org/luajit-opencl/
[3] http://colberg.org/luajit-mpi/
[4] http://colberg.org/gcc-lua/
[5] http://colberg.org/gcc-lua-cdecl/
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:
./?.lua;/usr/share/luajit-2.0.2/?.lua;/usr/local/share/lua/5.1/?.lua;/usr/local/share/lua/5.1/?/init.lua;/usr/share/lua/5.1/?.lua;/usr/share/lua/5.1/?/init.lua
More generally, do you have specific hints for packaging Lua modules
for Debian, besides following the Introduction to Debian Packaging on
the wiki?
Thanks,
Peter
More information about the pkg-lua-devel
mailing list