diff options
| author | Stefan | 2014-01-06 21:11:40 +0100 |
|---|---|---|
| committer | Adam Vandenberg | 2014-02-11 20:59:09 -0800 |
| commit | e95284525c27bcb54bc36237c33080c8f0510dee (patch) | |
| tree | 3c46c863929aed9a63a963ef00fffca2fe88d2bd /Library/Formula | |
| parent | 94c14dbfd171384d43c64978a2c54468077035ed (diff) | |
| download | homebrew-e95284525c27bcb54bc36237c33080c8f0510dee.tar.bz2 | |
llvm 3.4
Closes #25690.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/llvm.rb | 29 |
1 files changed, 12 insertions, 17 deletions
diff --git a/Library/Formula/llvm.rb b/Library/Formula/llvm.rb index 55c5b5f15..cb5e5f2d6 100644 --- a/Library/Formula/llvm.rb +++ b/Library/Formula/llvm.rb @@ -1,20 +1,13 @@ require 'formula' -class Clang < Formula - homepage 'http://llvm.org/' - url 'http://llvm.org/releases/3.3/cfe-3.3.src.tar.gz' - sha1 'ccd6dbf2cdb1189a028b70bcb8a22509c25c74c8' -end - class Llvm < Formula - homepage 'http://llvm.org/' - url 'http://llvm.org/releases/3.3/llvm-3.3.src.tar.gz' - sha1 'c6c22d5593419e3cb47cbcf16d967640e5cce133' - - bottle do - sha1 '61854a2cf08a1398577f74fea191a749bec3e72d' => :mountain_lion - sha1 'fbe7b85a50f4b283ad55be020c7ddfbf655435ad' => :lion - sha1 'f68fdb89d44a72c83db1e55e25444de4dcde5375' => :snow_leopard + homepage 'http://llvm.org/' + url 'http://llvm.org/releases/3.4/llvm-3.4.src.tar.gz' + sha1 '10b1fd085b45d8b19adb9a628353ce347bc136b8' + + resource 'clang' do + url 'http://llvm.org/releases/3.4/clang-3.4.src.tar.gz' + sha1 'a6a3c815dd045e9c13c7ae37d2cfefe65607860d' end option :universal @@ -35,7 +28,7 @@ class Llvm < Formula raise 'The Python bindings need the shared library.' end - Clang.new("clang").brew do + resource('clang').stage do (buildpath/'tools/clang').install Dir['*'] end if build.with? 'clang' @@ -64,8 +57,10 @@ class Llvm < Formula args << "--disable-assertions" if build.include? 'disable-assertions' system "./configure", *args - system 'make', 'VERBOSE=1' - system 'make', 'VERBOSE=1', 'install' + system 'make' + system 'make', 'install' + + (share/'llvm/cmake').install buildpath/'cmake/modules' # install llvm python bindings if build.with? "python" |
