Skip to content

Commit a1ba19b

Browse files
authored
add targets for more consistent caching
1 parent 959eb3f commit a1ba19b

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/github_cmake_nvhpc.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ jobs:
2525
uses: spack/setup-spack@v3.0.0
2626
with:
2727
buildcache: true
28+
spack_ref: releases/v1.1.1
29+
paackages_ref: v2026.03.0
2830
- name: Set up custom build cache and build compiler
2931
run: |
3032
spack mirror add \
@@ -33,11 +35,11 @@ jobs:
3335
--oci-password-variable REGISTRY_TOKEN \
3436
rem-gh-cache oci://ghcr.io/rem1776/ci-cache-ubuntu
3537
spack compiler find
36-
spack install nvhpc
38+
spack install nvhpc target=x86_64
3739
- name: Install dependencies
3840
run: |
3941
spack compiler find
40-
spack install netcdf-fortran %nvhpc mpich %nvhpc libyaml %nvhpc
42+
spack install netcdf-fortran%nvhpc mpich%nvhpc libyaml%nvhpc target=x86_64
4143
- name: Configure
4244
run: |
4345
. /home/runner/work/FMS/FMS/spack/share/spack/setup-env.sh

0 commit comments

Comments
 (0)