Commit 6854d1fa authored by Niklas Haas's avatar Niklas Haas

libplacebo-ubuntu-cosmic: make more useful for debugging

Install gdb and coredumpctl, hopefully the combination will let me
figure out why the libplacebo test suite segfaults here. Also build
shaderc with debug symbols.
parent babf502f
Pipeline #5813 failed with stage
in 7 minutes and 15 seconds
FROM ubuntu:cosmic-20181114
ENV IMAGE_DATE=201812042230
ENV IMAGE_DATE=201903180225
# If someone wants to use VideoLAN docker images on a local machine and does
# not want to be disturbed by the videolan user, we should not take an uid/gid
......@@ -26,7 +26,7 @@ RUN set -x && \
gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 gcc-mingw-w64-i686 \
g++-mingw-w64-i686 mingw-w64-tools glslang-dev libvulkan-dev \
vulkan-validationlayers mesa-vulkan-drivers vulkan-tools \
liblcms2-dev && \
liblcms2-dev gdb systemd-coredump && \
pip3 install meson ninja gcovr && \
apt-get clean -y && rm -rf /var/lib/apt/lists/* && \
cd /root && \
......@@ -37,7 +37,7 @@ RUN set -x && \
git clone --depth 1 -b ${SPIRV_HEADERS_BRANCH} https://github.com/KhronosGroup/SPIRV-Headers.git third_party/spirv-headers && \
mkdir build && cd build && \
cmake -GNinja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr/local \
-DSHADERC_SKIP_TESTS=1 \
.. && \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment