summaryrefslogtreecommitdiff
path: root/SConstruct
AgeCommit message (Collapse)AuthorFilesLines
2010-12-01scons: Move MSVS_VERSION option to common module.José Fonseca1-1/+0
2010-11-01scons: Revamp how to specify targets to build.José Fonseca1-103/+20
Use scons target and dependency system instead of ad-hoc options. Now is simply a matter of naming what to build. For example: scons libgl-xlib scons libgl-gdi scons graw-progs scons llvmpipe and so on. And there is also the possibility of scepcified subdirs, e.g. scons src/gallium/drivers If nothing is specified then everything will be build. There might be some rough corners over the next days. Please bare with me.
2010-09-29scons: New build= option, with support for checked builds.José Fonseca1-1/+1
Where checked build is compiler optimizations plus debugging checks -- ideal for testing CPU bound loads and running test automation loads.
2010-09-03scons: added galahad to driver listBrian Paul1-2/+2
2010-08-26graw: Undo late loading of graw drivers.José Fonseca1-1/+2
Keith prefers a clean separation between graw applications and implementations, where apps do not link libgallium.a but instead get all functionality they need via graw interface. Although this is not incompatible with late loading of graw drivers, it it would make it very hard to maintain, as wrappers for every utility symbol exposed in graw would have to be written or generated somehow.
2010-08-26graw: Remove graw-null.José Fonseca1-2/+1
Pointless now that the graw tests can be built independently of any graw implementation.
2010-08-13scons: Build the new glsl2 code.José Fonseca1-22/+0
2010-06-28glhd: Build with sconsJakob Bornecrantz1-0/+2
2010-06-07graw: update graw_null after interface changes and build graw tests againKeith Whitwell1-1/+2
2010-06-05gallium: always build drivers/swJoakim Sindholt1-0/+2
2010-05-31egl: Use SConscript for Windows build.Chia-I Wu1-1/+1
Fix several portability issues and add SConscript for Windows build.
2010-05-27r600g: Integrate into buildJakob Bornecrantz1-2/+2
Signed-off-by: Jakob Bornecrantz <wallbraker@gmail.com>
2010-05-21mesa: disable building the removed demos with sconsBrian Paul1-5/+0
2010-05-14scons: add 'targets' variable, for specifying ... targetsKeith Whitwell1-0/+23
Ideally scons should be able to work backwards from the list of targets to figure out which drivers, state trackers and other convenience libraries need to be built.
2010-05-12scons: Add -fvisibility=hidden to CFLAGS for gcc buildsJakob Bornecrantz1-1/+2
2010-05-12rbug: No need to have rbug as a inputJakob Bornecrantz1-3/+3
2010-05-12rbug: Break out of traceJakob Bornecrantz1-4/+6
2010-04-26scons: Include headers from the local include directory first.Vinson Lee1-1/+3
Certain headers, such as GL/glew.h, are in both the Mesa include and the default installed include directories. On recent distros the needed symbols can be found in both places. On older distros the installed headers could be lacking symbols, so for a header that exists in both places, the local one should be found first.
2010-04-24nvfx: Add to SCons build.Vinson Lee1-1/+1
2010-04-24nv50: Add to SCons build.Vinson Lee1-1/+1
2010-04-24nouveau: Add to SCons build.Vinson Lee1-1/+1
2010-04-11scons: Always build softpipe and llvmpipe (when llvm available).José Fonseca1-1/+5
These are our reference software rasterizers. They can build everywhere and are a precious debugging tool. Making them always present immensily simplifies the scons logic. If people want to avoid building it is still possible to pass direcotries and target names to scons to narrow the build.
2010-04-11scons: Make LLVM a black-white dependency.José Fonseca1-14/+0
Now that draw depends on llvm it is very difficult to correctly handle broken llvm installations. Either the user requests LLVM and it needs to supply a working installation. Or it doesn't, and it gets no LLVM accelerate pipe drivers.
2010-04-11scons: Use libdrm options only where needed.José Fonseca1-10/+0
Prevents needless recompiles when switching dri=yes to no.
2010-04-06scons: define DRAW_LLVM if we're building itZack Rusin1-0/+2
2010-03-31scons: Don't always include/links X11 headers/libs.José Fonseca1-12/+0
Move it into a separate tool. TODO: Needs to be "tooled" in each SConscript that uses it.
2010-03-31scons: Don't always link expat.José Fonseca1-1/+0
Only needed for DRI. Should be linked in DRI specific subdirectories.
2010-03-28gallium: new raw gallium interface to support standalone testsKeith Whitwell1-1/+1
Provides basic window system integration behind a simple interface, allowing tests to be written without dependency on either the driver or window system. With a lot of work, could turn into something like glut for gallium.
2010-03-26i915g: Rename winsys prefix to i915_ from intel_Jakob Bornecrantz1-1/+1
Since the winsys isn't shared with i965 and never will be
2010-03-10scons: Fixup the libgl-gdi build.José Fonseca1-2/+0
2010-03-10python: Fix up state tracker for sw api.José Fonseca1-0/+1
2010-03-09scons: Always build the identity driver.José Fonseca1-1/+3
2010-03-09scons: Add new targets option.José Fonseca1-0/+2
This will likely change. Most probably we'll just add an alias to indvidual targets and use the regular scons targets arguments.
2010-02-25scons: Always build trace driverJosé Fonseca1-0/+4
There are so many state trackers and winsys that rely on it for debug building, and trace can really build anywhere and is thin so there's no point is making it an option. Based on Xavier Chantry <chantry.xavier@gmail.com>'s patch: "I also removed the trace check in xlib SConscript which is now useless, and that script seems to deal with the cell driver, so I added cell in the check for supported drivers."
2010-02-15scons: A less magic way of not building progs by default.José Fonseca1-6/+7
The problem with the old way is that passing 'progs/subdir' as argument would fail.
2010-02-10scons: Only build progs when explicitly requested in the command line.José Fonseca1-5/+6
2010-02-10scons: export drawllvm after actually checking that llvm is presentZack Rusin1-7/+6
2010-02-09scons: don't assume llvm is always presentZack Rusin1-2/+5
2010-02-08llvmpipe: export the tgsi translation code to a common layerZack Rusin1-8/+8
the llvmpipe tgsi translation is a lot more complete than what was in gallivm so replacing the latter with the former. this is needed since the draw llvm paths will use the same code. effectively the proven llvmpipe code becomes gallivm.
2010-01-28define own embedded target and cleanup previous commit.Alan Hourihane1-9/+19
2010-01-28Don't define HAVE_POSIX_MEMALIGN for embedded target.Alan Hourihane1-1/+2
2010-01-26support an 'embedded' platform target which turns off most parts of theAlan Hourihane1-3/+10
build.
2010-01-26add missing SCons.UtilAlan Hourihane1-0/+1
2010-01-26Allow the environment to override certain flags.Alan Hourihane1-0/+11
2010-01-25Merge branch 'mesa_7_7_branch'Brian Paul1-0/+2
Conflicts: src/mesa/drivers/dri/intel/intel_screen.c src/mesa/drivers/dri/intel/intel_swapbuffers.c src/mesa/drivers/dri/r300/r300_emit.c src/mesa/drivers/dri/r300/r300_ioctl.c src/mesa/drivers/dri/r300/r300_tex.c src/mesa/drivers/dri/r300/r300_texstate.c
2010-01-23scons: Define _DARWIN_C_SOURCE on Darwin builds.Vinson Lee1-0/+2
2010-01-10gallium: Provide alternative stdint.h and stdbool.h C99 headers, instead of ↵José Fonseca1-0/+3
ad-hoc definitions. Everybody is using the C99's integer types. Everybody except Microsoft, which in turns means everybody is including their own definitions of C99 integer types for MSVC, causing duplicate definitions when linking two projects. This is the case of building Gallium and LLVM with MSVC. Shipping alternative stdint.h and stdbool.h headers for MSVC allows us to share a single definition. It also removes clutter from the Gallium headers.
2010-01-01scons: Don't list cell as a driver.José Fonseca1-1/+1
Cell driver's SConscript never got written, and it is not trivial one to write, so don't accept cell in the driver option to avoid confusion.
2010-01-01scons: Build progs together with everything else.José Fonseca1-1/+7
This is a substantial reorganization, This particular commit enables: - building the progs for unices platforms - glew is now built as a shared library (it is the default, and it is inconvenient and pointless to shift away from that default) - all progs get built by default
2010-01-01scons: Expose convienience libraries to the host environment.José Fonseca1-0/+3
This fixes MinGW cross compilation build, recently broken due to the use of convenience libraries in the GLSL preprocessor.