Skip to content

Repeated cmake development builds are broken #23586

@jtattermusch

Description

@jtattermusch

Reproduction:

Run (with a clean checkout or at least after cleaning cmake/build directory).

tools/run_tests/run_tests.py -l c -c dbg --build_only --compiler cmake

which succeeds.

Right after that, run the same command again

tools/run_tests/run_tests.py -l c -c dbg --build_only --compiler cmake

This time if fails with an error

cmake -DgRPC_BUILD_TESTS=OFF -DCMAKE_BUILD_TYPE=Release ../..
CMake Error at third_party/abseil-cpp/CMake/AbseilHelpers.cmake:350 (message):
   ABSL: compiling absl requires a gtest CMake target in your project,
                     see CMake/README.md for more details
Call Stack (most recent call first):
  third_party/abseil-cpp/CMakeLists.txt:105 (check_target)

E. g. "tests/run_tests.py -l csharp --build_only" behaves the same

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions