Crafter.Build/implementations
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jorijn van der Graaf c2338d1122
fix(cuda): rebuild a .cu when a header it includes changes
A .cu was compiled again only when it was newer than its object, so one
whose header changed kept the object built from the old header. The C
and C++ paths ask the compiler for a depfile and check every
prerequisite in it; nvcc was left out because its -MD and -MF had never
been run here.

They work with CUDA 13.4 as they do with clang: the depfile lists the
.cu and every header it read, the toolkit's and the system's included.
nvcc puts a space before the rule's colon, which NewestPrerequisite
reads as a target token like any other. An object from before has no
depfile and is compiled once more.
2026-11-11 19:34:52 +01:00
..
Crafter.Build-Agents.cpp feat(agents): write AGENTS.md from a tracked AGENTS.template.md 2026-10-31 16:53:42 +01:00
Crafter.Build-Asset.cpp linting 2026-07-23 01:24:42 +02:00
Crafter.Build-Clang.cpp fix(cuda): rebuild a .cu when a header it includes changes 2026-11-11 19:34:52 +01:00
Crafter.Build-External.cpp feat: install a Flatpak's data under /app/share 2026-11-09 01:55:31 +01:00
Crafter.Build-Flatpak.cpp feat: install a Flatpak's data under /app/share 2026-11-09 01:55:31 +01:00
Crafter.Build-Implementation.cpp fix: recompile the units whose std module was rebuilt in place 2026-10-31 22:59:05 +01:00
Crafter.Build-Interface.cpp fix: decide a build step by its exit code, not by whether it printed 2026-08-26 00:51:15 +00:00
Crafter.Build-Lint.cpp feat: lay an executable out as the files/ of a Flatpak 2026-11-08 22:48:42 +01:00
Crafter.Build-Platform.cpp feat(cuda): make the GPU architecture configurable, native by default 2026-11-11 19:34:52 +01:00
Crafter.Build-Progress.cpp refactor: drop Windows host support 2026-10-02 22:03:34 +02:00
Crafter.Build-Script.cpp fix: rebuild and relink on what changed, submodules at their revisions, and mingw found where it is 2026-10-20 20:20:29 +02:00
Crafter.Build-Shader.cpp fix: rebuild and relink on what changed, submodules at their revisions, and mingw found where it is 2026-10-20 20:20:29 +02:00
Crafter.Build-Test.cpp feat(cuda): make the GPU architecture configurable, native by default 2026-11-11 19:34:52 +01:00
Crafter.Build-Toolchain.cpp feat(cuda): make the GPU architecture configurable, native by default 2026-11-11 19:34:52 +01:00
main.cpp refactor: drop Windows host support 2026-10-02 22:03:34 +02:00