Skip to content

Commit 057511f

Browse files
committed
wip
1 parent 234ade5 commit 057511f

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

src/ci/docker/host-x86_64/x86_64-gnu-experimental/Dockerfile

+9-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM ubuntu:22.04
33
ARG DEBIAN_FRONTEND=noninteractive
44
RUN apt-get update && apt-get install -y --no-install-recommends \
55
build-essential \
6-
gawk \
6+
#gawk \
77
g++ \
88
make \
99
ninja-build \
@@ -15,7 +15,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
1515
cmake \
1616
libssl-dev \
1717
sudo \
18-
time \
1918
xz-utils \
2019
pkg-config \
2120
unzip \
@@ -53,7 +52,7 @@ ENV CARGO_TARGET_AARCH64_FUCHSIA_RUSTFLAGS \
5352
-Lnative=/usr/local/core-linux-amd64-fuchsia-sdk/arch/arm64/sysroot/lib \
5453
-Lnative=/usr/local/core-linux-amd64-fuchsia-sdk/arch/arm64/lib
5554

56-
ENV CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUSTFLAGS -Clink-arg=-static-libstdc++
55+
#ENV CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUSTFLAGS -Clink-arg=-static-libstdc++
5756

5857
ENV TARGETS=x86_64-fuchsia
5958
ENV TARGETS=$TARGETS,x86_64-unknown-linux-gnu
@@ -64,7 +63,13 @@ RUN sh /scripts/sccache.sh
6463
ENV RUST_INSTALL_DIR /checkout/obj/install
6564
RUN mkdir -p $RUST_INSTALL_DIR/etc
6665

67-
ENV RUST_CONFIGURE_ARGS --prefix=$RUST_INSTALL_DIR --sysconfdir=etc --enable-lld --llvm-libunwind=in-tree --enable-extended --disable-docs
66+
# TODO: --stage 1?
67+
ENV RUST_CONFIGURE_ARGS --prefix=$RUST_INSTALL_DIR --sysconfdir=etc --enable-lld --llvm-libunwind=in-tree --enable-extended --disable-docs \
68+
--set target.x86_64-fuchsia.cc=/usr/local/bin/clang \
69+
--set target.x86_64-fuchsia.cxx=/usr/local/bin/clang++ \
70+
--set target.x86_64-fuchsia.ar=/usr/local/bin/llvm-ar \
71+
--set target.x86_64-fuchsia.ranlib=/usr/local/bin/llvm-ranlib \
72+
--set target.x86_64-fuchsia.linker=/usr/local/bin/ld.lld
6873
ENV SCRIPT \
6974
python3 ../x.py install --target $TARGETS compiler/rustc library/std clippy && \
7075
python3 ../x.py test src/tools/cargotest

src/tools/cargotest/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ fn run_cargo_test(
226226

227227
fn test_fuchsia(out_dir: &Path) {
228228
const INTEGRATION_SHA: &str = "06ae16d18bd8e4db9a3fc062f678a170025d9f1a";
229-
const PICK_REFS: &[&str] = &["refs/changes/58/938058/3", "refs/changes/33/943833/6"];
229+
const PICK_REFS: &[&str] = &["refs/changes/58/938058/3", "refs/changes/33/943833/10"];
230230

231231
// This script will:
232232
// - create a directory named "fuchsia" if it does not exist

0 commit comments

Comments
 (0)