File tree 2 files changed +8
-5
lines changed
src/ci/docker/dist-x86-linux
2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ RUN yum upgrade -y && yum install -y \
6
6
curl \
7
7
bzip2 \
8
8
gcc \
9
+ gcc-c++ \
9
10
make \
10
11
glibc-devel \
11
12
perl \
Original file line number Diff line number Diff line change @@ -13,12 +13,14 @@ set -ex
13
13
14
14
source shared.sh
15
15
16
- curl https://ftp.gnu.org/gnu/gcc/gcc-4.7.4/gcc-4.7.4.tar.bz2 | tar xjf -
17
- cd gcc-4.7.4
16
+ GCC=4.8.5
17
+
18
+ curl https://ftp.gnu.org/gnu/gcc/gcc-$GCC /gcc-$GCC .tar.bz2 | tar xjf -
19
+ cd gcc-$GCC
18
20
./contrib/download_prerequisites
19
21
mkdir ../gcc-build
20
22
cd ../gcc-build
21
- hide_output ../gcc-4.7.4 /configure \
23
+ hide_output ../gcc-$GCC /configure \
22
24
--prefix=/rustroot \
23
25
--enable-languages=c,c++
24
26
hide_output make -j10
@@ -27,5 +29,5 @@ ln -nsf gcc /rustroot/bin/cc
27
29
28
30
cd ..
29
31
rm -rf gcc-build
30
- rm -rf gcc-4.7.4
31
- yum erase -y gcc binutils
32
+ rm -rf gcc-$GCC
33
+ yum erase -y gcc gcc-c++ binutils
You can’t perform that action at this time.
0 commit comments