Skip to content

Commit

Permalink
update gcc version to 13
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-frbg authored Jun 14, 2024
1 parent dd7efcf commit 5ac331b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/arm64_graviton.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
strategy:
fail-fast: false
matrix:
fortran: [gfortran]
fortran: [gfortran-13]
build: [cmake, make]

steps:
Expand All @@ -45,7 +45,7 @@ jobs:
run: |
if [ "$RUNNER_OS" == "Linux" ]; then
sudo apt update
sudo apt-get install -y gfortran cmake ccache libtinfo5
sudo apt-get install -y gfortran-13 cmake ccache libtinfo5
else
echo "::error::$RUNNER_OS not supported"
exit 1
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:
run: |
case "${{ matrix.build }}" in
"make")
make -j$(nproc) DYNAMIC_ARCH=1 USE_OPENMP=0 FC="ccache ${{ matrix.fortran }}"
make -j$(nproc) DYNAMIC_ARCH=1 USE_OPENMP=0 CC=gcc-13 FC="ccache ${{ matrix.fortran }}"
;;
"cmake")
mkdir build && cd build
Expand All @@ -97,6 +97,7 @@ jobs:
-DBUILD_WITHOUT_LAPACK=0 \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_COMPILER=gcc-13 \
-DCMAKE_Fortran_COMPILER=${{ matrix.fortran }} \
-DCMAKE_C_COMPILER_LAUNCHER=ccache \
-DCMAKE_Fortran_COMPILER_LAUNCHER=ccache \
Expand Down

0 comments on commit 5ac331b

Please sign in to comment.