File tree Expand file tree Collapse file tree 4 files changed +4
-8
lines changed Expand file tree Collapse file tree 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/
6969RUN ./build-gcc.sh && apt-get remove -y gcc g++
7070
7171COPY 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
7472# Build Python 3 needed for LLVM 12.
7573RUN ./build-python.sh 3.9.1
7674
@@ -97,7 +95,7 @@ ENV RUST_CONFIGURE_ARGS \
9795 --build=i686-unknown-linux-gnu \
9896 --set llvm.ninja=false \
9997 --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
10199ENV CARGO_TARGET_I686_UNKNOWN_LINUX_GNU_LINKER=clang
102100
103101# 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/
6969RUN ./build-gcc.sh && apt-get remove -y gcc g++
7070
7171COPY 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
7472# Build Python 3 needed for LLVM 12.
7573RUN ./build-python.sh 3.9.1
7674
@@ -102,7 +100,7 @@ ENV RUST_CONFIGURE_ARGS \
102100 --set llvm.thin-lto=true \
103101 --set llvm.ninja=false \
104102 --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 \
106104 --host $HOSTS --target $HOSTS \
107105 --include-default-paths \
108106 src/tools/build-manifest
Original file line number Diff line number Diff line change 44
55source shared.sh
66
7- LLVM=llvmorg-10 .0.0
7+ LLVM=llvmorg-12 .0.1
88
99mkdir llvm-project
1010cd llvm-project
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ set -euxo pipefail
44
55rm -rf /tmp/rustc-pgo
66
7- python2.7 ../x.py build --target=$PGO_HOST --host=$PGO_HOST \
7+ python3 ../x.py build --target=$PGO_HOST --host=$PGO_HOST \
88 --stage 2 library/std --rust-profile-generate=/tmp/rustc-pgo
99
1010RUSTC_BOOTSTRAP=1 ./build/$PGO_HOST /stage2/bin/rustc --edition=2018 \
You can’t perform that action at this time.
0 commit comments