w add BASH entrypoint to debug lsan dockerfile
This commit is contained in:
parent
accc8e3038
commit
63eea1e844
1 changed files with 18 additions and 16 deletions
|
@ -49,19 +49,21 @@ RUN git clone --depth=1 https://github.com/llvm/llvm-project.git -b llvmorg-20.1
|
||||||
&& ninja -C . install-cxx install-cxxabi \
|
&& ninja -C . install-cxx install-cxxabi \
|
||||||
&& rm -r /llvm-project/
|
&& rm -r /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 \
|
||||||
-s compiler=clang \
|
# -s compiler=clang \
|
||||||
-s compiler.version=20 \
|
# -s compiler.version=20 \
|
||||||
-s compiler.libcxx=libc++ \
|
# -s compiler.libcxx=libc++ \
|
||||||
-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 \
|
||||||
-c tools.build:cxxflags='["-g", "-fno-omit-frame-pointer", "-isystem", "/libcxx_lsan/include", "-fsanitize=leak"]' \
|
# -c tools.build:cxxflags='["-g", "-fno-omit-frame-pointer", "-isystem", "/libcxx_lsan/include", "-fsanitize=leak"]' \
|
||||||
-c tools.build:cflags='["-g", "-fno-omit-frame-pointer", "-isystem", "/libcxx_lsan/include", "-fsanitize=leak"]' \
|
# -c tools.build:cflags='["-g", "-fno-omit-frame-pointer", "-isystem", "/libcxx_lsan/include", "-fsanitize=leak"]' \
|
||||||
-c tools.build:sharedlinkflags='["-L/libcxx_lsan/lib", "-Wl,-rpath,/libcxx_lsan/lib", "-lc++", "-lc++abi", "-fsanitize=leak"]' \
|
# -c tools.build:sharedlinkflags='["-L/libcxx_lsan/lib", "-Wl,-rpath,/libcxx_lsan/lib", "-lc++", "-lc++abi", "-fsanitize=leak"]' \
|
||||||
-c tools.build:exelinkflags='["-L/libcxx_lsan/lib", "-Wl,-rpath,/libcxx_lsan/lib", "-lc++", "-lc++abi", "-fsanitize=leak"]' \
|
# -c tools.build:exelinkflags='["-L/libcxx_lsan/lib", "-Wl,-rpath,/libcxx_lsan/lib", "-lc++", "-lc++abi", "-fsanitize=leak"]' \
|
||||||
-c tools.info.package_id:confs='["tools.build:cxxflags","tools.build:sharedlinkflags","tools.build:exelinkflags"]' \
|
# -c tools.info.package_id:confs='["tools.build:cxxflags","tools.build:sharedlinkflags","tools.build:exelinkflags"]' \
|
||||||
-c tools.build:compiler_executables='{"c": "clang", "cpp": "clang++"}' \
|
# -c tools.build:compiler_executables='{"c": "clang", "cpp": "clang++"}' \
|
||||||
--build=missing
|
# --build=missing
|
||||||
|
|
||||||
|
ENTRYPOINT ["bash"]
|
||||||
|
|
Loading…
Add table
Reference in a new issue