diff options
author | José Fonseca <[email protected]> | 2008-02-19 10:50:39 +0900 |
---|---|---|
committer | José Fonseca <[email protected]> | 2008-02-19 14:01:49 +0900 |
commit | e773a813cf475e2a7ad79ea1ec698bf2530d0433 (patch) | |
tree | 0678d21df2276069a588399e3becf1689030ed39 /src/gallium | |
parent | e279b1c57ac8d17703d80f1b644fd1d4f115101b (diff) |
Initial scons support to build gallivm.
Not yet complete.
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/SConscript | 6 | ||||
-rw-r--r-- | src/gallium/auxiliary/gallivm/SConscript | 16 |
2 files changed, 21 insertions, 1 deletions
diff --git a/src/gallium/SConscript b/src/gallium/SConscript index ea55ed2ed55..c505eee792c 100644 --- a/src/gallium/SConscript +++ b/src/gallium/SConscript @@ -13,9 +13,13 @@ SConscript([ 'auxiliary/tgsi/SConscript', 'auxiliary/cso_cache/SConscript', 'auxiliary/draw/SConscript', - #'auxiliary/gallivm/SConscript', 'auxiliary/pipebuffer/SConscript', +]) + +if llvm: + SConscript(['auxiliary/gallivm/SConscript']) +SConscript([ 'drivers/softpipe/SConscript', 'drivers/i915simple/SConscript', 'drivers/i965simple/SConscript', diff --git a/src/gallium/auxiliary/gallivm/SConscript b/src/gallium/auxiliary/gallivm/SConscript new file mode 100644 index 00000000000..c0aa51b90a9 --- /dev/null +++ b/src/gallium/auxiliary/gallivm/SConscript @@ -0,0 +1,16 @@ +Import('*') + +gallivm = env.ConvenienceLibrary( + target = 'gallivm', + source = [ + 'gallivm.cpp', + 'gallivm_cpu.cpp', + 'instructions.cpp', + 'loweringpass.cpp', + 'tgsitollvm.cpp', + 'storage.cpp', + 'storagesoa.cpp', + 'instructionssoa.cpp', + ]) + +auxiliaries.insert(0, gallivm) |