Skip to content

Conversation

@werkt
Copy link
Member

@werkt werkt commented May 10, 2023

Bazel 6.2 has introduced warnings promoted to errors via jdk flags that prevent grpc 1.44.1 from working. Upgrading that to 1.55.1

This introduced an incompatibility with rules_skylib. Upgrading that to 1.4.1 from 0.9.0.
Also incompatible was rules_jvm_external, which was upgraded to 5.2 from 4.2.
Lastly, absl as used by protobuf at the new grpc version is incompatible with < c++14. Introduced a .bazelrc as a poor excuse for toolchain injection. Bazel will default to c++14 (from c++0x) with a release that includes bazelbuild/bazel#18280. An issue to remove this file will follow.

Tagged the build with .bazelversion to avoid accidental consumption of incompatible bazels with bazelisk.

Fixes #28

Bazel 6.2 has introduced warnings promoted to errors via jdk flags that
prevent grpc 1.44.1 from working. Upgrading that to 1.55.1

This introduced an incompatibility with rules_skylib. Upgrading that to
1.4.1 from 0.9.0.
Also incompatible was rules_jvm_external, which was upgraded to 5.2 from
4.2.
Lastly, absl as used by protobuf at the new grpc version is incompatible
with < c++14. Introduced a .bazelrc as a poor excuse for toolchain
injection. Bazel will default to c++14 (from c++0x) with a release that
includes bazelbuild/bazel#18280. An issue to
remove this file will follow.

Tagged the build with .bazelversion to avoid accidental consumption of
incompatible bazels with bazelisk.

Fixes #28
@werkt werkt requested a review from eytankidron as a code owner May 10, 2023 21:06
@werkt werkt merged commit 6f311ad into master May 10, 2023
@werkt werkt deleted the bazel-6.2-compat branch May 10, 2023 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

//:remote_client does not build with bazel 6.2

2 participants