Skip to content

Set correct compiler feature for generate_ctest_json#802

Merged
AyodeAwe merged 2 commits intorapidsai:branch-25.04from
KyleFromNVIDIA:fix-generate-resource-spec-std
Mar 24, 2025
Merged

Set correct compiler feature for generate_ctest_json#802
AyodeAwe merged 2 commits intorapidsai:branch-25.04from
KyleFromNVIDIA:fix-generate-resource-spec-std

Conversation

@KyleFromNVIDIA
Copy link
Copy Markdown
Member

Description

Since rapidsai/shared-workflows#306, we now build and test with CUDA 11.4 and GCC 10, which does not use C++17 by default. To get the CUDA compiler to set C++17, we need to specify cuda_std_17. Fix how the compiler feature is set in CMake.

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.
  • The cmake-format.json is up to date with these changes.
  • I have added new files under rapids-cmake/
    • I have added include guards (include_guard(GLOBAL))
    • I have added the associated docs/ rst file and update the api.rst

Since rapidsai/shared-workflows#306, we
now build and test with CUDA 11.4 and GCC 10, which does not use
C++17 by default. To get the CUDA compiler to set C++17, we need to
specify `cuda_std_17`. Fix how the compiler feature is set in CMake.
@KyleFromNVIDIA KyleFromNVIDIA requested a review from a team as a code owner March 24, 2025 14:54
@KyleFromNVIDIA KyleFromNVIDIA added bug Something isn't working non-breaking Introduces a non-breaking change labels Mar 24, 2025
@AyodeAwe AyodeAwe merged commit b415bfb into rapidsai:branch-25.04 Mar 24, 2025
19 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working non-breaking Introduces a non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants