File tree 2 files changed +8
-24
lines changed
src/ci/docker/dist-x86_64-netbsd
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
3
3
COPY scripts/cross-apt-packages.sh /scripts/
4
4
RUN sh /scripts/cross-apt-packages.sh
5
5
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
-
19
6
COPY 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
23
8
24
9
COPY scripts/sccache.sh /scripts/
25
10
RUN sh /scripts/sccache.sh
33
18
34
19
ENV HOSTS=x86_64-unknown-netbsd
35
20
36
- ENV RUST_CONFIGURE_ARGS --enable-extended --disable-docs \
37
- --set llvm.allow-old-toolchain
21
+ ENV RUST_CONFIGURE_ARGS --enable-extended --disable-docs
38
22
ENV 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
28
28
URL=https://s3-us-west-1.amazonaws.com/rust-lang-ci2/rust-ci-mirror
29
29
30
30
# 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 -
35
35
36
36
# 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 | \
38
38
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 | \
40
40
tar xzf - -C /x-tools/x86_64-unknown-netbsd/sysroot ./usr/include ./usr/lib
41
41
42
42
cd usr/src
You can’t perform that action at this time.
0 commit comments