Add a build of boost_unordered for benchmarking. (#4045)

This uses a header-only extraction of the Boost unordered hashtable
project to allow a trivial Bazel build and for us to benchmark against
it effectively.
This commit is contained in:
Chandler Carruth
2024-06-10 22:10:10 +00:00
committed by GitHub
parent 3be57b71e0
commit 26ead9addc
7 changed files with 69 additions and 9 deletions
+6
View File
@@ -71,6 +71,12 @@ EXTERNAL_REPOS: Dict[str, ExternalRepo] = {
":gtest",
use_system_include=True,
),
# All of the `boost_unordered` headers are in a single rule.
"@boost_unordered": ExternalRepo(
lambda x: re.sub("^(.*:include)/", "", x),
":boost_unordered",
use_system_include=True,
),
}
# TODO: proto rules are aspect-based and their generated files don't show up in