You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Todd Farmer (Jira)" <ji...@apache.org> on 2022/08/26 16:06:00 UTC

[jira] [Commented] (ARROW-11796) [C++] Test, fix, and document debug builds with vcpkg packages

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

Todd Farmer commented on ARROW-11796:
-------------------------------------

This issue was last updated over 90 days ago, which may be an indication it is no longer being actively worked. To better reflect the current state, the issue is being unassigned per [project policy|https://arrow.apache.org/docs/dev/developers/bug_reports.html#issue-assignment. Please feel free to re-take assignment of the issue if it is being actively worked, or if you plan to start that work soon.

> [C++] Test, fix, and document debug builds with vcpkg packages
> --------------------------------------------------------------
>
>                 Key: ARROW-11796
>                 URL: https://issues.apache.org/jira/browse/ARROW-11796
>             Project: Apache Arrow
>          Issue Type: Task
>          Components: C++
>            Reporter: Ian Cook
>            Assignee: Ian Cook
>            Priority: Major
>
> ARROW-11580 makes it straightforward to use vcpkg for dependencies. This has been well-tested with *release* builds, but there are some loose ends with *debug* builds. vcpkg installs debug libraries for the dependencies, but there are some problems linking them when {{-DCMAKE_BUILD_TYPE=DEBUG}}. I was able to get a debug build to succeed on Windows with VS 2019 by turning some features off
> {code:java}
>     -DARROW_FLIGHT=OFF ^
>     -DARROW_GANDIVA=OFF ^
>     -DARROW_WITH_THRIFT=OFF ^
>     -DARROW_PARQUET=OFF ^ {code}
> but there were linking errors when I turned any of those on. I think some of these errors can be resolved by setting additional {{\*\_MSVC\_\*}} prefix/suffix variables or by working around limitations of which dependencies vcpkg can and cannot install as dynamic link libraries.
> I tested this after installing dynamic link libraries with vcpkg and with {{-DARROW_DEPENDENCY_USE_SHARED=ON}}. We should also test debug builds with static dependencies and on Linux and Mac.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)