* Port more changes from llvm formulae of homebrew-versions.
- Don't install Clang tools.
* Remove all man pages.
- Currently only clang.1 is available, and we don't ship clang binary
in core.
* Stop shipping most binaries except llvm-config. Now llvm is supposed to be
used as a library only.
* Add caveat to point user to homebrew-versions for full featured llvms.
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.
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