ci: update dockerfile to install conan dependency with lsan enabled
This commit is contained in:
parent
de89e09953
commit
a217179789
1 changed files with 9 additions and 7 deletions
|
@ -51,10 +51,12 @@ RUN cd llvm-project/ \
|
||||||
&& DESTDIR="/libcxx_lsan" ninja -C build install-cxx install-cxxabi\
|
&& DESTDIR="/libcxx_lsan" ninja -C build install-cxx install-cxxabi\
|
||||||
&& rm -rf /usr/src/llvm-project/
|
&& rm -rf /usr/src/llvm-project/
|
||||||
|
|
||||||
# RUN git clone 'https://git.light7734.com/light7734/light.git' --recursive \
|
RUN git clone 'https://git.light7734.com/light7734/light.git' --recursive \
|
||||||
# && cd light \
|
&& cd light \
|
||||||
# && conan install . \
|
&& conan install . \
|
||||||
# -s build_type=Release \
|
-s build_type=Release \
|
||||||
# -c tools.system.package_manager:mode=install \
|
-c tools.system.package_manager:mode=install \
|
||||||
# -c tools.cmake.cmaketoolchain:generator=Ninja \
|
-c tools.cmake.cmaketoolchain:generator=Ninja \
|
||||||
# --build=missing
|
-c tools.build:cxxflags=["-g", "-fno-omit-frame-pointer", "-nostdinc++", "-isystem", "/libcxx_lsan/include", "-fsanitize=leak"] \
|
||||||
|
-c tools.build:ldflags=["-L/libcxx_lsan/lib", "-Wl,-rpath,/libcxx_lsan/lib", "-lc++", "-lc++abi", "-fsanitize=leak"] \
|
||||||
|
--build=missing
|
||||||
|
|
Loading…
Add table
Reference in a new issue