Skip to content

Commit

Permalink
Merge pull request envoyproxy#219 from NishikantThorat/release/v1.28
Browse files Browse the repository at this point in the history
Adding changes for ppc64le.
  • Loading branch information
tedjpoole authored Jun 28, 2024
2 parents 500597b + 3a8e15b commit 6638eb5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
12 changes: 12 additions & 0 deletions bazel/rules_go.patch
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,15 @@ index 91748eda..c1aeb91e 100644
outputs = [out, gopath, gocache],
mnemonic = "GoToolchainBinaryBuild",
)
diff --git a/go/private/platforms.bzl b/go/private/platforms.bzl
index 4da43060..9003755d 100644
--- a/go/private/platforms.bzl
+++ b/go/private/platforms.bzl
@@ -30,7 +30,6 @@ BAZEL_GOARCH_CONSTRAINTS = {
"amd64": "@platforms//cpu:x86_64",
"arm": "@platforms//cpu:arm",
"arm64": "@platforms//cpu:aarch64",
- "ppc64": "@platforms//cpu:ppc",
"ppc64le": "@platforms//cpu:ppc",
"s390x": "@platforms//cpu:s390x",
}
2 changes: 2 additions & 0 deletions bssl-compat/third_party/boringssl/src/include/openssl/base.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ extern "C" {
#define OPENSSL_32_BIT
#elif defined(__s390__) || defined(__s390x__) || defined(__zarch__)
#define OPENSSL_64_BIT
#elif defined(__ppc64le__) || defined(__ARCH_PPC64LE__)
#define OPENSSL_64_BIT
#else
// Note BoringSSL only supports standard 32-bit and 64-bit two's-complement,
// little-endian architectures. Functions will not produce the correct answer
Expand Down

0 comments on commit 6638eb5

Please sign in to comment.