16 Commits

Author SHA1 Message Date
Derek Mauro
89203a0303 Update Abseil deps in preparation for release
PiperOrigin-RevId: 914597435
Change-Id: I8e2551dc51be13bbdb04ec56b3fe27eaea3ee8a3
2026-05-12 19:28:46 -07:00
Derek Mauro
cd765c9dd1 Upgrade CI to Bazel 9.0.0
This requires a GoogleTest dependency update for compatibility

The use of --action_env for setting up the compiler is changed
because of https://github.com/bazelbuild/bazel/issues/26222

Also fix the path to the symbolizer in sanitizer builds

PiperOrigin-RevId: 865570744
Change-Id: I403202956913519c714d6eed4968a9615853ac42
2026-02-04 14:05:30 -08:00
Abseil Team
e56fcf42ab Removing template workaround as the ::benchmark::internal::Benchmark type has now been made non-internal.
PiperOrigin-RevId: 859601861
Change-Id: Ib227f9eea67863cf664f7094be11241d7bdf1a70
2026-01-22 07:34:28 -08:00
Derek Mauro
6e7b7e8a26 Update to rules_cc 0.2.9
PiperOrigin-RevId: 819844403
Change-Id: Ideb599acc414b1f54a1e7f90cc2bc5bad41c1474
2025-10-15 11:34:04 -07:00
Derek Mauro
fece33c905 Bump versions of dependencies in MODULE.bazel
PiperOrigin-RevId: 795127323
Change-Id: Ic72af5c96677a210443c2be7de62f693bcb5b78d
2025-08-14 11:34:32 -07:00
Derek Mauro
91cfa153fc Update GoogleTest dependency to 1.17.0 to support GCC15
PiperOrigin-RevId: 753579654
Change-Id: I83a7c4a40c8178cc70682b30bf6db605e06ad53d
2025-05-01 07:20:10 -07:00
Derek Mauro
8cd5bdcc68 Update Abseil dependencies in preparation for release
PiperOrigin-RevId: 750203718
Change-Id: Icfe3a964414ab8cae29e69d525ade0b3c743c29a
2025-04-22 08:35:21 -07:00
Derek Mauro
0f0a772703 Remove WORKSPACE.bazel
`MODULE.bazel` is now the recommended way to use Bazel.
Users that have wanted to use `WORKSPACE.bazel` still needed
to provide their own `WORKSPACE.bazel` file, so this file
provides no benefit to them. It was merely for us to test,
but there is little reason to do so.

Support for `WORKSPACE.bazel` is going away in Bazel 9.

PiperOrigin-RevId: 726117464
Change-Id: If6a2789eae2d236c0ec1b53162c7122c96967959
2025-02-12 10:55:21 -08:00
Derek Mauro
860dcf1c0c Move Abseil to GoogleTest 1.16.0
This allows us to get rid of the repo_mapping
since 1.16.0 is now using canonical names.

PiperOrigin-RevId: 724543391
Change-Id: I9e0b6e4ecadaa4de6c5140820b444d5af927ab6c
2025-02-07 18:47:11 -08:00
Derek Mauro
b87a7955b8 Downgrade to rules_cc 0.0.17 because 0.1.0 was yanked
Note that the error message says downgrade to 0.0.15, but I'm not sure
why. 0.0.17 is the latest.

```
ERROR: Error computing the main repository mapping: Yanked version detected in your resolved dependency graph: rules_cc@0.1.0, for the reason: rules_cc 0.1.0 is yanked due to incompatible change (prematurely removing cc_proto_library from defs.bzl), please downgrade to 0.0.15.
```
PiperOrigin-RevId: 716675841
Change-Id: I459c35186161cc3d10b8c38973041d9a592c7cec
2025-01-17 08:16:16 -08:00
Derek Mauro
90a7ba66e8 Updates to CI to support newer versions of tools
Linux "latest" containers updated to
GCC 14.2
CMake 3.31.2
Bazel 8.0.0

Included are various fixes to get these versions to work.

Bazel now references repositories by their canonical names from the
Bazel Central Registry. For example, Abseil is now @abseil-cpp instead
of @com_google_absl, and GoogleTest is now @googletest instead of
@com_google_googletest. Users still using the old WORKSPACE system may
need to use `repo_mapping` on repositories using the old names. See
`WORKSPACE.bazel` in this commit for an example.

PiperOrigin-RevId: 709102146
Change-Id: I02327ed4f8fb947766480bdeef2b1930a7f831eb
2024-12-23 10:58:05 -08:00
Abseil Team
9e3b68ac3b Use local_config_cc from rules_cc and make it a dev dependency
Prepare for changes in Bazel 8, where cc configure scripts have been moved to rules_cc.

PiperOrigin-RevId: 703026686
Change-Id: I44c573bf84a56aed37fca0717e7e1892d7f9a267
2024-12-05 01:46:29 -08:00
Derek Mauro
d0159eab59 Update GoogleTest dependency to 1.15.2
This updates to a version of GoogleTest that fixes
https://github.com/google/googletest/issues/4581
for downstream users of rules_python

PiperOrigin-RevId: 658398482
Change-Id: I4c6d431fd38d3a108e3c252eb26be9d81ff05a8e
2024-08-01 07:46:25 -07:00
Derek Mauro
7795d0843a Update versions of dependencies in preparation for release
PiperOrigin-RevId: 653567769
Change-Id: I0448322da95558ff6a04ab1aeab2b238674b69d1
2024-07-18 04:32:47 -07:00
Derek Mauro
04af270f6d Add empty WORKSPACE.bzlmod
When bzlmod is enabled and WORKSPACE.bzlmod exists, the content of
WORKSPACE is ignored. This prevents bzlmod builds from unintentionally
depending on the WORKSPACE file.

This exposed some small problems with our clang-cl configuration,
which are also fixed in this change.

PiperOrigin-RevId: 602511311
Change-Id: I0ba411edde2df0e17f4eeede4117ddb6934dd8f8
2024-01-29 15:05:26 -08:00
Derek Mauro
41a2a25555 Add support for Bzlmod for the next release
https://bazel.build/external/overview#bzlmod

Bzlmod will be the default in a future Bazel release.
By default it requires projects to be registered with the
Bazel Central Registry (https://registry.bazel.build/) and
thus uses regular releases by default.

Users that want to "live-at-head" can still do this through
with overrides (https://bazel.build/external/module#overrides).

This change updates Abseil dependencies to use released versions.
CI uses Bzlmod except in the case of linux_gcc-floor, which will
keep testing the old WORKSPACE-based dependency system.

PiperOrigin-RevId: 597676666
Change-Id: I8d33facc432477c6dc7daa06fd00bb4ae8c4adba
2024-01-11 15:59:36 -08:00