1 from sys import executable as python_cmd
2 import distutils.version
7 print 'warning: LLVM disabled: not building llvmpipe'
14 llvmpipe = env.ConvenienceLibrary(
16 source = env.ParseSourceList('Makefile.sources', 'C_SOURCES')
19 env.Alias('llvmpipe', llvmpipe)
22 if not env['embedded']:
25 env.Prepend(LIBS = [llvmpipe, gallium, mesautil])
36 testname = 'lp_test_' + test
39 source = [testname + '.c', 'lp_test_main.c'],
41 env.InstallProgram(target)
43 # http://www.scons.org/wiki/UnitTests
44 alias = env.Alias(testname, [target], target[0].abspath)