bastistician opened a new issue, #51482: URL: https://github.com/apache/arrow/issues/51482
### Describe the enhancement requested As a side effect of #42210, <https://github.com/apache/arrow/commit/67bbf846d0d47075e1711b3fb4cf8fb05c74bd09> hard-coded `-DARROW_SNAPPY_USE_SHARED=OFF` in 'r/inst/build_arrow_static.sh', which prevents source installations from using a system-provided `snappy-dev`. It took me a while to figure out why my build would always fail with Could NOT find SnappyAlt (missing: Snappy_LIB) when using `ARROW_DEPENDENCY_SOURCE=SYSTEM` regardless of my settings of any of ARROW_DEPENDENCY_USE_SHARED=ON [default=ON] Link to shared libraries ARROW_SNAPPY_USE_SHARED=ON [default=ON] Rely on snappy shared libraries where relevant Why not allow customization like for most other variables? -DARROW_SNAPPY_USE_SHARED="${ARROW_SNAPPY_USE_SHARED:-OFF}" Currently 'snappy' always needs to be downloaded when installing the R package arrow + libarrow from source: `Performing download step (download, verify and extract) for 'snappy_ep'` (also 'xsimd' but that is simply because a very recent version (14.2.0) is required which I don't have installed). ### Component(s) R -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
