Repository navigation
Conversation
Contributor
Author
|
related: #41986 |
Contributor
Author
|
/gemini review |
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates the minimum required CMake version to 3.22 and configures several Dockerfiles to install CMake from Debian 11 (bullseye) backports. The review feedback points out that the CMake version bump makes legacy version checks obsolete, allowing for code simplification. Additionally, the reviewer notes that using archive.debian.org for active Debian 11 backports is incorrect and recommends using deb.debian.org instead, along with adding apt-get clean to optimize Docker image sizes.
yuanweiz
marked this pull request as ready for review
August 10, 2026 17:04
sergiitk
reviewed
Aug 11, 2026
sergiitk
left a comment
Member
There was a problem hiding this comment.
- The C# Debian 11 base images still pull CMake 3.18 and need migration to
bullseye-backportsto avoid build breakages. - The C++ examples still declare
cmake_minimum_required(VERSION 3.16), which creates a fatal configuration trap during sub-project builds. - The
cmake_from_install_script.includefile and its associatedcxx_clang_7_x64template are orphaned dead code and can be safely deleted.
sergiitk
approved these changes
Aug 11, 2026
asheshvidyut
pushed a commit
to PeterZhizhin/grpc
that referenced
this pull request
Nov 12, 2026
Follow up of grpc#42795. The previous change only updated `Dockerfile`s based on `debian:11`, but missed these base images: * silkeh/clang:14-bullseye * gcc:10 * python:3.10-bullseye Cmake variable `_gRPC_INSTALL_SUPPORTED_FROM_MODULE` is always TRUE for version >=3.13 so we can remove it safely. Also update CMakeLists.txt to enforces use of cmake 3.22 or higher per OSS [policy](https://github.com/google/oss-policies-info/blob/main/foundational-cxx-support-matrix.md#compilers-tools-build-systems). This should reduce the chance of missing updates in our dockerfiles. Closes grpc#41997 COPYBARA_INTEGRATE_REVIEW=grpc#41997 from yuanweiz:cmake-3.25 3992786 PiperOrigin-RevId: 964156025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow up of #42795. The previous change only updated
Dockerfiles based ondebian:11, but missed these base images:Cmake variable
_gRPC_INSTALL_SUPPORTED_FROM_MODULEis always TRUE for version >=3.13 so we can remove it safely.Also update CMakeLists.txt to enforces use of cmake 3.22 or higher per OSS policy. This should reduce the chance of missing updates in our dockerfiles.