Skip to content

Commit fcc556f

Browse files
committed
gcc-10
1 parent 0622d36 commit fcc556f

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

script/build.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,14 @@ def main():
5353

5454
if (machine == 'arm64') and (machine != common.native_machine()):
5555
args += [
56-
'cc="aarch64-linux-gnu-gcc-9"',
57-
'cxx="aarch64-linux-gnu-g++-9"',
56+
'cc="aarch64-linux-gnu-gcc-10"',
57+
'cxx="aarch64-linux-gnu-g++-10"',
5858
'extra_cflags=["-I/usr/aarch64-linux-gnu/include"]'
5959
]
6060
else:
6161
args += [
62-
'cc="gcc-9"',
63-
'cxx="g++-9"',
62+
'cc="gcc-10"',
63+
'cxx="g++-10"',
6464
]
6565

6666
elif 'windows' == system:

script/prepare_linux.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ add-apt-repository ppa:ubuntu-toolchain-r/test -y
77
apt-get update -y
88
apt-get install build-essential software-properties-common -y
99
apt-get update
10-
apt-get install gcc-9 g++-9 -y
11-
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-9
10+
apt-get install gcc-10 g++-10 -y
11+
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 60 --slave /usr/bin/g++ g++ /usr/bin/g++-10
1212
update-alternatives --config gcc
1313

1414
apt-get install git python3 wget -y

0 commit comments

Comments
 (0)