Skip to content
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

Use GCC 13 in CUDA 12 conda builds. #1773

Open
wants to merge 3 commits into
base: branch-25.02
Choose a base branch
from

Conversation

bdice
Copy link
Contributor

@bdice bdice commented Dec 23, 2024

Description

conda-forge is using GCC 13 for CUDA 12 builds. This PR updates CUDA 12 conda builds to use GCC 13, for alignment.

These PRs should be merged in a specific order, see rapidsai/build-planning#129 for details.

Copy link

copy-pr-bot bot commented Dec 23, 2024

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@bdice
Copy link
Contributor Author

bdice commented Dec 23, 2024

/ok to test

@github-actions github-actions bot added the conda label Dec 23, 2024
@bdice bdice added the 5 - DO NOT MERGE Hold off on merging; see PR for details label Dec 23, 2024
@bdice
Copy link
Contributor Author

bdice commented Dec 24, 2024

/ok to test

Comment on lines +10 to +11
- cuda-nvcc # [not os.environ.get("RAPIDS_CUDA_VERSION", "").startswith("11")]
- nvcc # [os.environ.get("RAPIDS_CUDA_VERSION", "").startswith("11")]
Copy link
Contributor Author

@bdice bdice Jan 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is optional -- we could leave it as cuda11_compiler / cuda_compiler and not make the corresponding change in meta.yaml (leave {{ compiler('cuda11') }} in place).

The plus side of doing this is that it slightly simplifies the ignore_run_exports_from logic so it's no longer conditional on major versions.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this change, keeping more of the future compiler-version churn concentrated in the git blame in conda_build_config.yaml.

@bdice bdice marked this pull request as ready for review January 2, 2025 22:06
@bdice bdice requested a review from a team as a code owner January 2, 2025 22:06
@bdice bdice requested a review from KyleFromNVIDIA January 2, 2025 22:06
Copy link
Member

@jameslamb jameslamb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This approach looks good to me.

But I also support the idea you mentioned offline, of starting from the leaves of the RAPIDS dependency tree (e.g. cugraph) and working backwards... so not actually merging this rmm PR until everything downstream (within RAPIDS) has updated. I'm intentionally just leaving a "comment" instead of "approve" review for that reason... @ me any time we're ready to really merge this.

On that same subject... I think we'll also need changes for the compiler pins in dependencies.yaml, used for local development (including with devcontainers). I put up rapidsai/build-planning#129 (comment) with some thoughts on that.

@bdice bdice changed the title Use GCC 13 in CUDA 12 builds. Use GCC 13 in CUDA 12 conda builds. Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5 - DO NOT MERGE Hold off on merging; see PR for details conda
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants