[blfs-dev] Mesa dependencies, was Re: cups and clang

Ken Moffat zarniwhoop at ntlworld.com
Mon Sep 2 18:45:32 PDT 2013


On Mon, Sep 02, 2013 at 05:55:22PM +0000, David Brodie wrote:
> 
> llvm is also required for the software rasterizer, e.g. using the switches:
> 
 Sorry for the delay in replying, I was on my ATI machine and my kvm
switch has started to play up again.

> --with-llvm-shared-libs \
 yes, that does *imply* llvm, but I see that even on my intel
*without* llvm I've used
--enable-gallium-llvm -with-llvm-shared-libs \
and those switches are silently disregarded.

> --with-gallium-drivers=swrast \
> --with-dri-drivers=swrast
> 
> David
> 
 On the intel box, without llvm, I have
--with-gallium-drivers=svga,swrast
(and no specification for dri drivers)

and the log shows the following:

checking for llvm-config... no

DRI drivers:     i915 i965 nouveau r200 radeon swrast
 (whoops, what a waste of my cycles building r200, radeon, nouveau
 here!)

llvm:            no

Gallium:         yes
Target dirs:     dri-swrast dri-vmwgfx egl-static gbm pipe-loader xa-vmwgfx xvmc-softpipe

 then some warnings from src/mesa/swrast/s_texfilter.c

 and

Making all in swrast
make[5]: Entering directory
`/scratch/working/Mesa-9.2.0/src/mesa/drivers/dri/swrast'
  CC       utils.lo
  CC       drisw_util.lo
  CC       swrast.lo
  CCLD     swrast_dri.la
/bin/mkdir -p ../../../../../lib;
ln -f .libs/swrast_dri.so ../../../../../lib/swrast_dri.so;
make[5]: Leaving directory
`/scratch/working/Mesa-9.2.0/src/mesa/drivers/dri/swrast'

make[3]: Entering directory
`/scratch/working/Mesa-9.2.0/src/gallium/targets/dri-swrast'
  CC       swrast_drm_api.lo
  CC       utils.lo
  CC       drisw_util.lo
  CC       xmlconfig.lo
  CXXLD    swrast_dri.la
/bin/mkdir -p ../../../../lib/gallium
ln -f .libs/swrast_dri.so ../../../../lib/gallium/swrast_dri.so
make[3]: Leaving directory
`/scratch/working/Mesa-9.2.0/src/gallium/targets/dri-swrast'

 So I disagree that llvm is _required_ for swrast.

ĸen
-- 
das eine Mal als Tragödie, dieses Mal als Farce



More information about the blfs-dev mailing list