Skip to content

build(deps): refactor CMake files for finding abseil-cpp - #148

Closed
ingomueller-net wants to merge 3 commits into
substrait-io:mainfrom
ingomueller-net:cmake-revamp-abseil
Closed

ingomueller-net wants to merge 3 commits into
substrait-io:mainfrom
ingomueller-net:cmake-revamp-abseil

Conversation

@ingomueller-net

Copy link
Copy Markdown
Contributor

This PR is currently stacked on #140.

This PR refactors the CMake logic that finds or fetches the abseil-cpp dependency. It follows the same pattern applied by #138 for the protobuf library.

This PR refactors the CMake logic that finds or fetches the
GTest/googletest dependency. It follows the same pattern applied by substrait-io#138
for the protobuf library. The PR also removes a redundant logic of
finding/fetching that dependency, which previously existed twice.

Signed-off-by: Ingo Müller <ingomueller@google.com>
This PR refactors the CMake logic that finds or fetches the
abseil-cpp dependency. It follows the same pattern applied by substrait-io#138
for the protobuf library.

Signed-off-by: Ingo Müller <ingomueller@google.com>
ingomueller-net added a commit to ingomueller-net/substrait-cpp that referenced this pull request Mar 31, 2026
This PR applies more fixes found by `clang-tidy`. Curiously, they only
show up with substrait-io#148, which consumes `abseil-cpp` differently.

Signed-off-by: Ingo Müller <ingomueller@google.com>
@ingomueller-net
ingomueller-net force-pushed the cmake-revamp-abseil branch 4 times, most recently from 45baccf to 145e0db Compare March 31, 2026 10:56
@ingomueller-net

Copy link
Copy Markdown
Contributor Author

Closing because we don't need this anymore anyways: the code is now not compatible with Protobuf before v22, and that version ships with Abseil. See failed job.

ingomueller-net added a commit to ingomueller-net/substrait-cpp that referenced this pull request Apr 7, 2026
This PR applies more fixes found by `clang-tidy`. Curiously, they only
show up with substrait-io#148, which consumes `abseil-cpp` differently.

Signed-off-by: Ingo Müller <ingomueller@google.com>
ingomueller-net added a commit to ingomueller-net/substrait-cpp that referenced this pull request Apr 9, 2026
This PR improves the way how CMake sets up `clang-tidy` in two ways: (1)
It includes a `--header-filter` in order to make `clang-tidy` also check
and fix header files and (2) it deactivates `clang-tidy` checks for
generated code, namely by `protoc` and ANTLR.

This PR then applies more fixes found by `clang-tidy`. Curiously, some
of them only show up with substrait-io#148, which consumes `abseil-cpp` differently.

Signed-off-by: Ingo Müller <ingomueller@google.com>
ingomueller-net added a commit to ingomueller-net/substrait-cpp that referenced this pull request Apr 9, 2026
This PR applies more fixes found by `clang-tidy`. Curiously, they only
show up with substrait-io#148, which consumes `abseil-cpp` differently.

Signed-off-by: Ingo Müller <ingomueller@google.com>
ingomueller-net added a commit to ingomueller-net/substrait-cpp that referenced this pull request Apr 9, 2026
This PR improves the way how CMake sets up `clang-tidy` in two ways: (1)
It includes a `--header-filter` in order to make `clang-tidy` also check
and fix header files and (2) it deactivates `clang-tidy` checks for
generated code, namely by `protoc` and ANTLR.

This PR then applies more fixes found by `clang-tidy`. Curiously, some
of them only show up with substrait-io#148, which consumes `abseil-cpp` differently.

Signed-off-by: Ingo Müller <ingomueller@google.com>
ingomueller-net added a commit to ingomueller-net/substrait-cpp that referenced this pull request Apr 9, 2026
This PR applies more fixes found by `clang-tidy`. Curiously, they only
show up with substrait-io#148, which consumes `abseil-cpp` differently.

Signed-off-by: Ingo Müller <ingomueller@google.com>
ingomueller-net added a commit to ingomueller-net/substrait-cpp that referenced this pull request Apr 9, 2026
This PR improves the way how CMake sets up `clang-tidy` in two ways: (1)
It includes a `--header-filter` in order to make `clang-tidy` also check
and fix header files and (2) it deactivates `clang-tidy` checks for
generated code, namely by `protoc` and ANTLR.

This PR then applies more fixes found by `clang-tidy`. Curiously, some
of them only show up with substrait-io#148, which consumes `abseil-cpp` differently.

Signed-off-by: Ingo Müller <ingomueller@google.com>
ingomueller-net added a commit to ingomueller-net/substrait-cpp that referenced this pull request Apr 9, 2026
This PR applies more fixes found by `clang-tidy`. Curiously, they only
show up with substrait-io#148, which consumes `abseil-cpp` differently.

Signed-off-by: Ingo Müller <ingomueller@google.com>
ingomueller-net added a commit that referenced this pull request Apr 9, 2026
This PR improves the way how CMake sets up `clang-tidy` in two ways: (1)
It includes a `--header-filter` in order to make `clang-tidy` also check
and fix header files and (2) it deactivates `clang-tidy` checks for
generated code, namely by `protoc` and ANTLR.

This PR then applies more fixes found by `clang-tidy`. Curiously, some
of them only show up with #148, which consumes `abseil-cpp`
differently.

---------

Signed-off-by: Ingo Müller <ingomueller@google.com>
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.

1 participant