Skip to content

Commit

Permalink
Update CI_OS_VERSION CI_GLIBC_VERSION preferred_gcc
Browse files Browse the repository at this point in the history
- Change `CI_OS_VERSION` from `Ubuntu 16.04` to `Ubuntu 22.04`
- Change `CI_GLIBC_VERSION` from `2.23` to `2.35`
- Change `CompilerSelector.preferred_gcc` from `gcc@5` to `gcc@11`
  • Loading branch information
sjackman committed Aug 22, 2022
1 parent d81bd6a commit 40c1273
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Library/Homebrew/extend/os/linux/compilers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
class CompilerSelector
sig { returns(String) }
def self.preferred_gcc
# gcc-5 is the lowest gcc version we support on Linux.
# gcc-5 is the default gcc in Ubuntu 16.04 (used for our CI)
"gcc@5"
# gcc-11 is the lowest gcc version we support on Linux.
# gcc-11 is the default gcc in Ubuntu 22.04 (used for our CI)
"gcc@11"
end
end
4 changes: 2 additions & 2 deletions Library/Homebrew/os.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ def self.kernel_name

::OS_VERSION = ENV.fetch("HOMEBREW_OS_VERSION").freeze

CI_GLIBC_VERSION = "2.23"
CI_OS_VERSION = "Ubuntu 16.04"
CI_GLIBC_VERSION = "2.35"
CI_OS_VERSION = "Ubuntu 22.04"

if OS.mac?
require "os/mac"
Expand Down

0 comments on commit 40c1273

Please sign in to comment.