From 68a3570562e8547ec17fc4ce1442a30557f8f7f1 Mon Sep 17 00:00:00 2001 From: Sebastian Grimberg Date: Tue, 30 Apr 2024 16:41:47 -0700 Subject: [PATCH] Update compiler versions for Github Actions --- .github/workflows/build-and-test-linux-aarch64.yml | 8 ++++---- .github/workflows/build-and-test-linux.yml | 8 ++++---- .github/workflows/build-and-test-macos.yml | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build-and-test-linux-aarch64.yml b/.github/workflows/build-and-test-linux-aarch64.yml index 34268d104..6c7250ef2 100644 --- a/.github/workflows/build-and-test-linux-aarch64.yml +++ b/.github/workflows/build-and-test-linux-aarch64.yml @@ -76,12 +76,12 @@ jobs: if [[ "${{ matrix.compiler }}" == 'clang' ]]; then export CC=clang export CXX=clang++ - export FC=gfortran-11 + export FC=gfortran-13 export LDFLAGS='-fuse-ld=lld' elif [[ "${{ matrix.compiler }}" == 'gcc' ]]; then - export CC=gcc-11 - export CXX=g++-11 - export FC=gfortran-11 + export CC=gcc-13 + export CXX=g++-13 + export FC=gfortran-13 fi export NUM_PROC_BUILD=$(nproc 2> /dev/null || sysctl -n hw.ncpu) if [[ "$NUM_PROC_BUILD" -gt "$NUM_PROC_BUILD_MAX" ]]; then diff --git a/.github/workflows/build-and-test-linux.yml b/.github/workflows/build-and-test-linux.yml index f850c4cfd..8fc36a039 100644 --- a/.github/workflows/build-and-test-linux.yml +++ b/.github/workflows/build-and-test-linux.yml @@ -160,12 +160,12 @@ jobs: elif [[ "${{ matrix.compiler }}" == 'clang' ]]; then export CC=clang export CXX=clang++ - export FC=gfortran-12 + export FC=gfortran-13 export LDFLAGS='-fuse-ld=lld' elif [[ "${{ matrix.compiler }}" == 'gcc' ]]; then - export CC=gcc-12 - export CXX=g++-12 - export FC=gfortran-12 + export CC=gcc-13 + export CXX=g++-13 + export FC=gfortran-13 fi if [[ "${{ matrix.math-libs }}" == 'aocl' ]]; then export AOCLROOT=/opt/AMD/aocl/aocl-linux-gcc-4.1.0/gcc diff --git a/.github/workflows/build-and-test-macos.yml b/.github/workflows/build-and-test-macos.yml index e151ace98..0f651fbf9 100644 --- a/.github/workflows/build-and-test-macos.yml +++ b/.github/workflows/build-and-test-macos.yml @@ -77,11 +77,11 @@ jobs: if [[ "${{ matrix.compiler }}" == 'clang' ]]; then export CC=$(brew --prefix llvm@15)/bin/clang export CXX=$(brew --prefix llvm@15)/bin/clang++ - export FC=gfortran-12 + export FC=gfortran-13 elif [[ "${{ matrix.compiler }}" == 'gcc' ]]; then - export CC=gcc-12 - export CXX=g++-12 - export FC=gfortran-12 + export CC=gcc-13 + export CXX=g++-13 + export FC=gfortran-13 fi if [[ "${{ matrix.math-libs }}" == 'openblas' ]]; then export OPENBLAS_DIR=/usr/local/opt/openblas