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>
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>
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>
* 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)
ClosesHomebrew/homebrew#3847.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
* 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
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.
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.