fix(build): accept GCC 12 for CUDA 12 compatibility#1019
Merged
Conversation
bf90c9a to
d2ab26e
Compare
e06fca0 to
4d0fecd
Compare
The supraseal build.sh hard-required GCC 13, creating an impossible build situation for CUDA 12.0–12.5 users (nvcc rejects GCC 13, but build.sh rejects GCC 12). The supraseal codebase only uses C++17 features — no GCC 13-specific code. The GCC 13 requirement was a CI environment decision (Ubuntu 24.04 default), not a code requirement. Changes: - build.sh: accept both GCC 12 and GCC 13, prefer 13 then fall back to 12 - supraseal.md: document CUDA/GCC version pairing requirements - installation.md: update dependency notes for GCC 12/13 and CUDA versions CUDA / GCC compatibility (per NVIDIA docs): CUDA 12.0–12.5 → GCC up to 12.x CUDA 12.6+ → GCC up to 13.2 CUDA 13.0+ → GCC 13+
4d0fecd to
df4254c
Compare
Contributor
Author
|
Tested on Ubuntu Server 20.04, 22.04, and 24.04 — builds successfully on all three. GPUs show up correctly in the Curio web UI dashboard after the fix. |
LexLuthr
approved these changes
Feb 18, 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.
Problem
The supraseal
build.shhard-requires GCC 13, creating an impossible build situation for CUDA 12.0–12.5 users:build.shrejects GCC 12, demands 13 → ❌Since supraseal now builds by default on Linux (PR #804), this blocks all CUDA 12.0–12.5 users from building Curio.
Root Cause
The GCC 13 requirement was a CI environment decision (PR #804 moved CI to Ubuntu 24.04 which defaults to GCC 13), not a code requirement. The supraseal codebase uses only C++17 features — fully supported by both GCC 12 and GCC 13.
CUDA / GCC Compatibility (per NVIDIA official docs)
Changes
extern/supraseal/build.sh-ccbindocumentation/en/supraseal.mddocumentation/en/installation.mdDISABLE_SUPRASEAL=1andFFI_USE_OPENCL=1escape hatches