llvm
13c23bf3 - [sycl-jit] Fix missing build rule for resource-shard-*.cpp with Makefiles generator (#22848)

Commit
69 days ago
[sycl-jit] Fix missing build rule for resource-shard-*.cpp with Makefiles generator (#22848) The generated resource-shard-N.cpp files were declared as BYPRODUCTS of the generate.py custom command rather than OUTPUT. CMake's Unix/ NMake Makefiles generators don't emit build rules for BYPRODUCTS (unlike Ninja, which tracks byproducts as first-class outputs), so a fresh build fails with "No rule to make target 'resource-shard-0.cpp'". Moving the shard files into OUTPUT gives Make a proper rule to produce them alongside resource.cpp. Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
Author
Parents
Loading