mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
audit_glibc: Permit glibc 2.27, 2.31, or 2.35
This commit is contained in:
parent
1ac5fc05bd
commit
7d1197e8eb
@ -411,7 +411,8 @@ module Homebrew
|
|||||||
|
|
||||||
def audit_glibc
|
def audit_glibc
|
||||||
return unless @core_tap
|
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. " \
|
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, " \
|
"Glibc is for users who have a system Glibc with a lower version, " \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user