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
Instead of the current approach we are taking with the *_HOME variables, we should use more CMake features and also give users of Arrow a more high-level control. This is going to be a rather lengthy issue with a lot of subtasks.
Let the user decide on the top-level how dependencies should be handled. At the moment I can think of the following modes:
AUTO: Guess the packaging system we're running in, use this where possible, otherwise build the dependencies through the ExternalProject logic.
BUNDLED: Don't use any dependencies, build them all through ExternalProject
SYSTEM: Use CMake's find_package and find_library without any custom paths. If packages are on non-default locations, let the user indicate it from the outside using the *_ROOT variables.
CONDA: Same as SYSTEM but set all *_ROOT variables to ENV\{CONDA_PREFIX\}.
BREW: This uses SYSTEM but asks brew for some dependencies for their installation prefix.
prefer dynamic linkage where possible
Use pkg-config and *Targets.cmake files in projects that publish these
Ensure that the necessary integration tests are in place (Fedora, Debian, Ubuntu, Alpine)
Integration tests that Arrow's *Targets.cmake and arrow.pc work.
Uwe Korn / @xhochy: @kou Yes, both are related. If there are no objections to this approach. I would like to go over all this and make a general cleanup. Currently we're just doing small cleanups but we're still facing a lot of issues with packagers so I'm happy to spent a bit more time to get the things cleaned up in general. I'll probably start first with some integration tests (read dockerfiles) so that I can ensure that I don't break existing installations.
Kouhei Sutou / @kou:
OK.
Should I wait for your work? Or should I work with you?
I think that I should wait for your work. The general cleanup by multiple developers will cause conflicts.
Activity
asfimport commentedon Feb 18, 2019
Kouhei Sutou / @kou:
Is ARROW-4383 related?
I'm implementing the AUTO mode for GFlags in ARROW-4599.
asfimport commentedon Feb 18, 2019
Uwe Korn / @xhochy:
@kou Yes, both are related. If there are no objections to this approach. I would like to go over all this and make a general cleanup. Currently we're just doing small cleanups but we're still facing a lot of issues with packagers so I'm happy to spent a bit more time to get the things cleaned up in general. I'll probably start first with some integration tests (read dockerfiles) so that I can ensure that I don't break existing installations.
asfimport commentedon Feb 18, 2019
Kouhei Sutou / @kou:
OK.
Should I wait for your work? Or should I work with you?
I think that I should wait for your work. The general cleanup by multiple developers will cause conflicts.
asfimport commentedon Feb 18, 2019
Uwe Korn / @xhochy:
Wait a week for me. When I'm then not done, I have to reevaluate how much time I can allocate.
asfimport commentedon Feb 18, 2019
Kouhei Sutou / @kou:
OK!
asfimport commentedon Feb 19, 2019
Uwe Korn / @xhochy:
@kou @wesm Please take a look at a1cd7f8 This is roughly what I image with the change done just for
double-conversion.asfimport commentedon Feb 19, 2019
Kouhei Sutou / @kou:
I've commented to it.
I like this approach.
asfimport commentedon Mar 14, 2019
Wes McKinney / @wesm:
Issue resolved by pull request 3688
#3688