You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2020/12/15 22:44:06 UTC

[GitHub] [arrow] jonkeane commented on a change in pull request #8932: ARROW-10856: [R] CC and CXX environment variables passing to cmake

jonkeane commented on a change in pull request #8932:
URL: https://github.com/apache/arrow/pull/8932#discussion_r543741243



##########
File path: r/tools/linuxlibs.R
##########
@@ -379,40 +379,41 @@ cmake_version <- function(cmd = "cmake") {
   )
 }
 
-with_s3_support <- function(env_vars) {
+with_s3_support <- function(env_vars, cmake) {
   arrow_s3 <- toupper(Sys.getenv("ARROW_S3")) == "ON" || tolower(Sys.getenv("LIBARROW_MINIMAL")) == "false"
   if (arrow_s3) {
     # User wants S3 support. Let's make sure they're not on gcc < 4.9
     # and make sure that we have curl and openssl system libs
-    info <- system(paste(env_vars, "&& $CMAKE --system-information"), intern = TRUE)
+    info <- system(paste(env_vars, cmake, "--system-information"), intern = TRUE)

Review comment:
       Yeah, that _should_ work though I need to double check.




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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org