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

cudaPackages.setupCudaHook: prevent builds with unsupported host compilers #370879

Open
doronbehar opened this issue Jan 4, 2025 · 0 comments
Open
Labels
6.topic: cuda Parallel computing platform and API

Comments

@doronbehar
Copy link
Contributor

After first encountering this seemingly upstream issue:

And further on in this downstream discussion, we reached the conclusion that for every package using cudaPackages.cudatoolkit, (and perhaps other packages from cudaPackages?) we should help users avoid build errors with GCC > 13, that are not very understandable, by instructing them to use cudaPackages.backendStdenv.

cc @NixOS/cuda-maintainers .

@SomeoneSerge SomeoneSerge changed the title Add a setup hook to cudaPackages.cudatoolkit to avoid build errors with a gcc --version lower then cudaPackages.backendStdenv.cc.version cudaPackages.setupCudaHook: prevent builds with unsupported host compilers Jan 4, 2025
@SomeoneSerge SomeoneSerge added the 6.topic: cuda Parallel computing platform and API label Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: cuda Parallel computing platform and API
Projects
Status: New
Development

No branches or pull requests

2 participants