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[4.9 5 6 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-(4\.9|[5-9]|10|11|12|13|14)$/
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