-
Notifications
You must be signed in to change notification settings - Fork 28
feat: switch GDX builds to official NVIDIA repository with ARM64 support #814
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
Conversation
Co-authored-by: hanthor <[email protected]>
| fi | ||
|
|
||
| dnf config-manager --add-repo="https://developer.download.nvidia.com/compute/cuda/repos/rhel10/${NVIDIA_ARCH}/cuda-rhel10.repo" | ||
| dnf config-manager --set-disabled "cuda-rhel10" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The repo name is
name=cuda-rhel10-sbsa
curl https://developer.download.nvidia.com/compute/cuda/repos/rhel10/sbsa/cuda-rhel10.repo
[cuda-rhel10-sbsa]
name=cuda-rhel10-sbsa
baseurl=https://developer.download.nvidia.com/compute/cuda/repos/rhel10/sbsa
enabled=1
gpgcheck=1
gpgkey=https://developer.download.nvidia.com/compute/cuda/repos/rhel10/sbsa/CDF6BA43.pub
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in 05ee34e. Updated all repository references to use cuda-rhel10-${NVIDIA_ARCH} which correctly maps to cuda-rhel10-x86_64 for x86_64 and cuda-rhel10-sbsa for aarch64.
|
@copilot looks like the nvidia repo name has -$nvidia_arch appended |
Co-authored-by: hanthor <[email protected]>
Remove sed command and kernel.conf output.
|
Documentation Updates 1 document(s) were updated by changes in this PR: bluefin |
Fixes #536
Investigation and Fix for GDX ARM64 Build Failure
build_scripts/overrides/gdx/20-nvidia.shuses negativo17 repo which doesn't support aarch64Problem Analysis
The GDX (GPU Developer Experience) variant was failing to build on ARM64 architecture because:
Solution Implemented
Switched to the official NVIDIA CUDA repository which provides full multi-architecture support:
File Modified:
build_scripts/overrides/gdx/20-nvidia.shKey Changes:
uname -mnegativo17.org/repos/epel-nvidia.repoto officialdeveloper.download.nvidia.com/compute/cuda/repos/rhel10/cuda-rhel10-${NVIDIA_ARCH}Architecture Mapping:
x86_64→ repo name:cuda-rhel10-x86_64, URL:https://developer.download.nvidia.com/compute/cuda/repos/rhel10/x86_64/aarch64→ repo name:cuda-rhel10-sbsa, URL:https://developer.download.nvidia.com/compute/cuda/repos/rhel10/sbsa/Validation
✅ Shellcheck validation passed
✅ No breaking changes to existing x86_64 builds
✅ All package installations maintained
✅ All configurations preserved
✅ Minimal surgical changes
✅ Correct repository names with architecture suffix
Next Steps
The changes will be validated by CI builds for both x86_64 and aarch64 platforms to confirm the fix resolves the ARM64 build failures.
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.