diff options
author | Mike Pall <mike> | 2013-02-21 16:49:04 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2013-02-21 16:49:04 +0100 |
commit | 61fb587d2c1646cae4c90990b9c4c1f1bff09e5b (patch) | |
tree | afdb8325aa84751f36f5e91338a2e4714d3b463c | |
parent | d4bc6ab756371b744f3e0030d5cf0b24bffdf24c (diff) | |
download | luajit-61fb587d2c1646cae4c90990b9c4c1f1bff09e5b.tar.gz luajit-61fb587d2c1646cae4c90990b9c4c1f1bff09e5b.tar.bz2 luajit-61fb587d2c1646cae4c90990b9c4c1f1bff09e5b.zip |
BRANCH LuaJIT-2.1
-rw-r--r-- | Makefile | 19 | ||||
-rw-r--r-- | README | 4 | ||||
-rw-r--r-- | etc/luajit.pc | 6 | ||||
-rw-r--r-- | src/jit/bc.lua | 2 | ||||
-rw-r--r-- | src/jit/bcsave.lua | 2 | ||||
-rw-r--r-- | src/jit/dump.lua | 2 | ||||
-rw-r--r-- | src/jit/v.lua | 2 | ||||
-rw-r--r-- | src/luaconf.h | 4 | ||||
-rw-r--r-- | src/luajit.h | 6 |
9 files changed, 27 insertions, 20 deletions
@@ -14,9 +14,10 @@ | |||
14 | ############################################################################## | 14 | ############################################################################## |
15 | 15 | ||
16 | MAJVER= 2 | 16 | MAJVER= 2 |
17 | MINVER= 0 | 17 | MINVER= 1 |
18 | RELVER= 1 | 18 | RELVER= 0 |
19 | VERSION= $(MAJVER).$(MINVER).$(RELVER) | 19 | PREREL= -alpha |
20 | VERSION= $(MAJVER).$(MINVER).$(RELVER)$(PREREL) | ||
20 | ABIVER= 5.1 | 21 | ABIVER= 5.1 |
21 | 22 | ||
22 | ############################################################################## | 23 | ############################################################################## |
@@ -107,7 +108,7 @@ install: $(INSTALL_DEP) | |||
107 | $(MKDIR) $(INSTALL_DIRS) | 108 | $(MKDIR) $(INSTALL_DIRS) |
108 | cd src && $(INSTALL_X) $(FILE_T) $(INSTALL_T) | 109 | cd src && $(INSTALL_X) $(FILE_T) $(INSTALL_T) |
109 | cd src && test -f $(FILE_A) && $(INSTALL_F) $(FILE_A) $(INSTALL_STATIC) || : | 110 | cd src && test -f $(FILE_A) && $(INSTALL_F) $(FILE_A) $(INSTALL_STATIC) || : |
110 | $(RM) $(INSTALL_TSYM) $(INSTALL_DYN) $(INSTALL_SHORT1) $(INSTALL_SHORT2) | 111 | $(RM) $(INSTALL_DYN) $(INSTALL_SHORT1) $(INSTALL_SHORT2) |
111 | cd src && test -f $(FILE_SO) && \ | 112 | cd src && test -f $(FILE_SO) && \ |
112 | $(INSTALL_X) $(FILE_SO) $(INSTALL_DYN) && \ | 113 | $(INSTALL_X) $(FILE_SO) $(INSTALL_DYN) && \ |
113 | $(LDCONFIG) $(INSTALL_LIB) && \ | 114 | $(LDCONFIG) $(INSTALL_LIB) && \ |
@@ -119,12 +120,18 @@ install: $(INSTALL_DEP) | |||
119 | $(RM) $(FILE_PC).tmp | 120 | $(RM) $(FILE_PC).tmp |
120 | cd src && $(INSTALL_F) $(FILES_INC) $(INSTALL_INC) | 121 | cd src && $(INSTALL_F) $(FILES_INC) $(INSTALL_INC) |
121 | cd src/jit && $(INSTALL_F) $(FILES_JITLIB) $(INSTALL_JITLIB) | 122 | cd src/jit && $(INSTALL_F) $(FILES_JITLIB) $(INSTALL_JITLIB) |
122 | $(SYMLINK) $(INSTALL_TNAME) $(INSTALL_TSYM) | ||
123 | @echo "==== Successfully installed LuaJIT $(VERSION) to $(PREFIX) ====" | 123 | @echo "==== Successfully installed LuaJIT $(VERSION) to $(PREFIX) ====" |
124 | @echo "" | ||
125 | @echo "Note: the development releases deliberately do NOT install a symlink for luajit" | ||
126 | @echo "You can do this now by running this command (with sudo):" | ||
127 | @echo "" | ||
128 | @echo " $(SYMLINK) $(INSTALL_TNAME) $(INSTALL_TSYM)" | ||
129 | @echo "" | ||
130 | |||
124 | 131 | ||
125 | uninstall: | 132 | uninstall: |
126 | @echo "==== Uninstalling LuaJIT $(VERSION) from $(PREFIX) ====" | 133 | @echo "==== Uninstalling LuaJIT $(VERSION) from $(PREFIX) ====" |
127 | $(UNINSTALL) $(INSTALL_TSYM) $(INSTALL_T) $(INSTALL_STATIC) $(INSTALL_DYN) $(INSTALL_SHORT1) $(INSTALL_SHORT2) $(INSTALL_MAN)/$(FILE_MAN) $(INSTALL_PC) | 134 | $(UNINSTALL) $(INSTALL_T) $(INSTALL_STATIC) $(INSTALL_DYN) $(INSTALL_SHORT1) $(INSTALL_SHORT2) $(INSTALL_MAN)/$(FILE_MAN) $(INSTALL_PC) |
128 | for file in $(FILES_JITLIB); do \ | 135 | for file in $(FILES_JITLIB); do \ |
129 | $(UNINSTALL) $(INSTALL_JITLIB)/$$file; \ | 136 | $(UNINSTALL) $(INSTALL_JITLIB)/$$file; \ |
130 | done | 137 | done |
@@ -1,5 +1,5 @@ | |||
1 | README for LuaJIT 2.0.1 | 1 | README for LuaJIT 2.1.0-alpha |
2 | ----------------------- | 2 | ----------------------------- |
3 | 3 | ||
4 | LuaJIT is a Just-In-Time (JIT) compiler for the Lua programming language. | 4 | LuaJIT is a Just-In-Time (JIT) compiler for the Lua programming language. |
5 | 5 | ||
diff --git a/etc/luajit.pc b/etc/luajit.pc index 2ce6e94c..d3c7d9a2 100644 --- a/etc/luajit.pc +++ b/etc/luajit.pc | |||
@@ -1,8 +1,8 @@ | |||
1 | # Package information for LuaJIT to be used by pkg-config. | 1 | # Package information for LuaJIT to be used by pkg-config. |
2 | majver=2 | 2 | majver=2 |
3 | minver=0 | 3 | minver=1 |
4 | relver=1 | 4 | relver=0 |
5 | version=${majver}.${minver}.${relver} | 5 | version=${majver}.${minver}.${relver}-alpha |
6 | abiver=5.1 | 6 | abiver=5.1 |
7 | 7 | ||
8 | prefix=/usr/local | 8 | prefix=/usr/local |
diff --git a/src/jit/bc.lua b/src/jit/bc.lua index 5c00ebe3..dd1c1f3b 100644 --- a/src/jit/bc.lua +++ b/src/jit/bc.lua | |||
@@ -41,7 +41,7 @@ | |||
41 | 41 | ||
42 | -- Cache some library functions and objects. | 42 | -- Cache some library functions and objects. |
43 | local jit = require("jit") | 43 | local jit = require("jit") |
44 | assert(jit.version_num == 20001, "LuaJIT core/library version mismatch") | 44 | assert(jit.version_num == 20100, "LuaJIT core/library version mismatch") |
45 | local jutil = require("jit.util") | 45 | local jutil = require("jit.util") |
46 | local vmdef = require("jit.vmdef") | 46 | local vmdef = require("jit.vmdef") |
47 | local bit = require("bit") | 47 | local bit = require("bit") |
diff --git a/src/jit/bcsave.lua b/src/jit/bcsave.lua index 25bd6042..a54094dd 100644 --- a/src/jit/bcsave.lua +++ b/src/jit/bcsave.lua | |||
@@ -11,7 +11,7 @@ | |||
11 | ------------------------------------------------------------------------------ | 11 | ------------------------------------------------------------------------------ |
12 | 12 | ||
13 | local jit = require("jit") | 13 | local jit = require("jit") |
14 | assert(jit.version_num == 20001, "LuaJIT core/library version mismatch") | 14 | assert(jit.version_num == 20100, "LuaJIT core/library version mismatch") |
15 | local bit = require("bit") | 15 | local bit = require("bit") |
16 | 16 | ||
17 | -- Symbol name prefix for LuaJIT bytecode. | 17 | -- Symbol name prefix for LuaJIT bytecode. |
diff --git a/src/jit/dump.lua b/src/jit/dump.lua index 70a59280..b9c6cf41 100644 --- a/src/jit/dump.lua +++ b/src/jit/dump.lua | |||
@@ -54,7 +54,7 @@ | |||
54 | 54 | ||
55 | -- Cache some library functions and objects. | 55 | -- Cache some library functions and objects. |
56 | local jit = require("jit") | 56 | local jit = require("jit") |
57 | assert(jit.version_num == 20001, "LuaJIT core/library version mismatch") | 57 | assert(jit.version_num == 20100, "LuaJIT core/library version mismatch") |
58 | local jutil = require("jit.util") | 58 | local jutil = require("jit.util") |
59 | local vmdef = require("jit.vmdef") | 59 | local vmdef = require("jit.vmdef") |
60 | local funcinfo, funcbc = jutil.funcinfo, jutil.funcbc | 60 | local funcinfo, funcbc = jutil.funcinfo, jutil.funcbc |
diff --git a/src/jit/v.lua b/src/jit/v.lua index f4a9b054..88c358b5 100644 --- a/src/jit/v.lua +++ b/src/jit/v.lua | |||
@@ -59,7 +59,7 @@ | |||
59 | 59 | ||
60 | -- Cache some library functions and objects. | 60 | -- Cache some library functions and objects. |
61 | local jit = require("jit") | 61 | local jit = require("jit") |
62 | assert(jit.version_num == 20001, "LuaJIT core/library version mismatch") | 62 | assert(jit.version_num == 20100, "LuaJIT core/library version mismatch") |
63 | local jutil = require("jit.util") | 63 | local jutil = require("jit.util") |
64 | local vmdef = require("jit.vmdef") | 64 | local vmdef = require("jit.vmdef") |
65 | local funcinfo, traceinfo = jutil.funcinfo, jutil.traceinfo | 65 | local funcinfo, traceinfo = jutil.funcinfo, jutil.traceinfo |
diff --git a/src/luaconf.h b/src/luaconf.h index 8e3a7aaa..d283233d 100644 --- a/src/luaconf.h +++ b/src/luaconf.h | |||
@@ -30,12 +30,12 @@ | |||
30 | #define LUA_LDIR LUA_ROOT "share/lua/5.1/" | 30 | #define LUA_LDIR LUA_ROOT "share/lua/5.1/" |
31 | #define LUA_CDIR LUA_ROOT "lib/lua/5.1/" | 31 | #define LUA_CDIR LUA_ROOT "lib/lua/5.1/" |
32 | #ifdef LUA_XROOT | 32 | #ifdef LUA_XROOT |
33 | #define LUA_JDIR LUA_XROOT "share/luajit-2.0.1/" | 33 | #define LUA_JDIR LUA_XROOT "share/luajit-2.1.0-alpha/" |
34 | #define LUA_XPATH \ | 34 | #define LUA_XPATH \ |
35 | ";" LUA_XROOT "share/lua/5.1/?.lua;" LUA_XROOT "share/lua/5.1/?/init.lua" | 35 | ";" LUA_XROOT "share/lua/5.1/?.lua;" LUA_XROOT "share/lua/5.1/?/init.lua" |
36 | #define LUA_XCPATH LUA_XROOT "lib/lua/5.1/?.so;" | 36 | #define LUA_XCPATH LUA_XROOT "lib/lua/5.1/?.so;" |
37 | #else | 37 | #else |
38 | #define LUA_JDIR LUA_ROOT "share/luajit-2.0.1/" | 38 | #define LUA_JDIR LUA_ROOT "share/luajit-2.1.0-alpha/" |
39 | #define LUA_XPATH | 39 | #define LUA_XPATH |
40 | #define LUA_XCPATH | 40 | #define LUA_XCPATH |
41 | #endif | 41 | #endif |
diff --git a/src/luajit.h b/src/luajit.h index ed39d014..a4c939bf 100644 --- a/src/luajit.h +++ b/src/luajit.h | |||
@@ -30,9 +30,9 @@ | |||
30 | 30 | ||
31 | #include "lua.h" | 31 | #include "lua.h" |
32 | 32 | ||
33 | #define LUAJIT_VERSION "LuaJIT 2.0.1" | 33 | #define LUAJIT_VERSION "LuaJIT 2.1.0-alpha" |
34 | #define LUAJIT_VERSION_NUM 20001 /* Version 2.0.1 = 02.00.01. */ | 34 | #define LUAJIT_VERSION_NUM 20100 /* Version 2.1.0 = 02.01.00. */ |
35 | #define LUAJIT_VERSION_SYM luaJIT_version_2_0_1 | 35 | #define LUAJIT_VERSION_SYM luaJIT_version_2_1_0_alpha |
36 | #define LUAJIT_COPYRIGHT "Copyright (C) 2005-2013 Mike Pall" | 36 | #define LUAJIT_COPYRIGHT "Copyright (C) 2005-2013 Mike Pall" |
37 | #define LUAJIT_URL "http://luajit.org/" | 37 | #define LUAJIT_URL "http://luajit.org/" |
38 | 38 | ||