thisisnic commented on a change in pull request #11703:
URL: https://github.com/apache/arrow/pull/11703#discussion_r749330363



##########
File path: r/tools/nixlibs.R
##########
@@ -371,9 +371,17 @@ ensure_cmake <- function() {
   if (is.null(cmake)) {
     # If not found, download it
     cat("**** cmake\n")
-    CMAKE_VERSION <- Sys.getenv("CMAKE_VERSION", "3.19.2")
+    CMAKE_VERSION <- Sys.getenv("CMAKE_VERSION", "3.21.4")
     if (tolower(Sys.info()[["sysname"]]) %in% "darwin") {
       postfix <- "-macos-universal.tar.gz"
+    } else if (tolower(Sys.info()[["machine"]]) == "arm64") {
+      postfix <- "-linux-aarch64.tar.gz"
+    } else if (tolower(Sys.info()[["machine"]]) == "armv7l") { # e.g. 
Raspberry Pi OS
+      # There are no binary available for this architecture
+      stop(paste0(
+         "*** cmake was not found locally.",
+         "    Please make sure cmake >= 3.10 is installed and available on 
your PATH."
+      ))
     } else {
       postfix <- "-Linux-x86_64.tar.gz"

Review comment:
       Aha, the uppercase/lowercase 'l'?  Thanks!




-- 
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]


Reply via email to