paleolimbot opened a new pull request, #37147:
URL: https://github.com/apache/arrow/pull/37147

   ### Rationale for this change
   
   Currently a naive `install.packages("arrow")` will result in a failed build 
if gcc-13 is the compiler. This is because we include GCS by default on this 
type of build (bundled). CRAN's check farm includes at least one system where 
gcc-13 is the compiler and so we need can't error or suggest a user workaround.
   
   ### What changes are included in this PR?
   
   This PR explicitly sets the relevant environment variable if the compiler 
string contains "gcc" and if `gcc --version` contains "13.XXX.XX". This is 
admittedly crude; however, the alternative of updating Abseil results in a 
cascading set of changes that may break other parts of Arrow. Few if any actual 
users will build the Arrow R package from source using gcc-13, so this has a 
much lower footprint (and a workaround: you can just set the GCS environment 
variable yourself before building if you do, in fact, want to attempt this).
   
   ### Are these changes tested?
   
   Tested via crossbow (see below).
   
   ### Are there any user-facing changes?
   
   No.


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