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.
This commit is contained in:
parent
f2f4183abc
commit
8cf69fac3f
@ -129,6 +129,12 @@ module OS
|
|||||||
end
|
end
|
||||||
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:
|
# See these issues for some history:
|
||||||
# http://github.com/Homebrew/homebrew/issues/13
|
# http://github.com/Homebrew/homebrew/issues/13
|
||||||
# http://github.com/Homebrew/homebrew/issues/41
|
# http://github.com/Homebrew/homebrew/issues/41
|
||||||
|
Loading…
x
Reference in New Issue
Block a user