jonkeane commented on code in PR #55491:
URL: https://github.com/apache/arrow/pull/55491#discussion_r4538250900
##########
dev/tasks/tasks.yml:
##########
@@ -633,14 +633,28 @@ tasks:
template: r/github.linux.offline.build.yml
# Simulate a CRAN builder without network access: the build should detect
- # that it is offline and fall back to a minimal build without downloading
- # anything.
- test-r-offline-minimal:
- ci: github
- template: docker-tests/github.linux.yml
- params:
- flags: '-e ARROW_R_TEST_OFFLINE=true -e NOT_CRAN=false -e
SKIP_VIGNETTES=true'
+ # that it is offline and build libarrow without downloading anything, using
+ # the thirdparty sources vendored in the package (tools/vendored) to still
+ # include Parquet, Dataset, JSON, the compression codecs, etc.
+ # ARROW_SOURCE_HOME='' makes it use the C++ source copied into tools/cpp
+ # (like the CRAN package does), whose versions.txt has the checksums of the
+ # trimmed tarballs. bz2 is off by default on Linux, so it is turned on to
make
+ # sure every vendored tarball is built. Brotli and Zstandard aren't vendored.
+ test-r-offline-vendored:
+ ci: github
+ template: docker-tests/github.linux.yml
+ params:
+ flags: >-
+ -e ARROW_R_TEST_OFFLINE=true
+ -e NOT_CRAN=false
+ -e SKIP_VIGNETTES=true
+ -e ARROW_SOURCE_HOME=''
+ -e ARROW_WITH_BZ2=ON
Review Comment:
I included bz2 here not because I think it's useful, but it's actually tiny
(0.09MB). But we could save some bytes by removing it.
--
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]