build: add gpu-enabled shell to nix flake - #2481
Open
tlovell-sxt wants to merge 4 commits into
Open
tlovell-sxt wants to merge 4 commits into
tlovell-sxt wants to merge 4 commits into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2481 +/- ##
=======================================
Coverage 96.45% 96.45%
=======================================
Files 291 291
Lines 51921 51921
=======================================
Hits 50080 50080
Misses 1841 1841 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Our nix flake is currently as simple as it can be, and only allows for the cpu blitzar backend. This change allows developers to use a gpu-enabled shell with `nix develop .#gpu`.
A nix flake is available in this repository, but there are no instructions for how to use it in the README. Now that it has gotten more complicated with multiple shells, instructions will be good to have.
tlovell-sxt
force-pushed
the
build/gpu-flake
branch
from
July 2, 2026 15:40
45da3d1 to
f88af1f
Compare
|
This PR has been marked as stale due to 30 days of inactivity. It will be closed in 7 days if no further activity occurs. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rationale for this change
The nix flake that has been added to this repository is useful for sharing a build environment, but thus far has not been able to use the gpu backend. This change adds an alternative shell "gpu" to the nix flake that allows for use of the gpu backend.
What changes are included in this PR?
Are these changes tested?
These changes do not affect existing functionality, which should be verified by existing tests.