This separates kokoro setup from the stale file regeneration process. PiperOrigin-RevId: 496985475pull/11383/head
parent
04c02340d1
commit
be0b7e696d
12 changed files with 21 additions and 18 deletions
@ -0,0 +1,11 @@ |
||||
#!/bin/bash |
||||
|
||||
set -eux |
||||
|
||||
# Upgrade to a supported gcc version |
||||
sudo add-apt-repository ppa:ubuntu-toolchain-r/test |
||||
sudo apt-get -y update && \ |
||||
sudo apt-get install --no-install-recommends -y --fix-missing --option Acquire::Retries=10 --option Acquire::http::Timeout="1800" \ |
||||
gcc-7 g++-7 |
||||
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 100 --slave /usr/bin/g++ g++ /usr/bin/g++-7 |
||||
sudo update-alternatives --set gcc /usr/bin/gcc-7 |
Loading…
Reference in new issue