fix(build): honor GPU_DRIVER from the environment (Sam & Claude) #32

Merged
clawdie merged 1 commit from fix-gpu-driver-env into main 2026-06-04 23:20:43 +02:00

1 commit

Author SHA1 Message Date
Sam & Claude
3491f532a2 fix(build): honor GPU_DRIVER from the environment (Sam & Claude)
build.cfg hard-set GPU_DRIVER="" , and build.sh sources build.cfg after the
environment is already set, so `env GPU_DRIVER=nvidia-590 ./build.sh` was
silently clobbered to "" (no NVIDIA branch baked). There is no --gpu-driver
flag in build.sh, so the environment is the only way to set it.

Use GPU_DRIVER="${GPU_DRIVER:-}" so an env value is honored; default stays "".
Verified: env nvidia-590 -> nvidia-590; no env -> "". Replaces the
detached-worktree workaround applied during the live build.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-04 23:03:31 +02:00