1 from sys import executable as python_cmd
2 import distutils.version
7 print 'warning: LLVM disabled: not building llvmpipe'
12 llvmpipe = env.ConvenienceLibrary(
14 source = env.ParseSourceList('Makefile.sources', 'C_SOURCES')
17 env.Alias('llvmpipe', llvmpipe)
20 if not env['embedded']:
23 env.Prepend(LIBS = [llvmpipe] + gallium)
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)