• 6.2.0 5b75df3b19

    crafter-build 6.2.0
    All checks were successful
    Flatpak / flatpak (push) Successful in 14m29s
    Stable

    jorijnvdgraaf released this 2026-11-11 19:18:33 +00:00 | 43 commits to master since this release

    Signed by jorijnvdgraaf
    GPG key ID: 2937E59CDCC1BCFB

    New

    • CUDA sources compile for the GPU architecture cfg.cudaArch names, nvcc's -arch, which --cuda-arch= and CRAFTER_BUILD_CUDA_ARCH set where project.cpp calls ApplyStandardArgs. It defaults to native, the GPUs of the machine that builds, as march defaults to its CPU; it was sm_89 for every build. A program built for native carries no PTX for newer GPUs, so build one that runs elsewhere with --cuda-arch=all-major; crafter-build bundle warns of a bundle whose CUDA code is built for native. Another architecture builds in a directory of its own, and so does native on other GPUs. The README's new CUDA section has the details.
    • A configuration with CUDA sources links the static CUDA runtime of the toolkit whose nvcc compiles them, where the toolkit's lib64 holds it, and so does whatever is built on it: cfg.linkFlags then needs no -lcudart and no path into the toolkit, which inside the Flatpak lies under /run/host for the host's /usr/local/cuda. crafter-build --version prints it next to nvcc.

    Fixes

    • CUDA sources compile in the Flatpak. With the PATH its manifest sets, every build with cfg.cuda there stopped at nvcc: command not found, because that PATH does not hold the host's toolkit. crafter-build now looks for nvcc itself: in $CUDA_PATH/bin, else in /opt/cuda/bin or the host's /usr/local/cuda/bin, else in an absolute entry of PATH. A build that finds none says where it looked, and crafter-build --version prints the one it found.
    • A .cu compiles again when a header it includes changes, as a C or C++ source does. It used to compile again only when the .cu itself changed, and kept the object built from the old header.
    Downloads