Skip to content

Commit

Permalink
envoy 1.20.0
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Cole <adrian@tetrate.io>
Co-authored-by: Michael Cho <cho-m@tuta.io>
  • Loading branch information
Adrian Cole and cho-m committed Oct 11, 2021
1 parent 1279b3a commit aaf7380
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
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

0 comments on commit aaf7380

Please sign in to comment.