Skip to content

Commit

Permalink
Relocate spack.yaml and use just for storing dep versions
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderRichert-NOAA committed Sep 11, 2023
1 parent 94542a7 commit c986f2c
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/Spack_Linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
run: |
git clone -c feature.manyFiles=true https://github.com/spack/spack
. spack/share/spack/setup-env.sh
spack env create grib-util-env
spack env create grib-util-env $GITHUB_WORKSPACE/grib-util/spack/spack.yaml
spack env activate grib-util-env
cp $GITHUB_WORKSPACE/grib-util/spack/package.py $SPACK_ROOT/var/spack/repos/builtin/packages/grib-util/package.py
mv $GITHUB_WORKSPACE/grib-util $SPACK_ENV/grib-util
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Spack_MacOS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
run: |
git clone -c feature.manyFiles=true https://github.com/spack/spack
. spack/share/spack/setup-env.sh
spack env create grib-util-env
spack env create grib-util-env $GITHUB_WORKSPACE/grib-util/spack/spack.yaml
spack env activate grib-util-env
cp $GITHUB_WORKSPACE/grib-util/spack/package.py $SPACK_ROOT/var/spack/repos/builtin/packages/grib-util/package.py
mv $GITHUB_WORKSPACE/grib-util $SPACK_ENV/grib-util
Expand Down
20 changes: 0 additions & 20 deletions ci/spack.yaml

This file was deleted.

20 changes: 20 additions & 0 deletions spack/spack.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Spack environment file to build NCEPLIBS-grib_util dependencies.
#
# Ed Hartnett 12/20/22
spack:
packages:
bacio:
version: ['2.5.0']
w3emc:
version: ['2.10.0']
g2:
version: ['3.4.6']
g2c:
version: ['1.7.0']
sp:
version: ['2.3.3']
ip:
version: ['4.1.0']
view: false
concretizer:
unify: true

0 comments on commit c986f2c

Please sign in to comment.