ci: pin llvm clang versions
This commit is contained in:
parent
102b29c777
commit
2e68612830
1 changed files with 9 additions and 6 deletions
|
@ -9,14 +9,14 @@ ENV RUSTUP_HOME=/usr/local/rustup \
|
||||||
CXX=clang++
|
CXX=clang++
|
||||||
|
|
||||||
RUN wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - && \
|
RUN wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - && \
|
||||||
echo "deb http://apt.llvm.org/stretch/ llvm-toolchain-stretch main" >> /etc/apt/sources.list && \
|
echo "deb http://apt.llvm.org/stretch/ llvm-toolchain-stretch-13 main" >> /etc/apt/sources.list && \
|
||||||
echo "deb-src http://apt.llvm.org/stretch/ llvm-toolchain-stretch main" >> /etc/apt/sources.list && \
|
echo "deb-src http://apt.llvm.org/stretch/ llvm-toolchain-stretch-13 main" >> /etc/apt/sources.list && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install -y --fix-missing --no-install-recommends \
|
apt-get install -y --fix-missing --no-install-recommends \
|
||||||
curl \
|
curl \
|
||||||
llvm \
|
llvm-13 \
|
||||||
clang \
|
clang-13 \
|
||||||
lld \
|
lld-13 \
|
||||||
libc++-13-dev \
|
libc++-13-dev \
|
||||||
libc++abi-13-dev \
|
libc++abi-13-dev \
|
||||||
xz-utils \
|
xz-utils \
|
||||||
|
@ -33,7 +33,10 @@ RUN wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - && \
|
||||||
rustup target add aarch64-unknown-linux-gnu && \
|
rustup target add aarch64-unknown-linux-gnu && \
|
||||||
rustup target add armv7-unknown-linux-gnueabihf && \
|
rustup target add armv7-unknown-linux-gnueabihf && \
|
||||||
npm install -g pnpm lerna && \
|
npm install -g pnpm lerna && \
|
||||||
ln -sf /usr/bin/clang /usr/bin/cc
|
ln -sf /usr/bin/clang-13 /usr/bin/clang && \
|
||||||
|
ln -sf /usr/bin/clang++-13 /usr/bin/clang++ && \
|
||||||
|
ln -sf /usr/bin/lld-13 /usr/bin/lld && \
|
||||||
|
ln -sf /usr/bin/clang-13 /usr/bin/cc
|
||||||
|
|
||||||
RUN wget https://www.nasm.us/pub/nasm/releasebuilds/${NASM_VERSION}/nasm-${NASM_VERSION}.tar.xz && \
|
RUN wget https://www.nasm.us/pub/nasm/releasebuilds/${NASM_VERSION}/nasm-${NASM_VERSION}.tar.xz && \
|
||||||
tar -xf nasm-${NASM_VERSION}.tar.xz && \
|
tar -xf nasm-${NASM_VERSION}.tar.xz && \
|
||||||
|
|
Loading…
Reference in a new issue