aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/llvmpipe/SConscript')
-rw-r--r--src/gallium/drivers/llvmpipe/SConscript15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/SConscript b/src/gallium/drivers/llvmpipe/SConscript
index f021549c448..fa3047f1651 100644
--- a/src/gallium/drivers/llvmpipe/SConscript
+++ b/src/gallium/drivers/llvmpipe/SConscript
@@ -2,12 +2,17 @@ Import('*')
env = env.Clone()
+env.ParseConfig('llvm-config --cflags --libs jit interpreter nativecodegen')
+
llvmpipe = env.ConvenienceLibrary(
target = 'llvmpipe',
source = [
'lp_fs_exec.c',
'lp_fs_sse.c',
'lp_fs_llvm.c',
+ 'lp_bld_pack.c',
+ 'lp_bld_unpack.c',
+ 'lp_bld_loop.c',
'lp_clear.c',
'lp_context.c',
'lp_draw_arrays.c',
@@ -43,4 +48,12 @@ llvmpipe = env.ConvenienceLibrary(
'lp_tile_cache.c',
])
-Export('softpipe') \ No newline at end of file
+env['LINK'] = env['CXX']
+
+env.Program(
+ target = 'lp_bld_test',
+ source = ['lp_bld_test.c'],
+ LIBS = [llvmpipe] + auxiliaries + env['LIBS'],
+)
+
+Export('llvmpipe')