We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58899c4 commit 1487bcfCopy full SHA for 1487bcf
src/ci/docker/host-x86_64/dist-x86_64-linux/Dockerfile
@@ -100,6 +100,8 @@ ENV PGO_HOST=x86_64-unknown-linux-gnu
100
101
ENV HOSTS=x86_64-unknown-linux-gnu
102
103
+ENV RUSTFLAGS="-C target_cpu=x86-64-v3"
104
+
105
ENV RUST_CONFIGURE_ARGS \
106
--enable-full-tools \
107
--enable-sanitizers \
@@ -110,6 +112,8 @@ ENV RUST_CONFIGURE_ARGS \
110
112
--set target.x86_64-unknown-linux-gnu.ranlib=/rustroot/bin/llvm-ranlib \
111
113
--set llvm.thin-lto=true \
114
--set llvm.ninja=false \
115
+ --set llvm.cxxflags=-march=x86-64-v3 \
116
+ --set llvm.cflags=-march=x86-64-v3 \
117
--set rust.jemalloc
118
ENV SCRIPT ../src/ci/pgo.sh python3 ../x.py dist \
119
--host $HOSTS --target $HOSTS \
0 commit comments