You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Ian Cook (Jira)" <ji...@apache.org> on 2021/02/18 20:14:00 UTC

[jira] [Commented] (ARROW-11580) [C++] Add CMake option ARROW_DEPENDENCY_SOURCE=VCPKG

    [ https://issues.apache.org/jira/browse/ARROW-11580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17286708#comment-17286708 ] 

Ian Cook commented on ARROW-11580:
----------------------------------

Finding where vcpkg is installed and where it has installed packages is not as straightforward as with conda or brew.

If you install vcpkg as per the docs, it does not add the vcpkg install directory to the path, and it does not set any environment variables that help you to find it. However when you run {{vcpkg integrate install}}, it creates a plain text file {{vcpkg.path.txt}} containing the path of the install directory.

On Mac and Linux, this file is placed in {{$HOME/.vcpkg}}. On Windows, it's placed in {{%LOCALAPPDATA%\vcpkg}}.

vcpkg also puts other files in that directory, but the details are poorly documented and it's sometimes necessary to read the vcpkg source code in [https://github.com/microsoft/vcpkg-tool] to figure out what it's doing.

> [C++] Add CMake option ARROW_DEPENDENCY_SOURCE=VCPKG
> ----------------------------------------------------
>
>                 Key: ARROW-11580
>                 URL: https://issues.apache.org/jira/browse/ARROW-11580
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>            Reporter: Ian Cook
>            Assignee: Ian Cook
>            Priority: Major
>
> ARROW-11340 enables the use of vcpkg to install Arrow C++ build dependencies, but we should consider making this more straightforward by adding a CMake option {{ARROW_DEPENDENCY_SOURCE=VCPKG}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)