mesa has a hard prerequisite for LLVM ver > 3.3 ?
Dave Airlie
airlied at gmail.com
Tue Oct 13 16:44:37 PDT 2015
On 14 October 2015 at 09:18, dclarke at blastwave.org
<dclarke at blastwave.org> wrote:
>
> While trying a build from the git repo I ran into this surprise :
>
>
> ======================================================================
> == Processing: "mesa/mesa"
> == configuration options: --with-udev-rules-dir=/opt/xorg/udev
> autoreconf: Entering directory `.'
> autoreconf: configure.ac: not using Gettext
> autoreconf: running: aclocal -I /opt/xorg/share/aclocal --force -I m4
> configure.ac:42: warning: AC_INIT: not a literal:
> https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa
> autoreconf: configure.ac: tracing
> configure.ac:42: warning: AC_INIT: not a literal:
> https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa
> autoreconf: running: libtoolize --copy --force
> libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `bin'.
> libtoolize: copying file `bin/ltmain.sh'
> libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
> libtoolize: copying file `m4/libtool.m4'
> libtoolize: copying file `m4/ltoptions.m4'
> libtoolize: copying file `m4/ltsugar.m4'
> libtoolize: copying file `m4/ltversion.m4'
> libtoolize: copying file `m4/lt~obsolete.m4'
> configure.ac:42: warning: AC_INIT: not a literal:
> https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa
> autoreconf: running: /usr/bin/autoconf --force
> configure.ac:42: warning: AC_INIT: not a literal:
> https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa
> .
> .
> .
> checking for RADEON... yes
> checking for RADEON... yes
> checking for mincore... yes
> checking for VL... yes
> checking for XVMC... yes
> checking for elf_memory in -lelf... no
> checking for WAYLAND_SCANNER... no
> checking for wayland-scanner... no
> checking for XCB_DRI2... yes
> checking for llvm-config... /usr/bin/llvm-config
> configure: error: LLVM 3.3 or newer is required
> build.sh: "autogen.sh" failed on mesa/mesa
> build.sh: error processing: "mesa/mesa"
> aster $
>
>
> Really ?
Not totally, it depends on what GPU you are building mesa drivers for
and if you care about llvm.
r300 and radeonsi have an llvm requirement, llvmpipe does as well.
So to build just the intel driver:
In theory something like
./configure --with-gallium-drivers="" --with-dri-drivers=i965
--disable-gallium-llvm
Dave.
More information about the xorg
mailing list