Commit graph

21 commits

Author SHA1 Message Date
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