ci: add leak sanitizer ci check #7
1 changed files with 3 additions and 3 deletions
|
@ -28,8 +28,8 @@ RUN clang --version \
|
||||||
&& ninja --version \
|
&& ninja --version \
|
||||||
&& mold --version
|
&& mold --version
|
||||||
|
|
||||||
RUN git clone --depth=1 https://github.com/llvm/llvm-project.git -b llvmorg-20.1.8
|
RUN git clone --depth=1 https://github.com/llvm/llvm-project.git -b llvmorg-20.1.8 \
|
||||||
RUN cd llvm-project/ \
|
&& cd llvm-project/ \
|
||||||
&& rm -rf build/ \
|
&& rm -rf build/ \
|
||||||
&& mkdir build/ \
|
&& mkdir build/ \
|
||||||
&& cd build/ \
|
&& cd build/ \
|
||||||
|
@ -45,7 +45,7 @@ RUN cd llvm-project/ \
|
||||||
-DLIBCXX_INSTALL_MODULES=ON \
|
-DLIBCXX_INSTALL_MODULES=ON \
|
||||||
-DLIBCXXABI_USE_LLVM_UNWINDER=OFF \
|
-DLIBCXXABI_USE_LLVM_UNWINDER=OFF \
|
||||||
-DLLVM_USE_SANITIZER=Leaks \
|
-DLLVM_USE_SANITIZER=Leaks \
|
||||||
../runtimes &&\
|
../runtimes && \
|
||||||
ninja cxx cxxabi && \
|
ninja cxx cxxabi && \
|
||||||
&& ninja -C build install-cxx install-cxxabi\
|
&& ninja -C build install-cxx install-cxxabi\
|
||||||
&& rm -rf /usr/src/llvm-project/
|
&& rm -rf /usr/src/llvm-project/
|
||||||
|
|
Loading…
Add table
Reference in a new issue