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

cuda_compiler_version missing is blocking staged-recipes #27551

Open
beckermr opened this issue Sep 11, 2024 · 8 comments
Open

cuda_compiler_version missing is blocking staged-recipes #27551

beckermr opened this issue Sep 11, 2024 · 8 comments

Comments

@beckermr
Copy link
Member

We are still seeing this even after the fix from @isuruf.

see this job: https://github.com/conda-forge/admin-requests/actions/runs/10816964320/job/30009292478

cc @carterbox

@isuruf
Copy link
Member

isuruf commented Sep 11, 2024

This looks like a conda-build bug

@carterbox
Copy link
Member

I've added a lot of selectors to avoid trying to use cuda_compiler_version in those recipes. I'm going to remove them from staging so that other recipes can be processed, and I will open a new PR for them.

@carterbox
Copy link
Member

xref: #26580

@carterbox
Copy link
Member

This looks like a conda-build bug

Might be this bug: conda/conda-build#5458. The fix is unreleased.

@carterbox
Copy link
Member

Could try the following approach:

Define a fallback for version: Adding this to line 2 {% set version = version|default("") %}

@carterbox
Copy link
Member

It works to add near the top of the recipe.

{% set cuda_compiler_version = cuda_compiler_version|default("None") %}

@jakirkham
Copy link
Member

This looks like a conda-build bug

Might be this bug: conda/conda-build#5458. The fix is unreleased.

This is now in conda-build 24.9.0

In the few cases I've tested this, it appears to be fixing past issues. Though please let me know what you find from testing

@jakirkham
Copy link
Member

Is there anything still left to do here? Or should we close?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants