Module: CompilerConstants Private
- Included in:
- CompilerSelector, SharedEnvExtension
- Defined in:
- compilers.rb
This module is part of a private API. This module may only be used in the Homebrew/brew repository. Third parties should avoid using this module if possible, as it may be removed or changed without warning.
Constant Summary collapse
- GNU_GCC_VERSIONS =
This constant is part of a private API. This constant may only be used in the Homebrew/brew repository. Third parties should avoid using this constant if possible, as it may be removed or changed without warning.
%w[7 8 9 10 11 12 13 14].freeze
- GNU_GCC_REGEXP =
This constant is part of a private API. This constant may only be used in the Homebrew/brew repository. Third parties should avoid using this constant if possible, as it may be removed or changed without warning.
/^gcc-(#{GNU_GCC_VERSIONS.join("|")})$/
- COMPILER_SYMBOL_MAP =
This constant is part of a private API. This constant may only be used in the Homebrew/brew repository. Third parties should avoid using this constant if possible, as it may be removed or changed without warning.
{ "gcc" => :gcc, "clang" => :clang, "llvm_clang" => :llvm_clang, }.freeze
- COMPILERS =
This constant is part of a private API. This constant may only be used in the Homebrew/brew repository. Third parties should avoid using this constant if possible, as it may be removed or changed without warning.
(COMPILER_SYMBOL_MAP.values + GNU_GCC_VERSIONS.map { |n| "gcc-#{n}" }).freeze