diff options
| author | Jack Nagel | 2013-04-01 12:33:42 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-04-02 13:19:04 -0500 |
| commit | c61c1fb813eb64cbd1c5d4c802e5db9e8850c95f (patch) | |
| tree | 89d144e690c621cc67a34a815b4eea8b72ad089c /Library | |
| parent | ee7178562fde5fb23acde1cb4f8d8e4c4ac969c2 (diff) | |
| download | brew-c61c1fb813eb64cbd1c5d4c802e5db9e8850c95f.tar.bz2 | |
Bump useable clang version to 318
Build 211 can build most things, but I've seen intermittent
miscompilation and slower code. Also it comes from Xcode 4.2, so most
people don't have it anyway. Let's use 218 as the minimum viable
version.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/compilers.rb | 2 | ||||
| -rw-r--r-- | Library/Homebrew/test/test_compilers.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/compilers.rb b/Library/Homebrew/compilers.rb index 0e65301d5..934c52cf2 100644 --- a/Library/Homebrew/compilers.rb +++ b/Library/Homebrew/compilers.rb @@ -67,7 +67,7 @@ class CompilerSelector def priority_for(cc) case cc - when :clang then MacOS.clang_build_version >= 211 ? 3 : 0.5 + when :clang then MacOS.clang_build_version >= 318 ? 3 : 0.5 when :llvm then 2 when :gcc then 1 end diff --git a/Library/Homebrew/test/test_compilers.rb b/Library/Homebrew/test/test_compilers.rb index 8f93c1423..ff94c2d9f 100644 --- a/Library/Homebrew/test/test_compilers.rb +++ b/Library/Homebrew/test/test_compilers.rb @@ -10,7 +10,7 @@ class CompilerTests < Test::Unit::TestCase assert f.fails_with? :llvm assert !(f.fails_with? :gcc) assert_equal case MacOS.clang_build_version - when 0..210 then :gcc + when 0..318 then :gcc else :clang end, cs.compiler end |
