Conversation
luhenry
added a commit
that referenced
this pull request
Sep 11, 2026
Bazel/bzlmod build (abseil-cpp/BoringSSL/protobuf/tink_cc), no CMake path; bazel 9.1.0 + rules_python 2.2.0 already carry riscv64 support so no rules_python/rules_java override is needed, unlike the bazel 7.x era ports.
tink-py builds its C++ pybind11 extension entirely through Bazel (bzlmod, no WORKSPACE), pulling abseil-cpp, BoringSSL (via tink_cc), protobuf and pybind11 as source deps -- all of which already have riscv64 precedent elsewhere in this repo. Bazel publishes no riscv64 release binary, so it is bootstrapped from the dist archive as in build-ray.yml/build-array-record.yml; unlike those, tink-py's pinned bazel 9.1.0 and rules_python 2.2.0 already carry riscv64 support, so no rules_python/rules_java override is needed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
tink1.16.1Compiles Tink's pybind11 C++ extension (AEAD/MAC/signature/KMS crypto primitives, statically linking BoringSSL, abseil-cpp, protobuf and tink_cc through Bazel/bzlmod). Upstream publishes no riscv64 wheel.
Mirrors upstream's
tools/distribution/build_linux_binary_wheels.sh(tink-py has no GitHub Actions CI; releases build via Kokoro).Differs from upstream
Testing
*_test.pysuite against the installed wheel, excludingtink/integration/- those call live AWS/GCP/Vault KMS services this CI has no credentials forLicense: wheel bundles BoringSSL, abseil-cpp, protobuf and tink_cc (Apache-2.0/BSD-3-Clause/mixed OpenSSL-derived) and pybind11 (BSD-3-Clause); upstream ships none of their license texts, so the build adds them.
Patches
0001-Package-the-vendored-C-dependencies-licences.patch- To upstream. AddsLICENSE.<dep>for the statically-linked dependencies above; reproduces on any platform, not just riscv64.Built on cp312; TBD passed, TBD skipped.