deploy: require nvcc at build time #32

Merged
grenade merged 1 commits from ci/deploy-require-cuda into main 2026-09-14 17:18:13 +00:00
Owner

The build script's "nvcc not found; CUDA kernel not compiled into this binary" warning seen in ci.yml's test job (run 78) is expected there: the rust runner has no nvcc and that job only lints and tests. For the deploy build on cuda-13.0 the same degradation would ship a wgpu-fallback binary and only fail at validate on the hosts. MINER_CUDA_REQUIRE=1 makes it a build failure instead, before any host is touched; release.yaml already sets it.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Ue5ZZm1Hiv5zPnucykKKuF

The build script's "nvcc not found; CUDA kernel not compiled into this binary" warning seen in ci.yml's test job (run 78) is expected there: the `rust` runner has no nvcc and that job only lints and tests. For the deploy build on cuda-13.0 the same degradation would ship a wgpu-fallback binary and only fail at validate on the hosts. `MINER_CUDA_REQUIRE=1` makes it a build failure instead, before any host is touched; release.yaml already sets it. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01Ue5ZZm1Hiv5zPnucykKKuF
grenade added 1 commit 2026-09-14 17:10:18 +00:00
deploy: require nvcc at build time
All checks were successful
ci / fmt (pull_request) Successful in 19s
ci / clippy (pull_request) Successful in 1m46s
ci / doc (pull_request) Successful in 2m0s
ci / test (pull_request) Successful in 6m50s
6e300d537c
The CUDA build script warns and embeds an empty kernel when nvcc is
absent, which is right for the rust runner's test job and wrong for a
deploy build. MINER_CUDA_REQUIRE=1 turns that into a build failure
before any host is touched; the release workflow already sets it.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ue5ZZm1Hiv5zPnucykKKuF
grenade merged commit 2160ed63eb into main 2026-09-14 17:18:13 +00:00
grenade deleted branch ci/deploy-require-cuda 2026-09-14 17:18:14 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: blackbeard/miner#32