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

[jira] [Created] (ARROW-16752) [R] Rework Linux binary installation

Neal Richardson created ARROW-16752:
---------------------------------------

             Summary: [R] Rework Linux binary installation
                 Key: ARROW-16752
                 URL: https://issues.apache.org/jira/browse/ARROW-16752
             Project: Apache Arrow
          Issue Type: Improvement
          Components: Packaging, R
            Reporter: Neal Richardson
             Fix For: 9.0.0


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)




--
This message was sent by Atlassian Jira
(v8.20.7#820007)