Skip to content

Commit

Permalink
Merged PR 18531: Install GCC in Azure pipelines
Browse files Browse the repository at this point in the history
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`.
  • Loading branch information
Roman Grundkiewicz authored and emjotde committed Apr 9, 2021
1 parent 6435c6f commit a051241
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a051241

Please sign in to comment.