nealrichardson commented on PR #44989:
URL: https://github.com/apache/arrow/pull/44989#issuecomment-2548837675

   > Probably naive question here, I suppose we can't update the mirrors here 
to point to msys2 and download the newer cmake from there before building Arrow 
as we would have the same issue when we try to publish to CRAN, right? 
@jonkeane @nealrichardson
   
   Honestly I don't know. But it's not relevant for CRAN because (a) CRAN 
currently only builds on R 4.3 and 4.4, both of which have new enough cmake, 
and (b) we don't require cmake on CRAN anyway because we build the libarrow C++ 
library in our CI and download it in the CRAN build--CRAN only compiles the R 
bindings, which do not require cmake.
   
   Solving the cmake issue for R < 4.3 is only for our own purposes of building 
C++ libraries that are compatible with older versions of R on Windows. We 
support more versions of R than CRAN actively checks on, though it appears that 
in CI, we only check on the Windows current release version, and [when we test 
old R versions, we do it on 
linux](https://github.com/apache/arrow/blob/main/dev/tasks/r/github.linux.versions.yml).
 
   
   IIUC we're building libarrow with the rtools4.0 toolchain for maximum 
compatibility. If we want to continue doing that, we could try installing newer 
cmake somewhere before 
https://github.com/apache/arrow/blob/main/.github/workflows/r.yml#L293 and 
making sure it's on the PATH. Or, to bump up, we would change the rtools 
version in that job from `40` to `43` to use the rtools43 toolchain with newer 
cmake. 


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