File tree Expand file tree Collapse file tree 2 files changed +8
-24
lines changed
src/ci/docker/dist-x86_64-netbsd Expand file tree Collapse file tree 2 files changed +8
-24
lines changed Original file line number Diff line number Diff line change @@ -3,23 +3,8 @@ FROM ubuntu:16.04
33COPY scripts/cross-apt-packages.sh /scripts/
44RUN sh /scripts/cross-apt-packages.sh
55
6- # Ubuntu 16.04 (this container) ships with make 4, but something in the
7- # toolchains we build below chokes on that, so go back to make 3
8- COPY scripts/make3.sh /scripts/
9- RUN sh /scripts/make3.sh
10-
11- COPY scripts/crosstool-ng.sh /scripts/
12- RUN sh /scripts/crosstool-ng.sh
13-
14- COPY scripts/rustbuild-setup.sh /scripts/
15- RUN sh /scripts/rustbuild-setup.sh
16- USER rustbuild
17- WORKDIR /tmp
18-
196COPY dist-x86_64-netbsd/build-netbsd-toolchain.sh /tmp/
20- RUN ./build-netbsd-toolchain.sh
21-
22- USER root
7+ RUN /tmp/build-netbsd-toolchain.sh
238
249COPY scripts/sccache.sh /scripts/
2510RUN sh /scripts/sccache.sh
3318
3419ENV HOSTS=x86_64-unknown-netbsd
3520
36- ENV RUST_CONFIGURE_ARGS --enable-extended --disable-docs \
37- --set llvm.allow-old-toolchain
21+ ENV RUST_CONFIGURE_ARGS --enable-extended --disable-docs
3822ENV SCRIPT python2.7 ../x.py dist --host $HOSTS --target $HOSTS
Original file line number Diff line number Diff line change @@ -28,15 +28,15 @@ mkdir -p /x-tools/x86_64-unknown-netbsd/sysroot
2828URL=https://s3-us-west-1.amazonaws.com/rust-lang-ci2/rust-ci-mirror
2929
3030# Originally from ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-$BSD/source/sets/*.tgz
31- curl $URL /2017 -03-17 -netbsd-src.tgz | tar xzf -
32- curl $URL /2017 -03-17 -netbsd-gnusrc.tgz | tar xzf -
33- curl $URL /2017 -03-17 -netbsd-sharesrc.tgz | tar xzf -
34- curl $URL /2017 -03-17 -netbsd-syssrc.tgz | tar xzf -
31+ curl $URL /2018 -03-01 -netbsd-src.tgz | tar xzf -
32+ curl $URL /2018 -03-01 -netbsd-gnusrc.tgz | tar xzf -
33+ curl $URL /2018 -03-01 -netbsd-sharesrc.tgz | tar xzf -
34+ curl $URL /2018 -03-01 -netbsd-syssrc.tgz | tar xzf -
3535
3636# Originally from ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-$BSD/amd64/binary/sets/*.tgz
37- curl $URL /2017 -03-17 -netbsd-base.tgz | \
37+ curl $URL /2018 -03-01 -netbsd-base.tgz | \
3838 tar xzf - -C /x-tools/x86_64-unknown-netbsd/sysroot ./usr/include ./usr/lib ./lib
39- curl $URL /2017 -03-17 -netbsd-comp.tgz | \
39+ curl $URL /2018 -03-01 -netbsd-comp.tgz | \
4040 tar xzf - -C /x-tools/x86_64-unknown-netbsd/sysroot ./usr/include ./usr/lib
4141
4242cd usr/src
You can’t perform that action at this time.
0 commit comments