[Mesa-dev] [PATCH] travis: add build configuration for SWR AVX512

Eric Engestrom eric at engestrom.ch
Sat Jul 22 00:10:26 UTC 2017


On Thursday, 2017-07-20 22:16:36 +0000, Tim Rowley wrote:
> ---
>  .travis.yml | 32 ++++++++++++++++++++++++++++++++
>  1 file changed, 32 insertions(+)
> 
> diff --git a/.travis.yml b/.travis.yml
> index 246ad30eff..da491e0396 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -82,6 +82,38 @@ matrix:
>              - libx11-xcb-dev
>              - libelf-dev
>      - env:
> +        # NOTE: Building SWR is 2x (yes two) times slower than all the other
> +        # gallium drivers combined.
> +        # Start this early so that it doesn't hinder the run time.
> +        - LABEL="make Gallium Drivers SWR AVX512"
> +        - BUILD=make
> +        - MAKEFLAGS="-j4"
> +        - MAKE_CHECK_COMMAND="true"
> +        - LLVM_VERSION=3.9
> +        - LLVM_CONFIG="llvm-config-${LLVM_VERSION}"

> +        - OVERRIDE_CC="gcc-6.3"
> +        - OVERRIDE_CXX="g++-6.3"

You need to add the relevant package below if you want to use these :)
Other than that, I think it look alright.

> +        - DRI_LOADERS="--disable-glx --disable-gbm --disable-egl"
> +        - DRI_DRIVERS=""
> +        - GALLIUM_ST="--enable-dri --disable-opencl --disable-xa --disable-nine --disable-xvmc --disable-vdpau --disable-va --disable-omx --disable-gallium-osmesa --with-swr-archs=knl,skx"
> +        - GALLIUM_DRIVERS="swr"
> +        - VULKAN_DRIVERS=""
> +      addons:
> +        apt:
> +          sources:
> +            - llvm-toolchain-trusty-3.9
> +          packages:
> +            # LLVM packaging is broken and misses these dependencies
> +            - libedit-dev
> +            # From sources above
> +            - llvm-3.9-dev
> +            # Common
> +            - xz-utils
> +            - x11proto-xf86vidmode-dev
> +            - libexpat1-dev
> +            - libx11-xcb-dev
> +            - libelf-dev
> +    - env:
>          - LABEL="make Gallium Drivers Other"
>          - BUILD=make
>          - MAKEFLAGS="-j4"
> -- 
> 2.11.0
> 


More information about the mesa-dev mailing list