nealrichardson commented on code in PR #55841:
URL: https://github.com/apache/arrow/pull/55841#discussion_r4748077066
##########
r/tools/nixlibs.R:
##########
@@ -200,14 +200,20 @@ download_binary <- function(lib) {
# * "darwin-x86_64"
# These string values, along with `NULL`, are the potential return values of
# this function. On Windows, LIBARROW_BINARY is ignored and the binary is
-# chosen by R version: "windows-x86_64-rtools40" or
"windows-x86_64-rtools45".
+# chosen by architecture and R version: "windows-aarch64-rtools45",
+# "windows-x86_64-rtools40" or "windows-x86_64-rtools45".
identify_binary <- function(
lib = Sys.getenv("LIBARROW_BINARY"),
info = distro(),
- r_version = getRversion()
+ r_version = getRversion(),
+ # The architecture R was built for, as in configure.win, not the machine's
+ arch = tolower(R.version$arch)
Review Comment:
This is the first time we have to care about arch in here? Maybe I'm old and
forgetful but don't we have to build arm and x86 for mac?
--
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]