From 9afb7a32f95e56a7ac2abe5cb6a1d0768d4bb06a Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Tue, 16 Mar 2010 20:58:12 -0700 Subject: Move recommended compiler versions into constants. --- Library/Homebrew/global.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Library') diff --git a/Library/Homebrew/global.rb b/Library/Homebrew/global.rb index 4e8ae2810..c1c4df807 100644 --- a/Library/Homebrew/global.rb +++ b/Library/Homebrew/global.rb @@ -38,6 +38,11 @@ MACOS_VERSION = /(10\.\d+)(\.\d+)?/.match(MACOS_FULL_VERSION).captures.first.to_ HOMEBREW_USER_AGENT = "Homebrew #{HOMEBREW_VERSION} (Ruby #{RUBY_VERSION}-#{RUBY_PATCHLEVEL}; Mac OS X #{MACOS_FULL_VERSION})" +RECOMMENDED_LLVM = 2206 +RECOMMENDED_GCC_40 = 5493 +RECOMMENDED_GCC_42 = (MACOS_VERSION >= 10.6) ? 5646 : 5577 + + class ExecutionError