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])
38 testname = 'lp_test_' + test
41 source = [testname + '.c', 'lp_test_main.c'],
43 env.InstallProgram(target)
45 # http://www.scons.org/wiki/UnitTests
46 alias = env.Alias(testname, [target], target[0].abspath)