Skip to content

build: add gpu-enabled shell to nix flake - #2481

Open
tlovell-sxt wants to merge 4 commits into
mainfrom
build/gpu-flake
Open

tlovell-sxt wants to merge 4 commits into
mainfrom
build/gpu-flake

Conversation

@tlovell-sxt

Copy link
Copy Markdown
Contributor

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?

  • build: add gpu-enabled shell to nix flake
  • docs: update README.md to include instructions for nix flake

Are these changes tested?

These changes do not affect existing functionality, which should be verified by existing tests.

@codecov

codecov Bot commented Jun 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.45%. Comparing base (84e0936) to head (f88af1f).
⚠️ Report is 12 commits behind head on main.

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.
@github-actions

Copy link
Copy Markdown

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.

@github-actions github-actions Bot added stale and removed stale labels Aug 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants