Module: Mesa Branch: master Commit: 39fe51c1e33e13dd1cc5c3ffb5b8a85da6fbce5c URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=39fe51c1e33e13dd1cc5c3ffb5b8a85da6fbce5c
Author: Gert Wollny <gw.foss...@gmail.com> Date: Thu Sep 14 12:27:42 2017 +0200 travis: Add libunwind-dev to gallium/make builds libunwind is a optional dependency used by the gallium aux module (libgallium) and consequently the final binaries must be linked against it. To test whether the library is properly specified in the link pass add it to the travis-ci build environment and force its use. Cc: mesa-sta...@lists.freedesktop.org Reviewed-by: Eric Engestrom <eric.engest...@imgtec.com> Reviewed-by: Emil Velikov <emil.veli...@collabora.com> --- .travis.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.travis.yml b/.travis.yml index 4f7e0f5f1c..51061d9531 100644 --- a/.travis.yml +++ b/.travis.yml @@ -40,6 +40,7 @@ matrix: - GALLIUM_ST="--enable-dri --disable-opencl --disable-xa --disable-nine --disable-xvmc --disable-vdpau --disable-va --disable-omx --disable-gallium-osmesa" - GALLIUM_DRIVERS="" - VULKAN_DRIVERS="" + - LIBUNWIND_FLAGS="--disable-libunwind" addons: apt: packages: @@ -66,6 +67,7 @@ matrix: - GALLIUM_ST="--enable-dri --disable-opencl --disable-xa --disable-nine --disable-xvmc --disable-vdpau --disable-va --disable-omx --disable-gallium-osmesa" - GALLIUM_DRIVERS="swr" - VULKAN_DRIVERS="" + - LIBUNWIND_FLAGS="--enable-libunwind" addons: apt: sources: @@ -81,6 +83,7 @@ matrix: - libexpat1-dev - libx11-xcb-dev - libelf-dev + - libunwind8-dev - env: - LABEL="make Gallium Drivers Other" - BUILD=make @@ -93,6 +96,7 @@ matrix: - GALLIUM_ST="--enable-dri --disable-opencl --disable-xa --disable-nine --disable-xvmc --disable-vdpau --disable-va --disable-omx --disable-gallium-osmesa" - GALLIUM_DRIVERS="i915,nouveau,pl111,r300,r600,radeonsi,freedreno,svga,swrast,vc4,virgl,etnaviv,imx" - VULKAN_DRIVERS="" + - LIBUNWIND_FLAGS="--enable-libunwind" addons: apt: sources: @@ -108,6 +112,7 @@ matrix: - libexpat1-dev - libx11-xcb-dev - libelf-dev + - libunwind8-dev - env: # NOTE: Analogous to SWR above, building Clover is quite slow. - LABEL="make Gallium ST Clover" @@ -125,6 +130,7 @@ matrix: # Regardless - we're doing a quick build test here. - GALLIUM_DRIVERS="i915" - VULKAN_DRIVERS="" + - LIBUNWIND_FLAGS="--enable-libunwind" addons: apt: sources: @@ -144,6 +150,7 @@ matrix: - libexpat1-dev - libx11-xcb-dev - libelf-dev + - libunwind8-dev - env: - LABEL="make Gallium ST Other" - BUILD=make @@ -159,6 +166,7 @@ matrix: # Regardless - we're doing a quick build test here. - GALLIUM_DRIVERS="i915,swrast" - VULKAN_DRIVERS="" + - LIBUNWIND_FLAGS="--enable-libunwind" addons: apt: packages: @@ -178,6 +186,7 @@ matrix: - libexpat1-dev - libx11-xcb-dev - libelf-dev + - libunwind8-dev - env: - LABEL="make Vulkan" - BUILD=make @@ -190,6 +199,7 @@ matrix: - GALLIUM_ST="--enable-dri --enable-dri3 --disable-opencl --disable-xa --disable-nine --disable-xvmc --disable-vdpau --disable-va --disable-omx --disable-gallium-osmesa" - GALLIUM_DRIVERS="" - VULKAN_DRIVERS="intel,radeon" + - LIBUNWIND_FLAGS="--disable-libunwind" addons: apt: sources: @@ -371,6 +381,7 @@ script: export CC="$CC -isystem`pwd`"; ./autogen.sh --enable-debug + $LIBUNWIND_FLAGS $DRI_LOADERS --with-dri-drivers=$DRI_DRIVERS $GALLIUM_ST _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit