| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
All checks were successful
Flatpak / flatpak (push) Successful in 14m29s
6.2.0 makes CUDA sources compile in the Flatpak: crafter-build finds nvcc itself, under CUDA_PATH, /opt/cuda or the host's /usr/local/cuda, or in an absolute entry of PATH, where it used to run whatever the sandbox's PATH gave, which never holds the host's toolkit, and it links that toolkit's static CUDA runtime itself where the toolkit's lib64 holds it. The GPU architecture CUDA sources compile for is configurable and native by default, and a .cu compiles again when a header it includes changes. A minor, by the version rule: the notes have New and Fixes and nothing Breaking, and Jorijn's "6.2.0 is fine" settled it. The default architecture moves from sm_89, which carries its PTX, to native, which carries none, so a program built for native has no PTX for a GPU of a newer architecture. That is under New rather than Breaking because no Flatpak release compiled a .cu with the PATH its manifest sets: each ran a bare nvcc in the sandbox, whose PATH, /app/bin:/usr/bin, holds no toolkit, so a project had to set another PATH itself to compile one. A program for other machines takes another architecture, such as --cuda-arch=all-major, as the notes say. A project that names -lcudart in cfg.linkFlags keeps building, with its shared runtime first on the link line. VariantId changes for no configuration without CUDA sources but one built with --cuda-arch=, which was a project argument and is crafter-build's own now; a configuration with CUDA sources builds once in new bin/ and build/ directories, keyed by its architecture, for native by crafter-build's reading of the machine's GPUs, and by its nvcc. |
||
| .. | ||
| flatpak | ||