-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GH-39601: [R] Don't download cmake when TEST_OFFLINE_BUILD=true #39602
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -281,11 +281,10 @@ withr::with_makevars(list(CPPFLAGS = "", LDFLAGS = ""), remotes::install_github( | |||||
environment variables that determine how the build works and what features | ||||||
get built. | ||||||
* `TEST_OFFLINE_BUILD`: When set to `true`, the build script will not download | ||||||
prebuilt the C++ library binary. | ||||||
prebuilt the C++ library binary or, if needed, `cmake`. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
We could also say " There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't feel strongly; don't think it matters much one way or another. Most likely if you're reading this file, you've already tried to install and hit the error message that tells you what version you need 🤷 IMO your exact suggestion isn't worth adding, I'd think that appropriate version was implied. If you wanted to list the version here, I'd leave a comment in nixlibs.R next to |
||||||
It will turn off any features that require a download, unless they're available | ||||||
in `ARROW_THIRDPARTY_DEPENDENCY_DIR` or the `tools/thirdparty_download/` subfolder. | ||||||
`create_package_with_all_dependencies()` creates that subfolder. | ||||||
Regardless of this flag's value, `cmake` will be downloaded if it's unavailable. | ||||||
|
||||||
# Troubleshooting | ||||||
|
||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for adding version here – in my other testing on macbuilder I wanted this / added it in hackily so glad to see it for real here.