Skip to content

Commit e568124

Browse files
committed
ci: kokoro: use gcc 9
This commit also reorders the list of installed packages for readability Signed-off-by: Alessandro Comodi <[email protected]>
1 parent b01a053 commit e568124

File tree

1 file changed

+17
-11
lines changed

1 file changed

+17
-11
lines changed

.github/kokoro/steps/hostsetup.sh

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ echo "Host adding PPAs"
3636
echo "----------------------------------------"
3737
wget --no-check-certificate -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | sudo apt-key add -
3838
sudo apt-add-repository 'deb https://apt.kitware.com/ubuntu/ xenial main'
39+
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
3940
echo "----------------------------------------"
4041

4142
echo
@@ -55,48 +56,53 @@ sudo apt-get install -y \
5556
bison \
5657
build-essential \
5758
ca-certificates \
59+
clang \
5860
cmake \
5961
colordiff \
6062
coreutils \
6163
curl \
6264
flex \
65+
gawk \
66+
gcc-9 \
67+
g++-9 \
6368
git \
6469
graphviz \
6570
inkscape \
6671
jq \
72+
libboost-filesystem-dev \
73+
libboost-python-dev \
74+
libboost-system-dev \
75+
libffi-dev \
6776
libgtk-3-dev \
77+
libreadline-dev \
6878
libx11-dev \
6979
make \
7080
ninja-build \
7181
nodejs \
82+
pkg-config \
7283
psmisc \
7384
python \
7485
python3 \
7586
python3-dev \
7687
python3-virtualenv \
7788
python3-yaml \
7889
qt5-default \
79-
virtualenv \
80-
clang \
81-
libreadline-dev \
82-
gawk \
8390
tcl-dev \
84-
libffi-dev \
91+
virtualenv \
8592
xdot \
86-
pkg-config \
87-
libboost-system-dev \
88-
libboost-python-dev \
89-
libboost-filesystem-dev \
90-
zlib1g-dev \
93+
zlib1g-dev
9194
#Don't include libtbb-dev since it may increase memory usage
9295
#libtbb-dev \
9396

9497
export PATH="$PATH:/home/kbuilder/.local/bin"
9598

99+
export CC=gcc-9
100+
export CXX=g++-9
101+
96102
pyenv install -f 3.6.3
97103
pyenv global 3.6.3
98104
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
99-
python3 get-pip.py
105+
python3 get-pip.py
100106
rm get-pip.py
101107
python3 -m pip install -r requirements.txt
102108

0 commit comments

Comments
 (0)