[Nix-dev] LuaJIT

François Perrad francois.perrad at gadz.org
Mon Apr 12 13:25:26 CEST 2010


Hi List,

the attached patch adds LuaJIT 1 & 2.
it needs more work about platforms (OS & cpu)

1) for LuaJIT 2
    assert x86 or x64
2) for LuaJIT 1
   assert x86
3) for LuaJIT 1 & Lua 5
replace
   buildFlags = "linux"; # TODO: support for non-linux systems
by something like:
   buildFlags = if linux then "linux"
               else if freebsd then "freebsd"
               else if (openbsd || netbsd) then "bsd"
               else if darwin then "macosx"
               else if cygwin then "posix"
               else "generic"


François
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20100412/c95e383d/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-add-LuaJIT.patch
Type: text/x-diff
Size: 5766 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20100412/c95e383d/attachment.bin 


More information about the nix-dev mailing list