ci: change leak sanitizer Dockerfile base image to arch linux
This commit is contained in:
parent
0fbd4ebad1
commit
77582a3bde
1 changed files with 10 additions and 14 deletions
|
@ -1,23 +1,19 @@
|
|||
FROM alpine:latest
|
||||
|
||||
RUN apk add --no-cache \
|
||||
FROM archlinux/base
|
||||
RUN pacman -Syu --noconfirm && \
|
||||
pacman -S --noconfirm \
|
||||
bash \
|
||||
base-devel \
|
||||
clang \
|
||||
llvm \
|
||||
cmake \
|
||||
git \
|
||||
make \
|
||||
g++ \
|
||||
python3 \
|
||||
py3-pip \
|
||||
mesa-dev \
|
||||
mesa-gl \
|
||||
pkgconf \
|
||||
python \
|
||||
python-pip \
|
||||
mesa \
|
||||
mold \
|
||||
ninja \
|
||||
libc-dev \
|
||||
zlib-dev \
|
||||
libunwind-dev
|
||||
zlib \
|
||||
libunwind
|
||||
|
||||
RUN pip install --no-cache-dir --break-system-packages conan gitpython \
|
||||
&& conan profile detect
|
||||
|
@ -50,7 +46,7 @@ RUN cd llvm-project/ \
|
|||
-DLLVM_USE_SANITIZER=Leaks \
|
||||
../runtimes &&\
|
||||
ninja cxx cxxabi && \
|
||||
cd ../\
|
||||
cd ../ \
|
||||
&& DESTDIR="/libcxx_lsan" ninja -C build install-cxx install-cxxabi\
|
||||
&& rm -rf /usr/src/llvm-project/
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue