ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/buck/third-party/bssl/README.md
Austin Seipp 9b9acb2a17 buck: build boringssl
`libgit2` requires `libssh2`, which in turn requires `openssl-sys`. OpenSSL is
notoriously hard to vendor for a number of reasons including its build system.
In contrast, while BoringSSL does not make compatibility guarantees, it is easy
to vendor and is designed to be used with Bazel.

The goal is that we can substitute BoringSSL for OpenSSL in `openssl-sys` as the
underlying library, and `libssh2` will still work.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2024-09-04 14:27:39 -05:00

13 lines
461 B
Markdown

## BoringSSL Notes
When you update this package, including the git commit and archive hash, make
sure you also re-download the proper `BUILD.generated.bzl` file, which is
produced automatically by a bot in the upstream `master-with-bazel` branch:
- https://github.com/google/boringssl/tree/master-with-bazel
```
curl -Lo \
buck/third-party/cxx/bssl/BUILD.generated.bzl \
https://raw.githubusercontent.com/google/boringssl/.../BUILD.generated.bzl
```