From: Gert Wollny Date: Thu, 14 Sep 2017 10:27:42 +0000 (+0200) Subject: travis: Add libunwind-dev to gallium/make builds X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=39fe51c1e33e13dd1cc5c3ffb5b8a85da6fbce5c;p=mesa.git 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-stable@lists.freedesktop.org Reviewed-by: Eric Engestrom Reviewed-by: Emil Velikov --- diff --git a/.travis.yml b/.travis.yml index 4f7e0f5f1c8..51061d95318 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