Skip to content

Commit

Permalink
Boringssl and rules python fix for s390x (envoyproxy#166)
Browse files Browse the repository at this point in the history
* Boringssl s390x fix

* rules python fix for s390x

* Update to minimum python version supported on s390x

Signed-off-by: Surender Yadav <[email protected]>
  • Loading branch information
surenderky authored and dcillera committed Aug 5, 2024
1 parent 60be587 commit 159eca8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bazel/repositories_extra.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def _python_minor_version(python_version):
return "_".join(python_version.split(".")[:-1])

# Python version for `rules_python`
PYTHON_VERSION = "3.11.3"
PYTHON_VERSION = "3.11.4"
PYTHON_MINOR_VERSION = _python_minor_version(PYTHON_VERSION)

# Envoy deps that rely on a first stage of dependency loading in envoy_dependencies().
Expand Down
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 @@ -116,6 +116,8 @@ extern "C" {
#define OPENSSL_32_BIT
#elif defined(__myriad2__)
#define OPENSSL_32_BIT
#elif defined(__s390__) || defined(__s390x__) || defined(__zarch__)
#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 159eca8

Please sign in to comment.