jonkeane commented on pull request #10611:
URL: https://github.com/apache/arrow/pull/10611#issuecomment-873136935
Thanks for the help @kszucs , I've made the changes that implement what you
suggested (I'll push them in a bit).
One difference using the same ubuntu-r docker layer for both non-static and
static is that the non-static one will build a version of the cpp that we then
ignore later when R is being installed. Since we're running the same command:
```
command: >
/bin/bash -c "
/arrow/ci/scripts/cpp_build.sh /arrow /build &&
/arrow/ci/scripts/python_build.sh /arrow /build &&
/arrow/ci/scripts/r_test.sh /arrow"
```
That wouldn't be a huge deal, but I'm running into an issue with the GCC11
build where if we do run `/arrow/ci/scripts/cpp_build.sh /arrow /build` first,
the r package fails to build the cpp when it needs to:
https://github.com/ursacomputing/crossbow/runs/2973848414#step:7:6488 (note:
it's possible this is resolveable with a different change, I haven't dug too
deeply into it — and don't want to delay the other fixes in this ticket
tracking down this particular failure)
If I change this command to be:
```
command: >
/bin/bash -c "
/arrow/ci/scripts/r_test.sh /arrow"
```
it passes just fine. Is there a way with archery to override the docker
command (e.g. from the tasks.yml file) (like I can do with the docker-compose
commands below)? I've looked and tried a few things, but nothing seemed to
work.
Another alternative would be to create another docker-compose service like
the following (and we might even move some of the content in `flags` here too).
Though this is similar to what I had before that we've changed
```
ubuntu-r-static:
extends: ubuntu-r
command: /bin/bash -c "/arrow/ci/scripts/r_test.sh /arrow"
```
--
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]