Merge branch '7.8'
[mesa.git] / src / gallium / drivers / llvmpipe / SConscript
index 13c1a13e87ab4971e9b7be4354789fa01485fdca..0b827281ff9947278003d2b5473eb1a8757588d1 100644 (file)
@@ -1,12 +1,11 @@
 Import('*')
 
-env = env.Clone()
-
-env.Tool('llvm')
-if not env.has_key('LLVM_VERSION'):
-    print 'warning: LLVM not found: not building llvmpipe'
+if not env['llvm']:
+    print 'warning: LLVM disabled: not building llvmpipe'
     Return()
 
+env = env.Clone()
+
 env.Tool('udis86')
 
 env.Append(CPPPATH = ['.'])
@@ -22,13 +21,17 @@ env.CodeGenerate(
 env.Depends('lp_tile_soa.c', [
     '#src/gallium/auxiliary/util/u_format_parse.py', 
     '#src/gallium/auxiliary/util/u_format_pack.py', 
-    '#src/gallium/auxiliary/util/u_format_access.py',
 ])
 
 llvmpipe = env.ConvenienceLibrary(
        target = 'llvmpipe',
        source = [
-               'lp_buffer.c',
+               'lp_bld_alpha.c',
+               'lp_bld_blend_aos.c',
+               'lp_bld_blend_logicop.c',
+               'lp_bld_blend_soa.c',
+               'lp_bld_depth.c',
+               'lp_bld_interp.c',
                'lp_clear.c',
                'lp_context.c',
                'lp_draw_arrays.c',
@@ -70,7 +73,6 @@ if env['platform'] != 'embedded':
     env.Prepend(LIBS = [llvmpipe] + gallium)
 
     tests = [
-        'format',
         'blend',
         'conv',
     ]