Skip to content

Commit

Permalink
Install GCC 10
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidHuber-NOAA committed Dec 12, 2024
1 parent b331a75 commit a45865a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/gcc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ defaults:

env:
cache_key: gcc
CC: gcc-12
FC: gfortran-12
CXX: g++-12
CC: gcc-10
FC: gfortran-10
CXX: g++-10

# The jobs are split into:
# 1. a dependency build step (setup), and
Expand Down Expand Up @@ -46,6 +46,7 @@ jobs:
if: steps.cache-env.outputs.cache-hit != 'true'
run: |
sudo apt-get install cmake
sudo apt-get install gcc-10 g++-10 gfortran-10
git clone -c feature.manyFiles=true https://github.com/JCSDA/spack.git
source spack/share/spack/setup-env.sh
spack env create gsi-env gsi/ci/spack.yaml
Expand Down
2 changes: 1 addition & 1 deletion ci/spack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ spack:
all:
compiler:
- intel
- gcc@12
- gcc@10
specs:
- [email protected]
- [email protected]
Expand Down

0 comments on commit a45865a

Please sign in to comment.