-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GH-41450: [R][CI] rhub/container follow ons #41451
Conversation
@github-actions crossbow submit test-r-rhub-debian-gcc-devel-lto-latest |
|
Revision: 6536162 Submitted crossbow builds: ursacomputing/crossbow @ actions-9240543e1c
|
- {image: "rstudio/r-base:4.1-focal"} | ||
- {image: "rstudio/r-base:4.2-jammy"} | ||
- {image: "rstudio/r-base:4.3-noble"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These probably shouldn't be all ubuntus. Any suggestions on other images we should use? centos8? RHEL? debian?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think rockylinux8
gets at the centos/RHEL line.
@github-actions crossbow submit test-r-rhub-debian-gcc-devel-lto-latest |
Revision: 020f8e1 Submitted crossbow builds: ursacomputing/crossbow @ actions-4a7b53ff9c
|
@github-actions crossbow submit test-r-clang-sanitizer |
Revision: 3185879 Submitted crossbow builds: ursacomputing/crossbow @ actions-09f0dd36e9
|
@github-actions crossbow submit test-r-clang-sanitizer |
Revision: 9664a4c Submitted crossbow builds: ursacomputing/crossbow @ actions-6816ab39a7
|
@github-actions crossbow submit test-r-clang-sanitizer |
Revision: cb4ecea Submitted crossbow builds: ursacomputing/crossbow @ actions-1cccdf27a2
|
@github-actions crossbow submit test-r-clang-sanitizer |
Revision: 9843835 Submitted crossbow builds: ursacomputing/crossbow @ actions-2d9e138827
|
@@ -28,35 +28,6 @@ For `gcc`, this generally means version 7 or newer. Most contemporary Linux | |||
distributions have a new enough compiler; however, CentOS 7 is a notable | |||
exception, as it ships with gcc 4.8. | |||
|
|||
If you are on CentOS 7, to build arrow you will need to install a newer `devtoolset`, and you'll need to update R's Makevars to define the `CXX17` variables. This script installs `devtoolset-8` and configures R to be able to use C++17: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The note in the paragraph above also mentions CentOS 7.
Maybe we should keep this discussion and say something like, we don't officially support CentOS 7 anymore, but if you want to try building on it, you'll need to:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nods ok yeah, I also like that it leaves a bit of a more obvious breadcrumb trail for folks debugging. I know it's in the git history, but I don't think folks would know to look here in that history necessarily to find out "what do I do with non-standard compiler setups?"
@@ -517,10 +488,6 @@ The install script should work everywhere, so if libarrow fails to compile, | |||
please [report an issue](https://issues.apache.org/jira/projects/ARROW/issues) | |||
so that we can improve the script. | |||
|
|||
### Known installation issues |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similarly, maybe this should stick around in some form since we direct people here for troubleshooting.
@github-actions crossbow submit -g r |
|
To be clear, it seems we are still building libarrow binaries on CentOS 7, at least as of this PR. |
@github-actions crossbow submit -g r |
Revision: 9843835 Submitted crossbow builds: ursacomputing/crossbow @ actions-3ba4bec650 |
@github-actions crossbow submit test-r-arrow-backwards-compatibility |
Revision: 9843835 Submitted crossbow builds: ursacomputing/crossbow @ actions-76bf294813
|
This brings up the whole support thing again... we use centos7 for the old glibc right? Do we just bump to the next non-eol alma/rocky version? |
After merging your PR, Conbench analyzed the 0 benchmarking runs that have been run so far on merge-commit 6d03215. None of the specified runs were found on the Conbench server. The full Conbench report has more details. |
More CI changes: * GitHub Issue: apache#41450 (specifically use the rhub containers approach for clang sanitizer, remove some of our work arounds) * Remove CentOS 7 CI support for R Authored-by: Jonathan Keane <[email protected]> Signed-off-by: Jonathan Keane <[email protected]>
@@ -35,9 +35,6 @@ echo "=== Clear output directories and leftovers ===" | |||
rm -rf ${build_dir} | |||
|
|||
echo "=== Building Arrow C++ libraries ===" | |||
devtoolset_version=$(rpm -qa "devtoolset-*-gcc" --queryformat %{VERSION} | \ | |||
grep -o "^[0-9]*") | |||
devtoolset_include_cpp="/opt/rh/devtoolset-${devtoolset_version}/root/usr/include/c++/${devtoolset_version}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jonkeane Is it expected change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aaaah, I might have been overly aggressive in removing from this file.
I thought we only used the devtoolset_version
on the R CentOS 7 builds and that other places we added that to were borrowing from those and no longer necessary. But if we need to add it back here that's totally fine. Sorry for not confirming that and the hassle.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No problem. :-)
Thanks for confirming this.
…41661) ### Rationale for this change Because #41451 removed devtoolset related flags unexpectedly. ### What changes are included in this PR? Restore devtoolset related flags. ### Are these changes tested? Yes. ### Are there any user-facing changes? No. * GitHub Issue: #41660 Authored-by: Sutou Kouhei <[email protected]> Signed-off-by: Sutou Kouhei <[email protected]>
More CI changes: * GitHub Issue: apache#41450 (specifically use the rhub containers approach for clang sanitizer, remove some of our work arounds) * Remove CentOS 7 CI support for R Authored-by: Jonathan Keane <[email protected]> Signed-off-by: Jonathan Keane <[email protected]>
…AGS (apache#41661) ### Rationale for this change Because apache#41451 removed devtoolset related flags unexpectedly. ### What changes are included in this PR? Restore devtoolset related flags. ### Are these changes tested? Yes. ### Are there any user-facing changes? No. * GitHub Issue: apache#41660 Authored-by: Sutou Kouhei <[email protected]> Signed-off-by: Sutou Kouhei <[email protected]>
More CI changes: * GitHub Issue: apache#41450 (specifically use the rhub containers approach for clang sanitizer, remove some of our work arounds) * Remove CentOS 7 CI support for R Authored-by: Jonathan Keane <[email protected]> Signed-off-by: Jonathan Keane <[email protected]>
More CI changes: