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

[Python][Packaging] Use delocate-fuse to create universal2 wheels

    XMLWordPrintableJSON

Details

    Description

      Previously we used specific universal2 configurations for vcpkg to build the dependencies containing symbols for both architectures. This approach proved to be fragile to vcpkg changes making it hard to upgrade the vcpkg version. As an example https://github.com/apache/arrow/pull/12893 bumps the vcpkg version where absl has stopped compiling for two CMAKE_OSX_ARCHITECTURES, it has been already fixed in absl's upstream but that hasn't been released yet.

      The new approach uses multibuild's delocate to build the wheels for both arm64 and amd64 separately and fuse them in an upcoming step to a universal2 wheel (using lipo under the hood).

      Attachments

        Issue Links

          Activity

            People

              kszucs Krisztian Szucs
              kszucs Krisztian Szucs
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 50m
                  1h 50m