diff options
| author | Mike McQuaid | 2013-11-15 22:31:39 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2013-11-15 22:32:02 +0000 |
| commit | bf9a1c334aaf6d2b62d0e72f970c2849d8c42f54 (patch) | |
| tree | 4adfd80f8df85341d36a447f180d1c4ad8db2adb /Library/Formula | |
| parent | b6f0452691e387daf2d38fc270049a626c8d9304 (diff) | |
| download | homebrew-bf9a1c334aaf6d2b62d0e72f970c2849d8c42f54.tar.bz2 | |
llvm: install all tools, make keg-only.
Closes #24263.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/llvm.rb | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/Library/Formula/llvm.rb b/Library/Formula/llvm.rb index 6096348bc..daacdb4ad 100644 --- a/Library/Formula/llvm.rb +++ b/Library/Formula/llvm.rb @@ -28,6 +28,8 @@ class Llvm < Formula env :std if build.universal? + keg_only :provided_by_osx + def install if python and build.include? 'disable-shared' raise 'The Python bindings need the shared library.' @@ -70,12 +72,6 @@ class Llvm < Formula python.site_packages.install buildpath/'bindings/python/llvm' python.site_packages.install buildpath/'tools/clang/bindings/python/clang' if build.with? 'clang' end - - # Remove all binaries except llvm-config - rm_f Dir["#{bin}/*"] - Dir["#{bin}/llvm-config"] - - # Remove all man pages - man.rmtree if build.with? 'clang' end def test @@ -86,13 +82,6 @@ class Llvm < Formula s = '' s += python.standard_caveats if python s += <<-EOS.undent - This formula only provide library components of LLVM. To use full - featured LLVM please try the llvm* formulae in homebrew-versions tap, - for instance: - - brew tap homebrew/versions - brew install llvm33 - Extra tools are installed in #{share}/llvm and #{share}/clang. If you already have LLVM installed, then "brew upgrade llvm" might not work. |
