Modify

Opened 4 years ago

Closed 3 years ago

Last modified 2 years ago

#10907 closed enhancement (invalid)

New package - LUAJIT-2

Reported by: Igor Drach <laigor@…> Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

LuaJIT is a Just-In-Time Compiler for the Lua* programming language.
http://luajit.org/luajit.html

Attachments (4)

luajit.tar (10.0 KB) - added by Igor Drach <laigor@…> 4 years ago.
luajit.2.tar (10.0 KB) - added by Igor Drach <laigor@…> 4 years ago.
new version of package
add_luajit_package.patch (4.0 KB) - added by Igor Drach <laigor@…> 4 years ago.
patch to add luajit package
luajit-2.0.0-beta10.tar (10.0 KB) - added by Igor Drach <laigor@…> 4 years ago.
luajit package version 2.0.0-beta10

Download all attachments as: .zip

Change History (13)

Changed 4 years ago by Igor Drach <laigor@…>

comment:1 Changed 4 years ago by jow

Afaik luajit only works on x86 and a few select arm and ppc variants. I think you should add a DEPENDS:=@TARGET_x86 etc. to restrict it to platforms it actually supports.

Changed 4 years ago by Igor Drach <laigor@…>

new version of package

comment:2 Changed 4 years ago by Igor Drach <laigor@…>

luajit-2 from git support mips, arm, x86, x64, PPC.

comment:3 Changed 4 years ago by Igor Drach <laigor@…>

LuaJIT 2.0.0-beta10 has been released
The main feature of this release is the new port to MIPS CPUs.

Changed 4 years ago by Igor Drach <laigor@…>

patch to add luajit package

Changed 4 years ago by Igor Drach <laigor@…>

luajit package version 2.0.0-beta10

comment:4 Changed 4 years ago by Damiano <damiano.albani@…>

I've just compiled the LuaJIT package for my WR703N router (MIPS arch thus).
When I run the "luajit-2.0.0-beta10" binary, it keeps spinning at 100% CPU for ages but doesn't show any command prompt.
Beta 10 was supposed to add support for MIPS, so does anyone know what's going on here?

comment:5 Changed 4 years ago by Igor Drach <laigor@…>

luajit for mips requires hardware fpu. Try compile kernel with fpu emulation.

comment:6 Changed 4 years ago by jonbither@…

This was in the changelog for beta 11: "Handle cross-compiles with FPU/no-FPU or hard-fp/soft-fp ABI mismatch."

Might be worth testing the 2.0 release.

comment:7 Changed 4 years ago by karlp@…

I updated this for the v2.0 release, in a feed here..
https://github.com/remakeelectric/owrt_pub_feeds/tree/master/luajit

However, atheros ar2317 only has mips 4k, with no FPU, so it doesn't even compile. The beta10 release notes specifically state " It requires a CPU conforming to the MIPS32 R1 architecture with hardware FPU. O32 hard-fp ABI, little-endian or big-endian."

The only fpu changes I see in beta11 and final are for arm, not mips.

comment:8 Changed 3 years ago by jogo

  • Resolution set to invalid
  • Status changed from new to closed

Please submit the patch to the mailing list according to SubmittingPatches. I'll close this ticket to keep trac mostly for actual bugs.

comment:9 Changed 2 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.