You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[C++] Refactor bundled dependencies from ExternalProject to FetchContent #45303
This is a tracking issue for refactoring the bundled part of the Arrow C++ build from using CMake ExternalProject to FetchContent. Please comment on this issue if you have anything to add to this post or want to help clarify anything.
@kou my plan is to try and simplify abseil further removing all manual target definitions. In order to do I plan to move google-cloud-cpp, I'll tackle Crc32c and nlohmann-json first. Let me know if you think it's better to focus on others.
BTW, with the last 5 PRs merged (moving abseil, c-ares, re2, protobuf and gRPC to FetchContent) we've been able to reduce 20% of our custom CMake on ThirdPartyToolchain.cmake, approximately 1000 lines less.
BTW, with the last 5 PRs merged (moving abseil, c-ares, re2, protobuf and gRPC to FetchContent) we've been able to reduce 20% of our custom CMake on ThirdPartyToolchain.cmake, approximately 1000 lines less.
Activity
assignUser commentedon Feb 19, 2025
Thanks, this is a big chunk of work but it will make following version bumps much smoother and make a bunch of workarounds superfluous.
Design wise a main point we should follow is to use sub dirs for all dependencies to avoid dir level variables leaking into the main build.
raulcd commentedon Dec 3, 2025
@kou my plan is to try and simplify abseil further removing all manual target definitions. In order to do I plan to move google-cloud-cpp, I'll tackle Crc32c and nlohmann-json first. Let me know if you think it's better to focus on others.
BTW, with the last 5 PRs merged (moving abseil, c-ares, re2, protobuf and gRPC to FetchContent) we've been able to reduce 20% of our custom CMake on ThirdPartyToolchain.cmake, approximately 1000 lines less.
kou commentedon Dec 4, 2025
I agree with your plan! Let's use the plan!
Great!!!
raulcd commentedon Apr 15, 2026
Should we close this one now?
kou commentedon Apr 15, 2026
Unfortunately, no. We still have
externalproject_add()s:GH-50222: [C++] Use FetchContent for xsimd (#50303)