aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/llvm.rb
AgeCommit message (Collapse)Author
2013-06-03Python 2.x and 3.x supportSamuel John
New `depends_on :python` Dependency. New `depends_on :python3` Dependency. To avoid having multiple formulae with endings -py2 and -py3, we will handle support for different pythons (2.x vs. 3.x) in the same formula. Further brewed vs. external python will be transparently supported. The formula also gets a new object `python`, which is false if no Python is available or the user has disabled it. Otherwise it is defined and provides several support methods: python.site_packages # the site-packages in the formula's Cellar python.global_site_packages python.binary # the full path to the python binary python.prefix python.version python.version.major python.version.minor python.xy # => e.g. "python2.7" python.incdir # includes of python python.libdir # the python dylib library python.pkg_config_path # used internally by brew python.from_osx? python.framework? python.universal? python.pypy? python.standard_caveats # Text to set PYTHONPATH for python.from_osx? python.if3then3 # => "" for 2.x and to "3" for 3.x. Further, to avoid code duplication, `python` takes an optional block that is run twice if the formula defines depends_on :python AND :python3. python do system python, 'setup.py', "--prefix=#{prefix}" end Read more in the Homebrew wiki.
2013-05-14llvm: fix universal and enable universal+shared buildsMyles Borins
Closes #19822. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-03-03llvm: update bottleMike McQuaid
2013-02-02llvm: option to build without assertions.Elliot Saba
Closes #16449. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-01-31llvm: add support for building Clang with ASanJohn Wiegley
Closes #17039. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-12-22llvm: update bottles.Mike McQuaid
2012-12-22llvm 3.2Stefan
Closes #16692. Closes #16698. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2012-09-21llvm: run `make install` for clang toonibbles 2bits
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`. Fixes #14924 Closes #15046. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-14llvm: fix syntax error from commit 576b9fae0679e2aElliot Saba
Closes #14183. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-13llvm: use options DSLJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-11llvm: remove unnecessary option functions.Mike McQuaid
2012-08-11llvm: update to 3.1 and cleanup optionsRobert Lenhardt
- 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 Closes #13895. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2012-05-15Fix more quoting issuesJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-19Remove redundant :using specsAdam Vandenberg
2012-03-23Add LLVM Snow Leopard bottle.Mike McQuaid
Requested in #10848.
2012-03-23Add LLVM test.Mike McQuaid
2012-03-23Add LLVM bottle.Mike McQuaid
Requested in #10848.
2012-02-28Fix LLVM recipeJeremy Voorhis
Fixed a regression where the definition of clang_dir was removed. Closes #10515. Signed-off-by: Max Howell <max@methylblue.com> Modified patch so clang_dir is a function rather than a variable.
2012-02-24Add `buildpath` to FormulaAdam Vandenberg
2012-02-24Use "cd" instead of "Dir.chdir"Adam Vandenberg
* And "mkdir" isntead of "Dir.mkdir" * And "Dir[]" instead of "Dir.glob" * Also style fixes and nitpicks
2011-12-03LLVM: Disable OCaml bindings by defaultCharlie Sharpsteen
The build attempts, and fails, to compile the OCaml bindings by default if OCaml is installed. Fixes #8947.
2011-12-02LLVM: Update to 3.0Sepher Liu
Closes #8942. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-09-12LLVM: Add --jit optionTrevor Fancher
Add --enable-jit to configure_options if --jit is used as an option when installing LLVM. Closes #7426. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-08-30LLVM: Add HEAD and don't force use of GCC 4.2.Nathan de Vries
Closes #6887. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-07-07llvm caveats message fixujihisa
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-23llvm: fix audit warningsAdam Vandenberg
2011-06-20llvm: add --analyzer flag for Clang Static AnalyzerKevin Y. Kim
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-05-19Added `--all-targets` option to LLVM recipe.Jonathan Ragan-Kelley
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-04-23Use ARGV.build_universal?Adam Vandenberg
2011-04-14Fixed building LLVM with --shared option.Birger J. Nordølum
Fixes #5114. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-04-14llvm: set-xcode-analyzerNathan de Vries
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-07Update to LLVM 2.9Mike McQuaid
2011-04-04Rewrite caveats to new style.Adam Vandenberg
To make it easier to copy and paste multiline scripts from caveats, no longer use $ as a prompt marker.
2011-03-12Use ruby style for inheritance.Adam Vandenberg
2011-01-20Added a patch to fix load errors in LLVM's shared library for 10.6Ronaldo M. Ferraz
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-09Add shared and rtti options to LLVM.Ronaldo M. Ferraz
* 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 #3847. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2010-12-27Added a --universal option to LLVMJoshua Ballanco
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2010-10-07llvm - add upgrade caveatAdam Vandenberg
2010-10-06llvm - fix md5Adam Vandenberg
2010-10-06llvm: Update to v2.8Michael Dippery
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-08-07Update formulae for version 0.7Adam Vandenberg
* 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-06-05llvm - style tweaksAdam Vandenberg
2010-04-28llvm: update version to 2.7David Höppner
2009-12-05Add Clang as an option to LLVM formulaMarkus Prinz
2009-12-05Update LLVM formula to 2.6Markus Prinz
2009-11-07Fixes #115; Can't compile LLVM on Snow LeopardMax Howell
2009-10-15s/require 'brewkit'/require 'formula'/gMax Howell
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-08-31LLVM formulajulienXX
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.