fork/rust
git clone https://git.julia.blue/fork/rust
b8cedc00407
1.42.0
1FROM ubuntu:16.04 2 3RUN apt-get update && apt-get install -y --no-install-recommends \ 4 autoconf \ 5 automake \ 6 bison \ 7 bzip2 \ 8 ca-certificates \ 9 cmake \ 10 curl \ 11 file \ 12 flex \ 13 g++ \ 14 gawk \ 15 git \ 16 libcurl4-openssl-dev \ 17 libssl-dev \ 18 make \ 19 nasm \ 20 pkg-config \ 21 python2.7 \ 22 sudo \ 23 texinfo \ 24 wget \ 25 xz-utils \ 26 zlib1g-dev 27 28COPY dist-x86_64-haiku/llvm-config.sh /bin/llvm-config-haiku 29 30ENV ARCH=x86_64 31 32WORKDIR /tmp 33COPY dist-x86_64-haiku/build-toolchain.sh /tmp/ 34RUN /tmp/build-toolchain.sh $ARCH 35 36COPY dist-x86_64-haiku/fetch-packages.sh /tmp/ 37RUN /tmp/fetch-packages.sh 38 39COPY scripts/sccache.sh /scripts/ 40RUN sh /scripts/sccache.sh 41 42ENV HOST=x86_64-unknown-haiku 43ENV TARGET=target.$HOST 44 45ENV RUST_CONFIGURE_ARGS --disable-jemalloc \ 46 --set=$TARGET.cc=x86_64-unknown-haiku-gcc \ 47 --set=$TARGET.cxx=x86_64-unknown-haiku-g++ \ 48 --set=$TARGET.llvm-config=/bin/llvm-config-haiku 49ENV SCRIPT python2.7 ../x.py dist --host=$HOST --target=$HOST