nealrichardson commented on code in PR #55841:
URL: https://github.com/apache/arrow/pull/55841#discussion_r4748116291


##########
r/configure.win:
##########
@@ -87,7 +87,12 @@ function configure_binaries() {
   # (GH-55165).
   UTF8PROC_SNAPPY_LIBS="-lutf8proc -lsnappy"
   RE2_LIBS="-lre2"
-  CURL_LIBS_FILE="${RWINLIB#../}/lib/x64-ucrt/libcurl.libs"
+  # $(R_ARCH) is empty in aarch64 R, so ask R for its architecture.
+  case "$("${R_HOME}/bin${R_ARCH_BIN}/Rscript.exe" -e 'cat(R.version$arch)')" 
in
+    aarch64) RWINLIB_ARCH_DIR="aarch64-ucrt" ;;

Review Comment:
   Neither here nor there but `RWINLIB` is a vestige of the pre-rtools4 build 
system Jeroen maintained (https://github.com/rwinlib/), if there's a clearer 
name for this concept for us here, we can def rename 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]

Reply via email to