From 5ac331bcf87064bc353b09c58c10631f03239f48 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Fri, 14 Jun 2024 15:37:19 +0200 Subject: [PATCH] update gcc version to 13 --- .github/workflows/arm64_graviton.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/arm64_graviton.yml b/.github/workflows/arm64_graviton.yml index 6928312b56..7413622001 100644 --- a/.github/workflows/arm64_graviton.yml +++ b/.github/workflows/arm64_graviton.yml @@ -25,7 +25,7 @@ jobs: strategy: fail-fast: false matrix: - fortran: [gfortran] + fortran: [gfortran-13] build: [cmake, make] steps: @@ -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 @@ -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 @@ -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 \