| Age | Commit message (Collapse) | Author |
|
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.
|
|
Closes #19822.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
|
|
Closes #16449.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
Closes #17039.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
|
|
Closes #16692.
Closes #16698.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
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>
|
|
Closes #14183.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Signed-off-by: Jack Nagel <jacknagel@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
Closes #13895.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
|
|
Requested in #10848.
|
|
|
|
Requested in #10848.
|
|
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.
|
|
|
|
* And "mkdir" isntead of "Dir.mkdir"
* And "Dir[]" instead of "Dir.glob"
* Also style fixes and nitpicks
|
|
The build attempts, and fails, to compile the OCaml bindings by default if
OCaml is installed.
Fixes #8947.
|
|
Closes #8942.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
|
|
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>
|
|
Closes #6887.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
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>
|
|
|
|
Fixes #5114.
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>
|
|
|
|
To make it easier to copy and paste multiline scripts from caveats,
no longer use $ as a prompt marker.
|
|
|
|
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)
Closes #3847.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
|
|
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.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.
|