mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #1645] setup.sh has no way of specifying gcc version #663
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#663
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @xobs on GitHub (Oct 9, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/1645
When using cuda-12, it has very specific requirements for GCC. It will refuse to compile with any GCC greater than 14.
Modern distros package modern GCC versions, however they frequently provide compatibility binaries. As an example, I have
gcc-14installed as a binary.There doesn't seem to be a way to specify a gcc binary with
setup.sh, and the script and cmake don't think to trygcc-14as a binary.I tried
CXX=g++-14 CUDAHOSTCXX=g++-14 ./setup.sh --cuda 12which got to the last step before dying.This patch got it to compile:
@CC-David-CC commented on GitHub (Oct 9, 2026):
Please confirm my PR fixes this for you
@Niko1221 commented on GitHub (Oct 13, 2026):
Thanks for the report. To keep the tracker current we are closing issues older than three days: 0.1.44 is out with a long list of fixes, and many older reports are covered by it or by 0.1.43.1.
If this still happens on 0.1.44, please leave a comment here with your engine log (and the version line it prints), and we will reopen it. A new issue that links this one works too.