llvm takes a second make install in the clang_dir when clang
is built according to the install instructions in the clang
tarball. Doing this gets all the clang include files installed
that were otherwise missing. Add a `make install`.
FixesHomebrew/homebrew#14924ClosesHomebrew/homebrew#15046.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
- remove --jit, enabled by default
- call only make install
- directory with python bindings is copied to share folder
- remove --analyzer option, scan-build and scan-view are copied to
share/clang/tools folder instead of installing in bin
- remove old patch to Makefile
ClosesHomebrew/homebrew#13895.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Fixed a regression where the definition of clang_dir was removed.
ClosesHomebrew/homebrew#10515.
Signed-off-by: Max Howell <max@methylblue.com>
Modified patch so clang_dir is a function rather than a variable.
Add --enable-jit to configure_options if --jit is used as an option when
installing LLVM.
ClosesHomebrew/homebrew#7426.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
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.