Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-7769

[Python] Default PYARROW_CMAKE_GENERATOR can yield broken libraries with MSVC if the C++ toolchain is different

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Python
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              wesm Wes McKinney
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: