Skip to content

[7.0.0] Build Bazel with C++17.#20174

Merged
keertk merged 1 commit intobazelbuild:release-7.0.0from
bazel-io:cp20085-7.0.0
Nov 13, 2023
Merged

[7.0.0] Build Bazel with C++17.#20174
keertk merged 1 commit intobazelbuild:release-7.0.0from
bazel-io:cp20085-7.0.0

Conversation

@bazel-io
Copy link
Copy Markdown
Member

In upcoming changes, we'd like to have the ability to use C++17 features.
This ensures that such code will build successfully on the various CI
platforms, regardless of the C++ standard version the compiler defaults to.

Closes #20085.

Commit ba38aa2

PiperOrigin-RevId: 581952933
Change-Id: I0753249e2182b3ab499bc91a384ad93ec59d65f8

In upcoming changes, we'd like to have the ability to use C++17 features.
This ensures that such code will build successfully on the various CI
platforms, regardless of the C++ standard version the compiler defaults to.

Closes bazelbuild#20085.

PiperOrigin-RevId: 581952933
Change-Id: I0753249e2182b3ab499bc91a384ad93ec59d65f8
@bazel-io bazel-io requested a review from a team as a code owner November 13, 2023 15:18
@bazel-io bazel-io added team-OSS Issues for the Bazel OSS team: installation, release processBazel packaging, website awaiting-review PR is awaiting review from an assigned reviewer labels Nov 13, 2023
@github-actions github-actions Bot removed the awaiting-review PR is awaiting review from an assigned reviewer label Nov 13, 2023
@keertk keertk added the awaiting-review PR is awaiting review from an assigned reviewer label Nov 13, 2023
@keertk keertk enabled auto-merge (squash) November 13, 2023 15:19
@keertk keertk requested a review from tjgq November 13, 2023 15:19
@keertk keertk merged commit 2bd3592 into bazelbuild:release-7.0.0 Nov 13, 2023
@github-actions github-actions Bot removed the awaiting-review PR is awaiting review from an assigned reviewer label Nov 13, 2023
lucamilanesio pushed a commit to GerritCodeReview/gerrit that referenced this pull request Dec 12, 2023
Also update C++-toolchain to use modern C++ features. This is only
relevant for dependencies, that are built from source, like Protobuf and
other transitive dependencies (e.g. abseil-cpp).

We are doing this to synchronize with the Bazel itself, that bumped C++
toolchain in 7.x release line.

The original commit message in this PR: [1]:

In upcoming changes, we'd like to have the ability to use C++17 features.
This ensures that such code will build successfully on the various CI
platforms, regardless of the C++ standard version the compiler defaults
to.

[1] bazelbuild/bazel#20174

Release-Notes: Update Bazel version to 7.0.0
Change-Id: Ie7cb3003da7b9b49100a60c401253eb999dcb6d5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

team-OSS Issues for the Bazel OSS team: installation, release processBazel packaging, website

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants