Skip to content

NEW: Add tegra variant for CUDA 12.9#151

Merged
carterbox merged 5 commits intoconda-forge:mainfrom
carterbox:tegra
Feb 5, 2026
Merged

NEW: Add tegra variant for CUDA 12.9#151
carterbox merged 5 commits intoconda-forge:mainfrom
carterbox:tegra

Conversation

@carterbox
Copy link
Copy Markdown
Member

@carterbox carterbox commented Dec 30, 2025

Checklist

  • Used a personal fork of the feedstock to propose changes
  • Bumped the build number (if the version is unchanged)
  • Reset the build number to 0 (if the version changed)
  • Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
  • Ensured the license file is being packaged.

Depends on:
conda-forge/cuda-nvcc-feedstock#90
conda-forge/cuda-nvcc-feedstock#88
conda-forge/cuda-nvcc-feedstock#87

@carterbox carterbox requested review from a team, jakirkham and leofang as code owners December 30, 2025 19:17
@conda-forge-admin
Copy link
Copy Markdown
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 (recipe/meta.yaml) and found it was in an excellent condition.

Copy link
Copy Markdown
Member

@jakirkham jakirkham left a comment

Choose a reason for hiding this comment

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

Thanks Daniel! 🙏

Had one comment below

Otherwise LGTM

recipe/build.sh Outdated
Comment on lines +10 to +36
# Convert CUDAARCHS to NVCC_GENCODE if available
if [[ -n "${CUDAARCHS}" ]]; then
NVCC_GENCODE=""
IFS=';' read -ra ARCHS <<< "$CUDAARCHS"
for arch_spec in "${ARCHS[@]}"; do
# Remove any leading/trailing whitespace
arch_spec=$(echo "$arch_spec" | xargs)

# Parse architecture number and suffix (e.g., "87-real", "101f-virtual")
if [[ "$arch_spec" =~ ^([0-9]+)([a-z]*)-(real|virtual)$ ]]; then
arch_num="${BASH_REMATCH[1]}"
arch_suffix="${BASH_REMATCH[2]}"
code_type="${BASH_REMATCH[3]}"

# Build the full architecture string with suffix if present
full_arch="${arch_num}${arch_suffix}"

if [[ "$code_type" == "real" ]]; then
NVCC_GENCODE="${NVCC_GENCODE} -gencode=arch=compute_${full_arch},code=sm_${full_arch}"
elif [[ "$code_type" == "virtual" ]]; then
NVCC_GENCODE="${NVCC_GENCODE} -gencode=arch=compute_${arch_num},code=compute_${arch_num}"
fi
fi
done
# Trim leading space
export NVCC_GENCODE="${NVCC_GENCODE# }"
fi
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Discussed this block with Daniel offline, our plan is to move this into the nvcc feedstock as another variable

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@conda-forge-admin
Copy link
Copy Markdown
Contributor

Hi! This is the friendly automated conda-forge-linting service.

I was trying to look for recipes to lint for you, but it appears we have a merge conflict. Please try to merge or rebase with the base branch to resolve this conflict.

Please ping the 'conda-forge/core' team (using the @ notation in a comment) if you believe this is a bug.

@jakirkham
Copy link
Copy Markdown
Member

@conda-forge-admin , please re-render

@conda-forge-admin
Copy link
Copy Markdown
Contributor

Hi! This is the friendly automated conda-forge-webservice.

I tried to rerender for you, but it looks like there was nothing to do.

This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/20972777469. Examine the logs at this URL for more detail.

@conda-forge-admin
Copy link
Copy Markdown
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 (recipe/meta.yaml) and found it was in an excellent condition.

@carterbox carterbox marked this pull request as draft February 3, 2026 18:15
@carterbox carterbox marked this pull request as ready for review February 4, 2026 01:04
@carterbox carterbox closed this Feb 4, 2026
@carterbox carterbox reopened this Feb 4, 2026
@jakirkham
Copy link
Copy Markdown
Member

Thanks Daniel! 🙏

Most of the logs look reasonable so far

Did spot the following in this log:

NVCC_GENCODE is -gencode=arch=compute_75,code=sm_75 -gencode=arch=compute_80,code=sm_80 -gencode=arch=compute_90,code=sm_90 -gencode=arch=compute_100,code=sm_100 -gencode=arch=compute_120,code=sm_120 -gencode=arch=compute_110,code=sm_110 -gencode=arch=compute_120,code=compute_120

This appears to be missing things like 120a and 121f, which we added: conda-forge/cuda-nvcc-feedstock#88

Also seeing this in the same log

    - cuda-nvcc_linux-64 13.1.115 hb2fc203_0

It looks like we may still be picking up the old compiler builds in some cases

Could you please double check?

@carterbox
Copy link
Copy Markdown
Member Author

Good catch! There's a bug in the nvcc feedstock such that the build number did not increase.

@jakirkham
Copy link
Copy Markdown
Member

Thanks Daniel! 🙏

Looks like those are now up. Let's give this another try

@conda-forge-admin please restart CI

@carterbox carterbox merged commit 19f273d into conda-forge:main Feb 5, 2026
8 checks passed
@carterbox carterbox deleted the tegra branch February 5, 2026 19:29
@jakirkham
Copy link
Copy Markdown
Member

Thanks Daniel! 🙏

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants