Document CompilerFailure and CompilerSelector.
This commit is contained in:
parent
608760908f
commit
a5c1f38186
@ -14,6 +14,9 @@ module CompilerConstants
|
|||||||
GNU_GCC_VERSIONS.map { |n| "gcc-#{n}" }).freeze
|
GNU_GCC_VERSIONS.map { |n| "gcc-#{n}" }).freeze
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Class for checking compiler compatibility for a formula.
|
||||||
|
#
|
||||||
|
# @api private
|
||||||
class CompilerFailure
|
class CompilerFailure
|
||||||
attr_reader :name
|
attr_reader :name
|
||||||
|
|
||||||
@ -70,6 +73,9 @@ class CompilerFailure
|
|||||||
}.freeze
|
}.freeze
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Class for selecting a compiler for a formula.
|
||||||
|
#
|
||||||
|
# @api private
|
||||||
class CompilerSelector
|
class CompilerSelector
|
||||||
include CompilerConstants
|
include CompilerConstants
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user