Coder Social home page Coder Social logo

luapower / luajit Goto Github PK

View Code? Open in Web Editor NEW
44.0 6.0 12.0 12.38 MB

LuaJIT 2.1 sources, binaries and build scripts

Home Page: http://luapower.com/luajit

Lua 18.36% Shell 0.08% Makefile 1.03% CSS 0.23% HTML 6.45% C 72.40% C++ 0.41% Batchfile 0.49% Roff 0.07% Perl 0.35% Terra 0.14%

luajit's People

Contributors

capr avatar earl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

luajit's Issues

build windows luajit proxy lua5.1.dll alongside lua51.dll

There's a longstanding historical problem in Windows-land, where because different binary distributions have used different library names, sometimes executables and other libraries link against lua51.dll and sometimes they use lua5.1.dll and then this causes problems. The general solution is have a proxy dll that forwards calls.
See, for instance: http://www.freelists.org/post/luajit/The-dreaded-newbie-questions,10
http://luabinaries.sourceforge.net/manual.html

Can you make the luapower build also link a small proxy lua5.1.dll that forwards all calls to lua51.dll?

luajit csrc fails to build

When trying to build the current luajit csrc for linux64, I get the following error in the actual build:

[snip]
gcc -fPIC  -O2 -fomit-frame-pointer -Wall  -pthread -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -U_FORTIFY_SOURCE  -fno-stack-protector   -c -o ljamalg_dyn.o ljamalg.c
ljamalg.c:49:27: fatal error: lj_strfmt_num.c: No such file or directory
 #include "lj_strfmt_num.c"
                           ^
compilation terminated.

I think I'm using the supported build environment as described on https://luapower.com/building:

$ lsb_release -a
...
Description:    Ubuntu 10.04 LTS
...

$ gcc -v
...
gcc version 4.8.1 (Ubuntu 4.8.1-2ubuntu1~10.04.1) 

$ g++ -v
...
gcc version 4.8.1 (Ubuntu 4.8.1-2ubuntu1~10.04.1) 

Here's the sequence of commands I am executing:

git clone https://github.com/capr/multigit luapower
cd luapower/
./mgit clone https://github.com/luapower/luapower-repos
./mgit clone luajit
./mgit build luajit

Full log of the failed build: https://gist.github.com/earl/e272418a62a3ea6b83435d9a4975334e

Make luapower more self-contained

One feature of luapower is that it's self-contained, i.e. independent of what's on the host outside the luapower directory. But there are a few loopholes left there for convenience:

  • the presence of current directory in LUA_PATH and LUA_CPATH (not in bundled executables)
  • obeying LUA_INIT
  • looking for shared libraries in system paths (although only as a fallback)

We should probably close these off as they have the potential to interfere with luapower apps and prevent them from starting.

2.0.4 support?

LuaJIT 2.0.4 released (rather surprisingly) on May 14, 2015, after over a year of no releases. How difficult would it be to update LuaPower's version of LuaJIT to the latest?
I'm quite impressed by how easy it's been to get started with LuaPower, by the way. I'm planning to use the "Swedish Buffet" setup in my own repo, which if I'm not mistaken would be less than ideal to update the whole set of used packages frequently. The mgit setup is definitely nice, but I would really like to be able to have some more control over my repo's layout (like having a README...), and I don't think I need to provide a module, more of an application.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.