[Mesa-dev] [PATCH] travis: radeonsi and radv need LLVM 4.0

Andres Gomez agomez at igalia.com
Tue Feb 13 22:46:37 UTC 2018


On Tue, 2018-02-06 at 19:23 +0000, Kyriazis, George wrote:
> SWR is OK with moving to LLVM 4.0 and above.
> 
> Just to clarify: This goes to master, which means mesa 18.0 is not
> affected, just 18.1 and later.  Correct?

That is my understanding.

3bf1e036e8a, which is the one triggering this change, is not in the
18.0 branch and, AFAIU, it shouldn't get in.

> Thanks,

Thanks to you ☺

> 
> George
> 
> > On Feb 6, 2018, at 11:07 AM, Kyriazis, George <george.kyriazis at inte
> > l.com> wrote:
> > 
> > As far as SWR is concerned, we’ll have to ask our customers.  Will
> > respond shortly.
> > 
> > Thanks,
> > 
> > George
> > 
> > > On Feb 6, 2018, at 9:42 AM, Andres Gomez <agomez at igalia.com>
> > > wrote:
> > > 
> > > Fixes: 3bf1e036e8a ("amd: remove support for LLVM 3.9")
> > > Cc: Marek Olšák <marek.olsak at amd.com>
> > > Cc: Emil Velikov <emil.velikov at collabora.com>
> > > Cc: Jan Vesely <jan.vesely at rutgers.edu>
> > > Signed-off-by: Andres Gomez <agomez at igalia.com>
> > > ---
> > > 
> > > Additionally, AMD's support removal for LLVM 3.9 has also
> > > affected the
> > > distcheck target.
> > > 
> > > Unfortunately, SWR distribution needs 3.9.x, therefore, we cannot
> > > simply use LLVM 4.0 to generate the distribution tarball.
> > > 
> > > Either SWR upgrades its minimal dependency to LLVM 4.0 or we find
> > > a
> > > way of instructing distcheck so it would use LLVM 3.9 for the
> > > tarball
> > > generation and LLVM 4.0 for the check stage of the distcheck ...
> > > 
> > > .travis.yml | 46 ++++++++++++++++++++++++++++++++++++----------
> > > 1 file changed, 36 insertions(+), 10 deletions(-)
> > > 
> > > diff --git a/.travis.yml b/.travis.yml
> > > index 0156eefb7ad..3651d00169f 100644
> > > --- a/.travis.yml
> > > +++ b/.travis.yml
> > > @@ -37,12 +37,12 @@ matrix:
> > >      addons:
> > >        apt:
> > >          sources:
> > > -            - llvm-toolchain-trusty-3.9
> > > +            - llvm-toolchain-trusty-4.0
> > >          packages:
> > >            # LLVM packaging is broken and misses these
> > > dependencies
> > >            - libedit-dev
> > >            # From sources above
> > > -            - llvm-3.9-dev
> > > +            - llvm-4.0-dev
> > >            # Common
> > >            - xz-utils
> > >            - libexpat1-dev
> > > @@ -119,6 +119,35 @@ matrix:
> > >            - libx11-xcb-dev
> > >            - libelf-dev
> > >            - libunwind8-dev
> > > +    - env:
> > > +        - LABEL="make Gallium Drivers RadeonSI"
> > > +        - BUILD=make
> > > +        - MAKEFLAGS="-j4"
> > > +        - MAKE_CHECK_COMMAND="true"
> > > +        - LLVM_VERSION=4.0
> > > +        - LLVM_CONFIG="llvm-config-${LLVM_VERSION}"
> > > +        - 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-bellagio --disable-gallium-osmesa"
> > > +        - GALLIUM_DRIVERS="radeonsi"
> > > +        - VULKAN_DRIVERS=""
> > > +        - LIBUNWIND_FLAGS="--enable-libunwind"
> > > +      addons:
> > > +        apt:
> > > +          sources:
> > > +            - llvm-toolchain-trusty-4.0
> > > +          packages:
> > > +            # LLVM packaging is broken and misses these
> > > dependencies
> > > +            - libedit-dev
> > > +            # From sources above
> > > +            - llvm-4.0-dev
> > > +            # Common
> > > +            - xz-utils
> > > +            - x11proto-xf86vidmode-dev
> > > +            - libexpat1-dev
> > > +            - libx11-xcb-dev
> > > +            - libelf-dev
> > > +            - libunwind8-dev
> > >    - env:
> > >        - LABEL="make Gallium Drivers Other"
> > >        - BUILD=make
> > > @@ -131,7 +160,7 @@ matrix:
> > >        - 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-bellagio --disable-gallium-osmesa"
> > > -        -
> > > GALLIUM_DRIVERS="i915,nouveau,pl111,r300,r600,radeonsi,freedreno,
> > > svga,swrast,vc4,virgl,etnaviv,imx"
> > > +        -
> > > GALLIUM_DRIVERS="i915,nouveau,pl111,r300,r600,freedreno,svga,swra
> > > st,vc4,virgl,etnaviv,imx"
> > >        - VULKAN_DRIVERS=""
> > >        - LIBUNWIND_FLAGS="--enable-libunwind"
> > >      addons:
> > > @@ -166,7 +195,7 @@ matrix:
> > >        - DRI_LOADERS="--disable-glx --disable-gbm --disable-egl"
> > >        - DRI_DRIVERS=""
> > >        - GALLIUM_ST="--disable-dri --enable-opencl --enable-
> > > opencl-icd --enable-llvm --disable-xa --disable-nine --disable-
> > > xvmc --disable-vdpau --disable-va --disable-omx-bellagio --
> > > disable-gallium-osmesa"
> > > -        - GALLIUM_DRIVERS="r600,radeonsi"
> > > +        - GALLIUM_DRIVERS="r600"
> > >        - VULKAN_DRIVERS=""
> > >        - LIBUNWIND_FLAGS="--enable-libunwind"
> > >      addons:
> > > @@ -303,10 +332,8 @@ matrix:
> > >        - BUILD=make
> > >        - MAKEFLAGS="-j4"
> > >        - MAKE_CHECK_COMMAND="make -C src/gtest check && make -C
> > > src/intel check"
> > > -        - LLVM_VERSION=3.9
> > > +        - LLVM_VERSION=4.0
> > >        - LLVM_CONFIG="llvm-config-${LLVM_VERSION}"
> > > -        # New binutils linker is required for llvm-3.9
> > > -        - OVERRIDE_PATH=/usr/lib/binutils-2.26/bin
> > >        - DRI_LOADERS="--disable-glx --disable-gbm --disable-egl
> > > --with-platforms=x11,wayland"
> > >        - DRI_DRIVERS=""
> > >        - GALLIUM_ST="--enable-dri --enable-dri3 --disable-opencl
> > > --disable-xa --disable-nine --disable-xvmc --disable-vdpau --
> > > disable-va --disable-omx-bellagio --disable-gallium-osmesa"
> > > @@ -316,13 +343,12 @@ matrix:
> > >      addons:
> > >        apt:
> > >          sources:
> > > -            - llvm-toolchain-trusty-3.9
> > > +            - llvm-toolchain-trusty-4.0
> > >          packages:
> > > -            - binutils-2.26
> > >            # LLVM packaging is broken and misses these
> > > dependencies
> > >            - libedit-dev
> > >            # From sources above
> > > -            - llvm-3.9-dev
> > > +            - llvm-4.0-dev
> > >            # Common
> > >            - xz-utils
> > >            - x11proto-xf86vidmode-dev
> > > -- 
> > > 2.15.1
> > > 
> > 
> > _______________________________________________
> > mesa-dev mailing list
> > mesa-dev at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/mesa-dev
> 
> 
-- 
Br,

Andres


More information about the mesa-dev mailing list