Skip to content

Commit 3109531

Browse files
Update GCC version for Linux builds (v13 removed from Ubuntu 22.04 in 20240514.2.1)
See actions/runner-images@cfcc1c6.
1 parent b7c9f62 commit 3109531

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/build-and-test-linux-aarch64.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,12 @@ jobs:
7575
if [[ "${{ matrix.compiler }}" == 'clang' ]]; then
7676
export CC=clang
7777
export CXX=clang++
78-
export FC=gfortran-13
78+
export FC=gfortran-12
7979
export LDFLAGS='-fuse-ld=lld'
8080
elif [[ "${{ matrix.compiler }}" == 'gcc' ]]; then
81-
export CC=gcc-13
82-
export CXX=g++-13
83-
export FC=gfortran-13
81+
export CC=gcc-12
82+
export CXX=g++-12
83+
export FC=gfortran-12
8484
fi
8585
if [[ "${{ matrix.math-libs }}" == 'armpl' ]]; then
8686
export ARMPL_DIR=/opt/arm/armpl_22.0.2_gcc-11.2

.github/workflows/build-and-test-linux.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,12 +160,12 @@ jobs:
160160
elif [[ "${{ matrix.compiler }}" == 'clang' ]]; then
161161
export CC=clang
162162
export CXX=clang++
163-
export FC=gfortran-13
163+
export FC=gfortran-12
164164
export LDFLAGS='-fuse-ld=lld'
165165
elif [[ "${{ matrix.compiler }}" == 'gcc' ]]; then
166-
export CC=gcc-13
167-
export CXX=g++-13
168-
export FC=gfortran-13
166+
export CC=gcc-12
167+
export CXX=g++-12
168+
export FC=gfortran-12
169169
fi
170170
if [[ "${{ matrix.math-libs }}" == 'aocl' ]]; then
171171
export AOCLROOT=/opt/AMD/aocl/aocl-linux-gcc-4.1.0/gcc

0 commit comments

Comments
 (0)