Skip to content

Commit

Permalink
Update spack_build.yml to specify cmake requirements for all packages…
Browse files Browse the repository at this point in the history
…, and re-enable build cache
  • Loading branch information
cameronrutherford authored Nov 7, 2024
1 parent ac20b3d commit 4315931
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/spack_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ jobs:
cat << EOF > spack.yaml
spack:
specs:
- ${{ matrix.spack_spec }} ^openblas ^cmake~qtgui~ncurses ^libevent~openssl target=x86_64_v2
- ${{ matrix.spack_spec }} ^libevent~openssl target=x86_64_v2
concretizer:
reuse: dependencies
config:
Expand All @@ -141,10 +141,15 @@ jobs:
padded_length: False
mirrors:
local-buildcache: oci://${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
# spack: https://binaries.spack.io/develop
spack: https://binaries.spack.io/develop
packages:
all:
require: "%gcc"
# https://spack.readthedocs.io/en/latest/packages_yaml.html#setting-requirements-on-virtual-specs
blas:
require: "openblas"
cmake:
require: "~qtgui~ncurses"
EOF
- name: Configure GHCR mirror
Expand Down

0 comments on commit 4315931

Please sign in to comment.