BUG: Add default value for CF_TORCH_CUDA_ARCH_LIST_BACKUP in deactivate.sh#489
Closed
carterbox wants to merge 3 commits into
Closed
BUG: Add default value for CF_TORCH_CUDA_ARCH_LIST_BACKUP in deactivate.sh#489carterbox wants to merge 3 commits into
carterbox wants to merge 3 commits into
Conversation
…6.02.20.18.04.36 Other tools: - conda-build 25.11.1 - rattler-build 0.55.1 - rattler-build-conda-compat 1.4.10
Contributor
|
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( I do have some suggestions for making it better though... For recipe/meta.yaml:
This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/22238508302. Examine the logs at this URL for more detail. |
Member
|
Thanks for the PR. We'll queue this up with the next round of builds. :) |
This was referenced Feb 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Checklist
0(if the version changed)conda-smithy(Use the phrase@conda-forge-admin, please rerenderin a comment in this PR for automated rerendering)As reported here: conda-forge/cuda-nvcc-feedstock#92 and here: conda-forge/ctng-compiler-activation-feedstock#175, conda 26.1 will raise an error if an activate/deactivate script tries to evaluate an unbound environment variable.
In this MR, I add the default value syntax (
:-) to the evaluation ofCF_TORCH_CUDA_ARCH_LIST_BACKUPin the deactivate script such that if the activation script does not set this variable, then the deactivation script will not fail.EDIT: This only seems to occur when
gdbis also in the environment.