Commit 0e33adca authored by Stefan Lankes's avatar Stefan Lankes

use lld as linker

parent 983bc1ff
Pipeline #213648 failed with stages
in 9 seconds
......@@ -24,7 +24,7 @@ docker:
build:
stage: build
script:
- make cargo
- RUSTFLAGS="-C linker=lld" make cargo
- du -hs ./target
image: ${IMAGE}
tags:
......
......@@ -7,13 +7,13 @@ ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get -qq update
# Install required packets from ubuntu repository
RUN apt-get install -y apt-transport-https curl wget vim nano git binutils autoconf automake make cmake qemu-kvm qemu-system-x86 nasm gcc g++ build-essential libtool bsdmainutils
RUN apt-get install -y apt-transport-https curl wget vim nano git binutils autoconf automake make cmake qemu-kvm qemu-system-x86 nasm gcc g++ build-essential libtool bsdmainutils lld-8
# Install Rust toolchain
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly
RUN /root/.cargo/bin/cargo install cargo-xbuild
RUN /root/.cargo/bin/rustup component add rust-src
RUN /root/.cargo/bin/rustup component add llvm-tools-preview
RUN /root/.cargo/bin/rustup component add llvm-tools-preview --toolchain=nightly
RUN /root/.cargo/bin/cargo install --git https://github.com/RWTH-OS/ehyve.git
ENV PATH="/root/.cargo/bin:${PATH}"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment