diff options
| author | Mike McQuaid | 2014-07-24 08:46:24 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2014-07-24 08:51:09 +0100 |
| commit | 0249467fd6d3651287ff16de28585b9853bb5358 (patch) | |
| tree | cdf5b3e62a022430e2bb61e0c0e3585d8646344b /Library | |
| parent | 59f1b2c69e8f1d21106a486c72343c8a8610edb7 (diff) | |
| download | homebrew-0249467fd6d3651287ff16de28585b9853bb5358.tar.bz2 | |
OS::Mac: allow clearing compiler version cache.
Without this it’s impossible for brew-test-bot to be able to verify if
installing GCC has allowed it to fix a compiler selection failure.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/os/mac.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Homebrew/os/mac.rb b/Library/Homebrew/os/mac.rb index 6deea1d0f..78afb8794 100644 --- a/Library/Homebrew/os/mac.rb +++ b/Library/Homebrew/os/mac.rb @@ -129,6 +129,12 @@ module OS end end + def clear_version_cache + @gcc_40_build_version = @gcc_42_build_version = @llvm_build_version = nil + @clang_version = @clang_build_version = nil + @non_apple_gcc_version = {} + end + # See these issues for some history: # http://github.com/Homebrew/homebrew/issues/13 # http://github.com/Homebrew/homebrew/issues/41 |
