formula.rb: Don't apply fails_with_llvm to Clang
Clang is vastly different than LLVM-GCC and is under active development. Using Clang is a viable solution to formula that fail with LLVM and a suggested recourse for users of XCode 4.2 or newer. Fixes Homebrew/homebrew#9242.
This commit is contained in:
parent
e416bd1115
commit
33db0a9665
@ -329,8 +329,7 @@ class Formula
|
|||||||
end
|
end
|
||||||
|
|
||||||
def handle_llvm_failure llvm
|
def handle_llvm_failure llvm
|
||||||
case ENV.compiler
|
if ENV.compiler == :llvm
|
||||||
when :llvm, :clang
|
|
||||||
# version 2335 is the latest version as of Xcode 4.1, so it is the
|
# version 2335 is the latest version as of Xcode 4.1, so it is the
|
||||||
# latest version we have tested against so we will switch to GCC and
|
# latest version we have tested against so we will switch to GCC and
|
||||||
# bump this integer when Xcode 4.2 is released. TODO do that!
|
# bump this integer when Xcode 4.2 is released. TODO do that!
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user