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.Append(CXXFLAGS = env['LLVM_CXXFLAGS'])
19 env.Alias('llvmpipe', llvmpipe)
21 if not env['embedded']:
24 env.Prepend(LIBS = [llvmpipe] + gallium)
37 testname = 'lp_test_' + test
40 source = [testname + '.c', 'lp_test_main.c'],
42 env.InstallProgram(target)
44 # http://www.scons.org/wiki/UnitTests
45 alias = env.Alias(testname, [target], target[0].abspath)