From 4cc3489afdaa03e899cdd35e7ff752418b73887b Mon Sep 17 00:00:00 2001 From: Chris Bieneman Date: Fri, 18 Apr 2025 14:43:14 -0500 Subject: [PATCH 1/2] Update azure pipelines to gcc-12/g++-12 The new `ubuntu-latest` image based on Ubuntu 24.04 has gcc-12 and does not have gcc-9. This updates to a more recent gcc. Note: while the Azure images have gcc-14 as well, I've chosen gcc-12 because it is the latest version of gcc available in 24.04's apt repositories. To get newer versions you need to poke at external apt repositories. --- azure-pipelines.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 33c5349f9e..b9f48825d3 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -73,13 +73,13 @@ stages: Linux_Gcc_Release: image: ${{ variables.linux }} configuration: Release - CC: gcc-9 - CXX: g++-9 + CC: gcc-12 + CXX: g++-12 Linux_Gcc_Debug: image: ${{ variables.linux }} configuration: Debug - CC: gcc-9 - CXX: g++-9 + CC: gcc-12 + CXX: g++-12 MacOS_Clang_Release: image: ${{ variables.macOS }} configuration: Release From 82d786c554e131325e596f7708faa95ea047ad63 Mon Sep 17 00:00:00 2001 From: Chris Bieneman Date: Fri, 18 Apr 2025 15:50:49 -0500 Subject: [PATCH 2/2] Try gcc-14... On a clean ubuntu 24.04 I have gcc 13 and 14 working locally... --- azure-pipelines.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index b9f48825d3..5315a3ffc5 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -73,13 +73,13 @@ stages: Linux_Gcc_Release: image: ${{ variables.linux }} configuration: Release - CC: gcc-12 - CXX: g++-12 + CC: gcc-14 + CXX: g++-14 Linux_Gcc_Debug: image: ${{ variables.linux }} configuration: Debug - CC: gcc-12 - CXX: g++-12 + CC: gcc-14 + CXX: g++-14 MacOS_Clang_Release: image: ${{ variables.macOS }} configuration: Release