Skip to content

Commit

Permalink
start with spack example
Browse files Browse the repository at this point in the history
  • Loading branch information
Marmaduke Woodman committed Apr 17, 2024
1 parent a95104c commit 2299076
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/spack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Set up Spack
uses: spack/setup-spack@v2
with:
ref: develop # Spack version (examples: develop, releases/v0.21)
buildcache: true # Configure oci://ghcr.io/spack/github-actions-buildcache
color: true # Force color output (SPACK_COLOR=always)
path: spack # Where to clone Spack

- run: spack install py-jax

- run: spack load py-jax && python -c 'import jax.numpy as jp; print(jp.zeros(8).device)'
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 2299076

Please sign in to comment.