From a288029cc92fdebde4e2f408fe01f9a256480f1b Mon Sep 17 00:00:00 2001 From: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> Date: Sun, 2 May 2021 00:16:52 +0100 Subject: [PATCH] compilers: add gcc-11 Needed for https://github.com/Homebrew/homebrew-core/pull/74843. --- Library/Homebrew/compilers.rb | 4 ++-- Library/Homebrew/shims/linux/super/g++-11 | 1 + Library/Homebrew/shims/linux/super/gcc-11 | 1 + Library/Homebrew/shims/mac/super/g++-11 | 1 + Library/Homebrew/shims/mac/super/gcc-11 | 1 + Library/Homebrew/shims/super/g++-11 | 1 + Library/Homebrew/shims/super/gcc-11 | 1 + 7 files changed, 8 insertions(+), 2 deletions(-) create mode 120000 Library/Homebrew/shims/linux/super/g++-11 create mode 120000 Library/Homebrew/shims/linux/super/gcc-11 create mode 120000 Library/Homebrew/shims/mac/super/g++-11 create mode 120000 Library/Homebrew/shims/mac/super/gcc-11 create mode 120000 Library/Homebrew/shims/super/g++-11 create mode 120000 Library/Homebrew/shims/super/gcc-11 diff --git a/Library/Homebrew/compilers.rb b/Library/Homebrew/compilers.rb index 26b2bc1b6d..0631ed7107 100644 --- a/Library/Homebrew/compilers.rb +++ b/Library/Homebrew/compilers.rb @@ -3,8 +3,8 @@ # @private module CompilerConstants - GNU_GCC_VERSIONS = %w[4.9 5 6 7 8 9 10].freeze - GNU_GCC_REGEXP = /^gcc-(4\.9|[5-9]|10)$/.freeze + GNU_GCC_VERSIONS = %w[4.9 5 6 7 8 9 10 11].freeze + GNU_GCC_REGEXP = /^gcc-(4\.9|[5-9]|10|11)$/.freeze COMPILER_SYMBOL_MAP = { "gcc" => :gcc, "clang" => :clang, diff --git a/Library/Homebrew/shims/linux/super/g++-11 b/Library/Homebrew/shims/linux/super/g++-11 new file mode 120000 index 0000000000..2652f5f42c --- /dev/null +++ b/Library/Homebrew/shims/linux/super/g++-11 @@ -0,0 +1 @@ +cc \ No newline at end of file diff --git a/Library/Homebrew/shims/linux/super/gcc-11 b/Library/Homebrew/shims/linux/super/gcc-11 new file mode 120000 index 0000000000..2652f5f42c --- /dev/null +++ b/Library/Homebrew/shims/linux/super/gcc-11 @@ -0,0 +1 @@ +cc \ No newline at end of file diff --git a/Library/Homebrew/shims/mac/super/g++-11 b/Library/Homebrew/shims/mac/super/g++-11 new file mode 120000 index 0000000000..2652f5f42c --- /dev/null +++ b/Library/Homebrew/shims/mac/super/g++-11 @@ -0,0 +1 @@ +cc \ No newline at end of file diff --git a/Library/Homebrew/shims/mac/super/gcc-11 b/Library/Homebrew/shims/mac/super/gcc-11 new file mode 120000 index 0000000000..2652f5f42c --- /dev/null +++ b/Library/Homebrew/shims/mac/super/gcc-11 @@ -0,0 +1 @@ +cc \ No newline at end of file diff --git a/Library/Homebrew/shims/super/g++-11 b/Library/Homebrew/shims/super/g++-11 new file mode 120000 index 0000000000..2652f5f42c --- /dev/null +++ b/Library/Homebrew/shims/super/g++-11 @@ -0,0 +1 @@ +cc \ No newline at end of file diff --git a/Library/Homebrew/shims/super/gcc-11 b/Library/Homebrew/shims/super/gcc-11 new file mode 120000 index 0000000000..2652f5f42c --- /dev/null +++ b/Library/Homebrew/shims/super/gcc-11 @@ -0,0 +1 @@ +cc \ No newline at end of file