[Mesa-dev] [PATCH 3/3] configure.ac: report an error if LLVM shared libs are disabled and CL is enabled

Mike Lothian mike at fireburn.co.uk
Tue Oct 8 16:54:04 PDT 2013


Just had a failure because of this - should the default for shared libs not
be yes now?


On 7 October 2013 13:27, Tom Stellard <tom at stellard.net> wrote:

> On Mon, Oct 07, 2013 at 01:05:15PM +0200, Marek Olšák wrote:
> > From: Marek Olšák <marek.olsak at amd.com>
> >
>
> Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
>
> > ---
> >  configure.ac | 5 +++--
> >  1 file changed, 3 insertions(+), 2 deletions(-)
> >
> > diff --git a/configure.ac b/configure.ac
> > index 559c9a3..6158c6e 100644
> > --- a/configure.ac
> > +++ b/configure.ac
> > @@ -1532,8 +1532,9 @@ AC_ARG_WITH([llvm-shared-libs],
> >      [with_llvm_shared_libs=no])
> >  AS_IF([test x$enable_opencl = xyes],
> >      [
> > -        AC_MSG_WARN([OpenCL required, forcing LLVM shared libraries])
> > -        with_llvm_shared_libs=yes
> > +        if test "x$with_llvm_shared_libs" != xyes; then
> > +            AC_MSG_ERROR([OpenCL requires LLVM shared libraries])
> > +        fi
> >      ])
> >
> >  AC_ARG_WITH([llvm-prefix],
> > --
> > 1.8.1.2
> >
> > _______________________________________________
> > mesa-dev mailing list
> > mesa-dev at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/mesa-dev
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20131008/59827622/attachment.html>


More information about the mesa-dev mailing list