Updated Boost to 1.47.0

Do not set fails_with_llvm for XCode 4.1 and later, as according
to release notes LLVM compiler provided by it is now among primary
test compilers, LLVM-GCC is working too.

Closes Homebrew/homebrew#6669.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Astellar 2011-07-27 23:02:38 +04:00 committed by Mike McQuaid
parent 2585358eab
commit d0517ed4d9

View file

@ -2,10 +2,8 @@ require 'formula'
class Boost < Formula
homepage 'http://www.boost.org'
url 'http://downloads.sourceforge.net/project/boost/boost/1.46.1/boost_1_46_1.tar.bz2'
md5 '7375679575f4c8db605d426fc721d506'
bottle 'https://downloads.sourceforge.net/project/machomebrew/Bottles/boost-1.46.1-bottle.tar.gz'
bottle_sha1 '15382f3aed119d207f0cdab7f089d284af1b3bbf'
url 'http://downloads.sourceforge.net/project/boost/boost/1.47.0/boost_1_47_0.tar.bz2'
md5 'a2dc343f7bc7f83f8941e47ed4a18200'
def options
[
@ -14,7 +12,11 @@ class Boost < Formula
]
end
# Both clang and llvm-gcc provided by XCode 4.1 compile Boost 1.47.0 properly.
# Moreover, Apple LLVM compiler 2.1 is now among primary test compilers.
if MacOS.xcode_version < "4.1"
fails_with_llvm "LLVM-GCC causes errors with dropped arguments to functions when linking with boost"
end
def install
if ARGV.build_universal?