From a05124176d8869962b717a3557c383406f8c76f4 Mon Sep 17 00:00:00 2001 From: Roman Grundkiewicz Date: Fri, 9 Apr 2021 18:44:11 +0000 Subject: [PATCH] Merged PR 18531: Install GCC in Azure pipelines This fixes Azure pipelines after recent changes in Azure-hosted runners removing GCC 8 and older on some Ubuntu images. GCC is now installed explicitly via `apt-get`. --- azure-pipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index a32a82884..dfed6ab40 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -235,11 +235,11 @@ stages: # The following packages are already installed on Azure-hosted runners: build-essential openssl libssl-dev # No need to install libprotobuf{17,10,9v5} on Ubuntu {20,18,16}.04 because it is installed together with libprotobuf-dev - - bash: sudo apt-get install -y libgoogle-perftools-dev libprotobuf-dev protobuf-compiler + # GCC 8 and lower are no longer pre-installed + - bash: sudo apt-get install -y libgoogle-perftools-dev libprotobuf-dev protobuf-compiler gcc-$(gcc) g++-$(gcc) displayName: Install packages # Boost is no longer pre-installed on Azure/GitHub-hosted runners - # TODO: check which Boost components are really needed and update the list - bash: sudo apt-get install -y libboost-system-dev displayName: Install Boost condition: eq(variables.boost, true)