You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Wes McKinney (Jira)" <ji...@apache.org> on 2020/02/04 18:35:00 UTC

[jira] [Created] (ARROW-7769) [Python] Default PYARROW_CMAKE_GENERATOR can yield broken libraries with MSVC if the C++ toolchain is different

Wes McKinney created ARROW-7769:
-----------------------------------

             Summary: [Python] Default PYARROW_CMAKE_GENERATOR can yield broken libraries with MSVC if the C++ toolchain is different
                 Key: ARROW-7769
                 URL: https://issues.apache.org/jira/browse/ARROW-7769
             Project: Apache Arrow
          Issue Type: Bug
          Components: Python
            Reporter: Wes McKinney


See discussion in https://github.com/apache/arrow/pull/6350.

Python's setup.py defaults to the "Visual Studio 14 2015 Win64" CMake generator here

https://github.com/apache/arrow/blob/apache-arrow-0.16.0/python/setup.py#L130

We found in ARROW-6757 that if VS 2017 or newer was used to build the C++ libraries, then there can be a toolchain conflict causing segfaults. I'm not sure if there's a better way to infer which VS toolchain is "preferred" (based on what "VsDevCmd.bat" was run), but we should see if we should do something other than what we have now



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