libsais@2.10.4 (#10241) Add [libsais](https://github.com/IlyaGrebnov/libsais) 2.10.4 — a library for fast linear-time construction of suffix arrays, LCP arrays, BWT and inverse BWT. The upstream project is CMake-based, so this module ships an overlay `BUILD.bazel` and `MODULE.bazel`. Each of the four upstream sources gets its own target, matching the four variants of the API (8/16-bit symbols × 32/64-bit indices): - `@libsais//:libsais` — `uint8_t` input, `int32_t` suffix array - `@libsais//:libsais16` — `uint16_t` input, `int32_t` suffix array - `@libsais//:libsais64` — `uint8_t` input, `int64_t` suffix array (depends on `:libsais`, which it delegates to for inputs below `INT32_MAX`) - `@libsais//:libsais16x64` — `uint16_t` input, `int64_t` suffix array (depends on `:libsais16` for the same reason) OpenMP support is not enabled. Upstream ships no tests, so the overlay adds one `cc_test` per target under `test/`, each linking only its own library and checking the suffix array of `"banana"`. They run in presubmit via `test_targets: "@libsais//:all"`, and pass locally along with `tools/bcr_validation.py --check libsais@2.10.4`, which reports no issues other than the unstable URL below. Upstream publishes no release archive assets for `v2.10.4`, only the auto-generated tag tarball, so the URL stability check cannot be satisfied. @bazel-io skip_check unstable_url
The Bazel Central Registry (BCR) is the default registry for Bazel's external dependency system (“Bzlmod”). This is the GitHub repository backing the contents of the BCR, hosted at https://bcr.bazel.build/. For the website that allows you to search modules and see their versions conveniently, visit https://registry.bazel.build/.
Besides hosting metadata about Bazel-specific libraries (commonly known as “rulesets”), the BCR is also a central host for projects that don't have upstream support for Bazel (most commonly, C/C++ projects).
The BCR is just like a regular Bazel registry, with some extra metadata fields and policy restrictions. You can contribute to the BCR by sending pull requests; see BCR policies and contribution guidelines for more information.
The core infrastructure of the Bazel Central Registry depends on GitHub and Google Cloud. Bazel users who enable Bzlmod (the default since Bazel 8) depend on the BCR by default. While we try to keep the BCR infrastructure simple and reliable, we assume no liability for any damages caused by build failures due to potential BCR infrastructure failures.
If you consider it necessary, you can do the following to avoid depending on the BCR infrastructure while still making use of the information checked into the BCR.
--registry is a flag that can be specified multiple times.--registry flag is specified, the BCR is the only registry Bazel consults.--registry flag is specified, Bazel will consult the specified registries in order, but will not consult the BCR unless the BCR is explicitly specified as a registry. In other words, to use your own registry layered on top of the BCR, use --registry=https://my.own.registry.com/ --registry=https://bcr.bazel.build/../bazel_registry.json. You can run bazel run //tools:print_all_src_urls to get the list of source URLs to mirror for all Bazel modules checked into the BCR. For example, https://foo.com/bar.zip should be mirrored to https://<your mirror>/foo.com/bar.zip.