audit_glibc: Permit glibc 2.27, 2.31, or 2.35

This commit is contained in:
Shaun Jackman 2022-07-29 14:06:51 -07:00
parent 1ac5fc05bd
commit 7d1197e8eb

View File

@ -411,7 +411,8 @@ module Homebrew
def audit_glibc
return unless @core_tap
return if formula.name != "glibc" || [OS::CI_GLIBC_VERSION, "2.35"].include?(formula.version.to_s)
return if formula.name != "glibc"
return if [OS::CI_GLIBC_VERSION, "2.27", "2.31", "2.35"].include?(formula.version.to_s)
problem "The glibc version must be #{OS::CI_GLIBC_VERSION}, as this is the version used by our CI on Linux. " \
"Glibc is for users who have a system Glibc with a lower version, " \