Commit Graph

18 Commits (015c86637638cda9d7a4f540be388069d2c29f05)

Author SHA1 Message Date
nibbles 2bits 300242e9b5 luajit - fix compile errors with clang, llvm
Luajit 2.0.0beta9 has patches upstream that fix the compile errors
with clang and llvm, thanks to the help of the developer, Paul.
Remove the patches at 2.0.0beta10 due out at the end of April.
All changes were discussed in several emails.  The plan is:

* Change the Hotfix patch to apply only to stable.
* Patch for missing /usr/include/unwind.h on 10.6.8 with clang.
* Patch src/Makefile to not call -dumpspec.  Clang doesn't have it.
* Remove the instruction to the user to `sudo ln -s`.
* Remove the fails_with_llvm.  It compiles against llvm 2336.
* Inreplaces should persist through version updates.
* Respect the developer's choice that optimization is best at -O2.
* Remove the hardcoded -O2 so we can set -O2 or switch to -Og.
* Override the hardcoded CC=gcc.  Use ENV.cc.
* Remove the -march=i686 from CCOPT_X86.  We set accurate march.
* Use args for clarity.
* For debug builds using clang, use -Og.  See clang man page.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-04-01 09:49:36 -07:00
Misty De Meo 6cd6926bf2 luajit: style nits 2012-03-28 10:24:55 -05:00
Misty De Meo f87bb91ddc luajit: apply hotfix#1 2012-03-28 10:23:41 -05:00
Jack Nagel 303b2f6d50 Don't shadow `install` options in formulae
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-15 17:20:25 -05:00
Austin Seipp 1b0e7fca8e LuaJIT 2.0.0-beta9
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-12-17 15:50:34 -08:00
Douglas Creager 045d511d65 LuaJIT: still fails with LLVM build 2336
https://gist.github.com/1388096

Closes Homebrew/homebrew#8755.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-23 13:51:51 -06:00
Douglas Creager edd4312132 luajit: Fix build issues on Lion
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-11-20 17:23:40 -08:00
Austin Seipp 5f42b9463a luajit: use amalgamation when building
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-09-14 10:23:04 -07:00
Austin Seipp 8b857c6795 luajit2: fix --HEAD build
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-08-31 16:32:24 -07:00
Austin Seipp 62039a86e0 LuaJIT beta8 hotfix Homebrew/homebrew#1
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-07 10:45:53 -07:00
Austin Seipp 99ece2b089 LuaJIT 2.0.0-beta8
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-25 19:55:05 -07:00
Douglas Creager 7f24bf06da LuaJIT: option to include debug symbols
These are included in the build artefacts when you pass in the "--debug"
flag.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-16 05:52:21 -07:00
Austin Seipp bc5e7a1ee0 LuaJIT 2.0.0-beta7
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-05-21 19:47:35 -07:00
Douglas Creager 84d8754d37 LuaJIT doesn't depend on Lua
The LuaJIT interpreter doesn't depend on the stock Lua interpreter; it
can be built entirely on its own.  We also install a non-versioned link
to the interpreter, at #{HOMEBREW_PREFIX}/bin/luajit.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-04-01 12:56:56 -07:00
austin seipp bbdd80d4dd Update LuaJIT version to 2.0.0-beta6
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-19 08:36:36 -07:00
Adam Vandenberg 4147b05c57 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Michael Dippery d8c8aaa44a luajit: Update homepage
luajit.org is an umbrella page for a couple related projects;
luajit.org/luajit.html is the LuaJIT-specific page. Nicer to open
up to that, in my humble opinion.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-09-10 08:33:59 -07:00
Martin Kühl f1767deec2 New formula: LuaJIT
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-05-24 09:44:25 -07:00