fix(build): honor GPU_DRIVER from the environment (Sam & Claude) #32
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "fix-gpu-driver-env"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.shwassilently 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
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>