Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Envoy 1.20 #86755

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Aliases/envoy@1.20
14 changes: 4 additions & 10 deletions Formula/envoy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ class Envoy < Formula
desc "Cloud-native high-performance edge/middle/service proxy"
homepage "https://www.envoyproxy.io/index.html"
# Switch to a tarball when the following issue is resolved:
# https://github.com/envoyproxy/envoy/issues/17859
# https://github.com/envoyproxy/envoy/issues/2181
url "https://github.com/envoyproxy/envoy.git",
tag: "v1.19.1",
revision: "a2a1e3eed4214a38608ec223859fcfa8fb679b14"
tag: "v1.20.0",
revision: "96701cb24611b0f3aac1cc0dd8bf8589fbdf8e9e"
license "Apache-2.0"

# Apple M1/arm64 is pending envoyproxy/envoy#16482
Expand Down Expand Up @@ -41,17 +41,11 @@ class Envoy < Formula
# error: argument 2 of type 'const uint8_t[32]' with mismatched bound [-Werror=array-parameter=]
fails_with gcc: "11"

# Work around xcode 12 incompatibility until envoyproxy/envoy#17393
patch do
url "https://github.com/envoyproxy/envoy/commit/3b49166dc0841b045799e2c37bdf1ca9de98d5b1.patch?full_index=1"
sha256 "e65fe24a29795606ea40aaa675c68751687e72911b737201e9714613b62b0f02"
end

def install
env_path = if OS.mac?
"#{HOMEBREW_PREFIX}/bin:/usr/bin:/bin"
else
"#{Formula["python@3.9"].opt_libexec}/bin:#{env_path}"
"#{Formula["python@3.9"].opt_libexec}/bin:#{HOMEBREW_PREFIX}/bin:/usr/bin:/bin"
end
args = %W[
--compilation_mode=opt
Expand Down