Commit b86721d
Configure Bazel build system for OpenSSL and multi-architecture support
This commit adapts the Bazel build configuration to support building Envoy
with OpenSSL instead of BoringSSL, and adds support for s390x and ppc64le
architectures.
Build system changes:
- Add bssl-compat as local_repository in WORKSPACE
- Configure OpenSSL as external dependency (bazel/external/openssl.BUILD)
- Disable QUIC/HTTP3 support (uses boringssl=fips mode to exclude QUIC)
- Add nofips tag filtering to exclude QUIC tests and code
Multi-architecture support:
- s390x patches: BoringSSL, Quiche, gRPC, proxy-wasm, rules_foreign_cc
- ppc64le patches: V8, luajit2 support
- Architecture-specific build flags for missing headers (hwcap.h)
Dependency patches:
- jwt_verify_lib: Handle OpenSSL opaque structures
- proxy_wasm_cpp_host: Remove hardcoded -lcrypto on s390x
- rules_foreign_cc: Build fixes for s390x
- rules_go: ppc64le build support
OpenSSL-specific configuration (openssl/bazelrc):
- Test environment limited to IPv4 only
- QUIC excluded via boringssl=fips define
- LLVM/Clang paths for bssl-compat prefixer tool
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Jonh Wendell <jwendell@redhat.com>1 parent 4428b96 commit b86721d
26 files changed
Lines changed: 1607 additions & 55 deletions
File tree
- bazel
- external
- foreign_cc
- rbe/toolchains/configs/linux
- clang_libcxx/config
- clang/config
- openssl
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
599 | 599 | | |
600 | 600 | | |
601 | 601 | | |
| 602 | + | |
| 603 | + | |
Whitespace-only changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
3 | 8 | | |
4 | 9 | | |
5 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
547 | 547 | | |
548 | 548 | | |
549 | 549 | | |
550 | | - | |
551 | | - | |
552 | | - | |
553 | 550 | | |
554 | 551 | | |
555 | | - | |
556 | | - | |
557 | | - | |
558 | | - | |
559 | | - | |
| 552 | + | |
560 | 553 | | |
561 | 554 | | |
562 | 555 | | |
563 | 556 | | |
564 | | - | |
565 | | - | |
566 | | - | |
567 | | - | |
568 | | - | |
| 557 | + | |
569 | 558 | | |
570 | 559 | | |
571 | 560 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
100 | 103 | | |
101 | 104 | | |
102 | 105 | | |
| |||
108 | 111 | | |
109 | 112 | | |
110 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
111 | 118 | | |
112 | 119 | | |
113 | 120 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | | - | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
0 commit comments