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

[R] Rework Linux binary installation

    XMLWordPrintableJSON

Details

    Description

      See https://github.com/jeroen/V8/blob/master/configure#L17-L35 and https://github.com/jeroen/V8/blob/gh-pages/get-v8-linux.sh#L10-L41 for reference, though we'll do this in nixlibs.R not bash.

      • Rather than switching on distro-version and maintaining a csv map of compatible versions, check for the features of the current system.
      • Check arch before downloading and only download for x86 (until some future time when we build arm or other binaries).
      • Check if C++ compiler is gcc < 5, use centos 7 gcc 4.8 binary for that case
      • Else, check for openssl and curl, bail if not found (non-centos7 binaries require them for aws-sdk support)
      • Else, check openssl version, use ubuntu 22.04 if openssl >= 3, else use ubuntu 18.04
      • Add an allowlist of distro id that has binary downloading by default (V8 downloads static libs by default on ubuntu and centos); this should perhaps download from a URL so that we can add/remove distros from the list based on feedback from the wild (and if download of that list fails, we can't download a binary anyway, so this would double as a test for whether we have a network connection)

      Attachments

        Issue Links

          Activity

            People

              npr Neal Richardson
              npr Neal Richardson
              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 - 7h
                  7h