Commit graph

31 commits

Author SHA1 Message Date
Jeremy Voorhis
4e371187d4 Fix LLVM recipe
Fixed a regression where the definition of clang_dir was removed.

Closes Homebrew/homebrew#10515.

Signed-off-by: Max Howell <max@methylblue.com>

Modified patch so clang_dir is a function rather than a variable.
2012-02-28 20:13:16 +00:00
Adam Vandenberg
e84698e7aa Add buildpath to Formula 2012-02-24 21:35:51 -08:00
Adam Vandenberg
da3fdbd0cf Use "cd" instead of "Dir.chdir"
* And "mkdir" isntead of "Dir.mkdir"
* And "Dir[]" instead of "Dir.glob"
* Also style fixes and nitpicks
2012-02-24 21:35:50 -08:00
Charlie Sharpsteen
80c3f4fb36 LLVM: Disable OCaml bindings by default
The build attempts, and fails, to compile the OCaml bindings by default if
OCaml is installed.

Fixes Homebrew/homebrew#8947.
2011-12-03 14:57:49 -08:00
Sepher Liu
704b7fce93 LLVM: Update to 3.0
Closes Homebrew/homebrew#8942.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-12-02 11:34:09 -08:00
Trevor Fancher
2005c33257 LLVM: Add --jit option
Add --enable-jit to configure_options if --jit is used as an option when
installing LLVM.

Closes Homebrew/homebrew#7426.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-09-12 11:05:57 -07:00
Nathan de Vries
372f24ae8a LLVM: Add HEAD and don't force use of GCC 4.2.
Closes Homebrew/homebrew#6887.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-08-30 19:17:22 -07:00
ujihisa
08ab8095ad llvm caveats message fix
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-07 16:46:34 -07:00
Adam Vandenberg
e4f24b0c63 llvm: fix audit warnings 2011-06-23 10:15:10 -07:00
Kevin Y. Kim
740a7045c6 llvm: add --analyzer flag for Clang Static Analyzer
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-20 10:30:20 -07:00
Jonathan Ragan-Kelley
b2d9b77aff Added --all-targets option to LLVM recipe.
Optionally builds LLVM with support for all available targets,
not just the host target backend. (Most relevant: arm.)

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-05-19 08:07:21 -07:00
Adam Vandenberg
1f31751977 Use ARGV.build_universal? 2011-04-23 08:36:47 -07:00
Birger J. Nordølum
6e867b7275 Fixed building LLVM with --shared option.
Fixes Homebrew/homebrew#5114.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-04-14 11:40:03 -07:00
Nathan de Vries
6d8ea37ab8 llvm: set-xcode-analyzer
Install the set-xcode-analyzer script for configuring Xcode to use a
non-standard Clang path for static analysis.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-04-14 11:36:12 -07:00
Mike McQuaid
edd1150c9a Update to LLVM 2.9 2011-04-07 15:12:35 +01:00
Adam Vandenberg
edfb67d937 Rewrite caveats to new style.
To make it easier to copy and paste multiline scripts from caveats,
no longer use $ as a prompt marker.
2011-04-04 16:56:47 -07:00
Adam Vandenberg
4147b05c57 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Ronaldo M. Ferraz
e9a7e8d562 Added a patch to fix load errors in LLVM's shared library for 10.6
LLVM tries to build its shared library using a flat namespace, and
that runs contrary to current practice when building Mac OS X libraries.
This patch fixes the Makefile.rules to use proper libtool/link options.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2011-01-20 20:45:56 +00:00
Ronaldo M. Ferraz
8245fcf9a0 Add shared and rtti options to LLVM.
* Added a --shared option to build LLVM as a shared library.
  (Shouldn't be used with --universal as it will cause the build to fail)

* Added a --rtti option to build LLVM with RTTI information.
  (Can be used, for example, to build LLVM for use with Rubinius)

Closes Homebrew/homebrew#3847.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2011-01-09 19:06:10 +00:00
Joshua Ballanco
67bef04d19 Added a --universal option to LLVM
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2010-12-27 21:02:27 +00:00
Adam Vandenberg
e88def8fa3 llvm - add upgrade caveat 2010-10-07 10:13:59 -07:00
Adam Vandenberg
ca407263c2 llvm - fix md5 2010-10-06 18:52:50 -07:00
Michael Dippery
1a66432b14 llvm: Update to v2.8
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-06 07:36:51 -07:00
Adam Vandenberg
7bd947eb0b Update formulae for version 0.7
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews
2010-08-07 18:08:53 -07:00
Adam Vandenberg
a06d603441 llvm - style tweaks 2010-06-05 10:27:11 -07:00
David Höppner
ff91c4ed51 llvm: update version to 2.7 2010-04-28 22:19:05 +02:00
Markus Prinz
8179c9cf63 Add Clang as an option to LLVM formula 2009-12-05 17:43:46 +00:00
Markus Prinz
a05c9051d1 Update LLVM formula to 2.6 2009-12-05 17:43:46 +00:00
Max Howell
deb8c4d7e0 Fixes Homebrew/homebrew#115; Can't compile LLVM on Snow Leopard 2009-11-07 18:22:33 +00:00
Max Howell
61b2307139 s/require 'brewkit'/require 'formula'/g
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
2009-10-15 16:48:03 +01:00
julienXX
02532ee1b9 LLVM formula
The Low Level Virtual Machine, generally known as LLVM, is a compiler
infrastructure, written in C++, which is designed for compile-time, link-time,
run-time, and "idle-time" optimization of programs written in arbitrary
programming languages.
2009-08-31 18:09:06 +01:00