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



##########
File path: ci/scripts/r_docker_configure.sh
##########
@@ -39,6 +39,16 @@ if [ "$RHUB_PLATFORM" = "linux-x86_64-fedora-clang" ]; then
   rm -rf $(${R_BIN} RHOME)/etc/Makeconf.bak
 fi
 
+# Special hacking to try to reproduce quirks on centos using non-default build
+# tooling.
+if [[ "$R_TAG" == *centos* && "$DEVTOOLSET_VERSION" > 0 ]]; then
+  if [ "`which dnf`" ]; then
+    dnf install -y "devtoolset-$DEVTOOLSET_VERSION"
+  else [ "`which yum`" ]; then

Review comment:
       If we have a devtoolset specified, we want it to install it one way or 
another (and fail hard if we can't)
   
   ```suggestion
     else
   ```




----------------------------------------------------------------
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:
[email protected]


Reply via email to