-
Notifications
You must be signed in to change notification settings - Fork 925
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
Update build system and docs to new minimum cudf-0.20 requirements #7780
Update build system and docs to new minimum cudf-0.20 requirements #7780
Conversation
Can we include updating to C++17 with this change? |
Will do. |
2a8a42b
to
468ecfc
Compare
It is expected that all the builds won't pass since we still have CUDA 10.1 and 10.2 testers |
Will this PR include update to those CI testers as well? |
Currently working on how to update CI |
@robertmaynard can you confirm this will also resolve #7695 ? |
CUDA 11.0 supports Ubuntu 18.0, where the default compiler is GCC 8.x. GCC 8.x supports C++17. So shouldn't our min GCC be 8.x, not 9.x? https://docs.nvidia.com/cuda/archive/11.0/cuda-installation-guide-linux/index.html |
I believe not all C++17 features are supported until GCC 9.x. Additionally, conda uses gcc 9.3.0 for everything which means it's not safe for us to mix gcc 8 and conda in CI. |
According to https://gcc.gnu.org/projects/cxx-status.html everything in the C++17 standard is covered by GCC 8. Conda may require the packages to be built with a GCC 9.3.0 toolchain, but it would be very nice to not force 9.3.0 on everyone else as a result if all we really care about source-wise is C++17 compliance. |
I may be misremembering a discussion we had surrounding this where it may have been gcc 7 vs 8 instead of 8 vs 9. If we set our minimum version to gcc 8 that works for me. |
|
Damn. That would be nice. BTW, for reference https://en.cppreference.com/w/cpp/compiler_support |
The question is whether our non-conda users are going to complain about upgrading their compiler. |
I believe we've required gcc 7.x for a while now which required installing an updated compiler on CentOS and Ubuntu 16.04. We got a few one off issues here and there related to compiler versions, but nothing significant. I suspect we're going to get much more backlash from dropping CUDA 10.x. |
In GCC 8, the |
It does fix the documentation being out of date, but not in the ideal way ( a single central RAPIDS requirements doc ). |
The fact that both |
rerun tests |
1 similar comment
rerun tests |
fbc0b5c
to
71be28e
Compare
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.
CMake / docs lgtm
Given that the requirements of CUDA version and min compiler version have both changed, should we mark this as a breaking 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.
Upgraded NVIDIA drivers/CUDA and pulled down changes and got this PR / branch-0.20 building 👍
Rerun tests. |
33b3552
to
d6132a8
Compare
Looks like a single consistent failure of:
Which seems to be independent of these changes. |
Looks #7892 addresses that issue. So once that is merged in I will rebase this |
Starting with rmm-0.20 the minimum allowed C++ and CUDA language level is C++17, and GCC-9.
d6132a8
to
faea028
Compare
Codecov Report
@@ Coverage Diff @@
## branch-0.20 #7780 +/- ##
===============================================
+ Coverage 82.30% 82.74% +0.44%
===============================================
Files 101 103 +2
Lines 17053 17721 +668
===============================================
+ Hits 14035 14663 +628
- Misses 3018 3058 +40
Continue to review full report at Codecov.
|
@gpucibot merge |
…#1552) Close #1528 Following cuDF (rapidsai/cudf#7780) cugraph-0.20 increase the minimum requirements in the following way: GCC version 9.3+ is required CUDA and C++ code now is compiled with -std=c++17 We require CUDA Toolkit version 11.0 or greater This updates the build-system and the README with these new requirements Authors: - Seunghwa Kang (https://github.com/seunghwak) Approvers: - Chuck Hastings (https://github.com/ChuckHastings) - AJ Schmidt (https://github.com/ajschmidt8) - Brad Rees (https://github.com/BradReesWork) URL: #1552
cudf-0.20 increase the minimum requirements in the following way:
-std=c++17
This updates the build-system and the README with these new requirements