Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Justin Boffemmyer (3b5adf4582fa01385e83f6ba9e35918d69e19bcd)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Justin Boffemmyer <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Justin Boffemmyer (3b5adf4582fa01385e83f6ba9e35918d69e19bcd)
  • Date: Fri, 21 Dec 2012 19:09:39 -0600

GIT changes to master grimoire by Justin Boffemmyer <flux AT sourcemage.org>:

ChangeLog | 3 +++
lua-forge/luajit/BUILD | 1 +
lua-forge/luajit/CONFIGURE | 6 ++++++
lua-forge/luajit/DEPENDS | 2 ++
lua-forge/luajit/DETAILS | 36 ++++++++++++++++++++++++++++++++++++
lua-forge/luajit/HISTORY | 3 +++
lua-forge/luajit/INSTALL | 1 +
7 files changed, 52 insertions(+)

New commits:
commit 3b5adf4582fa01385e83f6ba9e35918d69e19bcd
Author: Justin Boffemmyer <flux AT sourcemage.org>
Commit: Justin Boffemmyer <flux AT sourcemage.org>

lua-forge/luajit: new spell

LuaJIT is a Just-In-Time full implementation of Lua, including both a
compiler and VM. It does not conflict with Lua itself, as it installs to
luajit rather than lua, but it can otherwise act as a drop-in
replacement for Lua 5.1 (with some features from 5.2 that work safely
with 5.1).

There is a compatibility option to enable more 5.2 features, at the
expense of (likely) breaking some 5.1-specific end-user code.

diff --git a/ChangeLog b/ChangeLog
index 1bc6475..ad17567 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2012-12-22 Justin Boffemmyer <flux AT sourcemage.org>
+ * lua-forge/luajit: new spell, Just-In-Time implementation of Lua
+
2012-12-19 Ladislav Hagara <hgr AT vabo.cz>
* utils/binwalk: new spell, firmware analysis tool

diff --git a/lua-forge/luajit/BUILD b/lua-forge/luajit/BUILD
new file mode 100755
index 0000000..19519c2
--- /dev/null
+++ b/lua-forge/luajit/BUILD
@@ -0,0 +1 @@
+make "PREFIX=$INSTALL_ROOT/usr" "XCFLAGS=$LUAJIT_CONFIG"
diff --git a/lua-forge/luajit/CONFIGURE b/lua-forge/luajit/CONFIGURE
new file mode 100755
index 0000000..1c519e7
--- /dev/null
+++ b/lua-forge/luajit/CONFIGURE
@@ -0,0 +1,6 @@
+config_query_option LUAJIT_CONFIG \
+ "Build extra Lua 5.2 compatibility (breaks some 5.1
compatibility)?" \
+ 'n' \
+ '-DLUAJIT_ENABLE_LUA52COMPAT' \
+ ''
+
diff --git a/lua-forge/luajit/DEPENDS b/lua-forge/luajit/DEPENDS
new file mode 100755
index 0000000..97a76ba
--- /dev/null
+++ b/lua-forge/luajit/DEPENDS
@@ -0,0 +1,2 @@
+depends ncurses &&
+depends readline
diff --git a/lua-forge/luajit/DETAILS b/lua-forge/luajit/DETAILS
new file mode 100755
index 0000000..c541e9b
--- /dev/null
+++ b/lua-forge/luajit/DETAILS
@@ -0,0 +1,36 @@
+ SPELL=luajit
+ VERSION=2.0.0
+ SOURCE=LuaJIT-$VERSION.tar.gz
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/LuaJIT-$VERSION"
+ SOURCE_URL[0]="http://luajit.org/download/$SOURCE";
+
SOURCE_HASH=sha512:7aee798e68d0a5b2f1aaaf61b558e0734d48f2501a255d8e3c7208c1319586fdec1ebc4f80238ab1f58dfd3c9d0042b806a567ccce5b769ab4d6345f70844b36
+ WEB_SITE="http://luajit.org/";
+ ENTERED=20121222
+ LICENSE[0]=MIT
+ SHORT="a just-in-time compiler for Lua"
+cat << EOF
+LuaJIT has been successfully used as a scripting middleware in games, 3D
+modellers, numerical simulations, trading platforms and many other specialty
+applications. It combines high flexibility with high performance and an
+unmatched low memory footprint: less than 125K for the VM plus less than 85K
+for the JIT compiler (on x86).
+
+LuaJIT has been in continuous development since 2005. It's widely considered
to
+be one of the fastest dynamic language implementations. It has outperformed
+other dynamic languages on many cross-language benchmarks since its first
+release often by a substantial margin. In 2009 other dynamic language VMs
+started to catch up with the performance of LuaJIT 1.x. Well, I couldn't let
+that slide. ;-)
+
+For LuaJIT 2.0, the whole VM has been rewritten from the ground up and
+relentlessly optimized for performance. It combines a high-speed interpreter,
+written in assembler, with a state-of-the-art JIT compiler.
+
+An innovative trace compiler is integrated with advanced, SSA-based
+optimizations and a highly tuned code generation backend. This allows a
+substantial reduction of the overhead associated with dynamic language
+features.
+
+It's destined to break into the performance range traditionally reserved for
+offline, static language compilers.
+EOF
diff --git a/lua-forge/luajit/HISTORY b/lua-forge/luajit/HISTORY
new file mode 100644
index 0000000..651ddc3
--- /dev/null
+++ b/lua-forge/luajit/HISTORY
@@ -0,0 +1,3 @@
+2012-12-22 Justin Boffemmyer <flux AT sourcemage.org>
+ * DETAILS, BUILD, CONFIGURE, DEPENDS, INSTALL: spell created
+
diff --git a/lua-forge/luajit/INSTALL b/lua-forge/luajit/INSTALL
new file mode 100755
index 0000000..95a70a1
--- /dev/null
+++ b/lua-forge/luajit/INSTALL
@@ -0,0 +1 @@
+make PREFIX=/usr install



  • [SM-Commit] GIT changes to master grimoire by Justin Boffemmyer (3b5adf4582fa01385e83f6ba9e35918d69e19bcd), Justin Boffemmyer, 12/21/2012

Archive powered by MHonArc 2.6.24.

Top of Page