File tree 4 files changed +4
-8
lines changed
4 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -69,8 +69,6 @@ COPY host-x86_64/dist-x86_64-linux/build-gcc.sh /tmp/
69
69
RUN ./build-gcc.sh && apt-get remove -y gcc g++
70
70
71
71
COPY host-x86_64/dist-x86_64-linux/build-python.sh /tmp/
72
- # Build Python 2.7 needed for Clang 10.
73
- RUN ./build-python.sh 2.7.12
74
72
# Build Python 3 needed for LLVM 12.
75
73
RUN ./build-python.sh 3.9.1
76
74
@@ -97,7 +95,7 @@ ENV RUST_CONFIGURE_ARGS \
97
95
--build=i686-unknown-linux-gnu \
98
96
--set llvm.ninja=false \
99
97
--set rust.jemalloc
100
- ENV SCRIPT python2.7 ../x.py dist --build $HOSTS --host $HOSTS --target $HOSTS
98
+ ENV SCRIPT python3 ../x.py dist --build $HOSTS --host $HOSTS --target $HOSTS
101
99
ENV CARGO_TARGET_I686_UNKNOWN_LINUX_GNU_LINKER=clang
102
100
103
101
# This was added when we switched from gcc to clang. It's not clear why this is
Original file line number Diff line number Diff line change @@ -69,8 +69,6 @@ COPY host-x86_64/dist-x86_64-linux/build-gcc.sh /tmp/
69
69
RUN ./build-gcc.sh && apt-get remove -y gcc g++
70
70
71
71
COPY host-x86_64/dist-x86_64-linux/build-python.sh /tmp/
72
- # Build Python 2.7 needed for Clang 10.
73
- RUN ./build-python.sh 2.7.12
74
72
# Build Python 3 needed for LLVM 12.
75
73
RUN ./build-python.sh 3.9.1
76
74
@@ -102,7 +100,7 @@ ENV RUST_CONFIGURE_ARGS \
102
100
--set llvm.thin-lto=true \
103
101
--set llvm.ninja=false \
104
102
--set rust.jemalloc
105
- ENV SCRIPT ../src/ci/pgo.sh python2.7 ../x.py dist \
103
+ ENV SCRIPT ../src/ci/pgo.sh python3 ../x.py dist \
106
104
--host $HOSTS --target $HOSTS \
107
105
--include-default-paths \
108
106
src/tools/build-manifest
Original file line number Diff line number Diff line change 4
4
5
5
source shared.sh
6
6
7
- LLVM=llvmorg-10 .0.0
7
+ LLVM=llvmorg-12 .0.1
8
8
9
9
mkdir llvm-project
10
10
cd llvm-project
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ set -euxo pipefail
4
4
5
5
rm -rf /tmp/rustc-pgo
6
6
7
- python2.7 ../x.py build --target=$PGO_HOST --host=$PGO_HOST \
7
+ python3 ../x.py build --target=$PGO_HOST --host=$PGO_HOST \
8
8
--stage 2 library/std --rust-profile-generate=/tmp/rustc-pgo
9
9
10
10
RUSTC_BOOTSTRAP=1 ./build/$PGO_HOST /stage2/bin/rustc --edition=2018 \
You can’t perform that action at this time.
0 commit comments