Repository navigation
GH-34523: [C++] Avoid mixing bundled Abseil and system Abseil - #35387
Conversation
|
|
|
@nealrichardson @paleolimbot Could you try this? |
|
Thank you! I can confirm that this builds and links successfully with GCS on (and results in an R package with GCS enabled). I also checked to make sure that I could replicate the original error without this PR (I can replicate the error without this PR). |
lidavidm
left a comment
There was a problem hiding this comment.
Wow, this seems quite fragile. Though I suppose we can't do much better.
Co-authored-by: David Li <li.davidm96@gmail.com>
|
Thanks for confirming this. I'll merge this. |
|
Benchmark runs are scheduled for baseline = f74d747 and contender = a77aab0. a77aab0 is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
|
['Python', 'R'] benchmarks have high level of regressions. |
…pache#35387) ### Rationale for this change If we use a CMake target that provides the same include path for system Abseil in advance of a CMake target for bundled Abseil, header files for system Abseil are used. It causes a link error when system Abseil and bundled Abseil are incompatible. ### What changes are included in this PR? Use a CMake target for bundled Abseil as early as possible. ### Are these changes tested? Yes. ### Are there any user-facing changes? Yes. * Closes: apache#34523 Lead-authored-by: Sutou Kouhei <kou@clear-code.com> Co-authored-by: Sutou Kouhei <kou@cozmixng.org> Co-authored-by: David Li <li.davidm96@gmail.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
…pache#35387) ### Rationale for this change If we use a CMake target that provides the same include path for system Abseil in advance of a CMake target for bundled Abseil, header files for system Abseil are used. It causes a link error when system Abseil and bundled Abseil are incompatible. ### What changes are included in this PR? Use a CMake target for bundled Abseil as early as possible. ### Are these changes tested? Yes. ### Are there any user-facing changes? Yes. * Closes: apache#34523 Lead-authored-by: Sutou Kouhei <kou@clear-code.com> Co-authored-by: Sutou Kouhei <kou@cozmixng.org> Co-authored-by: David Li <li.davidm96@gmail.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
Rationale for this change
If we use a CMake target that provides the same include path for system Abseil in advance of a CMake target for bundled Abseil, header files for system Abseil are used.
It causes a link error when system Abseil and bundled Abseil are incompatible.
What changes are included in this PR?
Use a CMake target for bundled Abseil as early as possible.
Are these changes tested?
Yes.
Are there any user-facing changes?
Yes.