mirror of
https://github.com/marian-nmt/marian.git
synced 2024-11-03 20:13:47 +03:00
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`.
This commit is contained in:
parent
6435c6f1ce
commit
a05124176d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user