summaryrefslogtreecommitdiffstats
path: root/SConstruct
Commit message (Collapse)AuthorAgeFilesLines
* scons: add 'targets' variable, for specifying ... targetsKeith Whitwell2010-05-141-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.
* scons: Add -fvisibility=hidden to CFLAGS for gcc buildsJakob Bornecrantz2010-05-121-1/+2
|
* rbug: No need to have rbug as a inputJakob Bornecrantz2010-05-121-3/+3
|
* rbug: Break out of traceJakob Bornecrantz2010-05-121-4/+6
|
* scons: Include headers from the local include directory first.Vinson Lee2010-04-261-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.
* nvfx: Add to SCons build.Vinson Lee2010-04-241-1/+1
|
* nv50: Add to SCons build.Vinson Lee2010-04-241-1/+1
|
* nouveau: Add to SCons build.Vinson Lee2010-04-241-1/+1
|
* scons: Always build softpipe and llvmpipe (when llvm available).José Fonseca2010-04-111-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.
* scons: Make LLVM a black-white dependency.José Fonseca2010-04-111-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.
* scons: Use libdrm options only where needed.José Fonseca2010-04-111-10/+0
| | | | Prevents needless recompiles when switching dri=yes to no.
* scons: define DRAW_LLVM if we're building itZack Rusin2010-04-061-0/+2
|
* scons: Don't always include/links X11 headers/libs.José Fonseca2010-03-311-12/+0
| | | | | | Move it into a separate tool. TODO: Needs to be "tooled" in each SConscript that uses it.
* scons: Don't always link expat.José Fonseca2010-03-311-1/+0
| | | | Only needed for DRI. Should be linked in DRI specific subdirectories.
* gallium: new raw gallium interface to support standalone testsKeith Whitwell2010-03-281-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.
* i915g: Rename winsys prefix to i915_ from intel_Jakob Bornecrantz2010-03-261-1/+1
| | | | Since the winsys isn't shared with i965 and never will be
* scons: Fixup the libgl-gdi build.José Fonseca2010-03-101-2/+0
|
* python: Fix up state tracker for sw api.José Fonseca2010-03-101-0/+1
|
* scons: Always build the identity driver.José Fonseca2010-03-091-1/+3
|
* scons: Add new targets option.José Fonseca2010-03-091-0/+2
| | | | | This will likely change. Most probably we'll just add an alias to indvidual targets and use the regular scons targets arguments.
* scons: Always build trace driverJosé Fonseca2010-02-251-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 <[email protected]>'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."
* scons: A less magic way of not building progs by default.José Fonseca2010-02-151-6/+7
| | | | | The problem with the old way is that passing 'progs/subdir' as argument would fail.
* scons: Only build progs when explicitly requested in the command line.José Fonseca2010-02-101-5/+6
|
* scons: export drawllvm after actually checking that llvm is presentZack Rusin2010-02-101-7/+6
|
* scons: don't assume llvm is always presentZack Rusin2010-02-091-2/+5
|
* llvmpipe: export the tgsi translation code to a common layerZack Rusin2010-02-081-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.
* define own embedded target and cleanup previous commit.Alan Hourihane2010-01-281-9/+19
|
* Don't define HAVE_POSIX_MEMALIGN for embedded target.Alan Hourihane2010-01-281-1/+2
|
* support an 'embedded' platform target which turns off most parts of theAlan Hourihane2010-01-261-3/+10
| | | | build.
* add missing SCons.UtilAlan Hourihane2010-01-261-0/+1
|
* Allow the environment to override certain flags.Alan Hourihane2010-01-261-0/+11
|
* Merge branch 'mesa_7_7_branch'Brian Paul2010-01-251-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
| * scons: Define _DARWIN_C_SOURCE on Darwin builds.Vinson Lee2010-01-231-0/+2
| |
* | gallium: Provide alternative stdint.h and stdbool.h C99 headers, instead of ↵José Fonseca2010-01-101-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.
* | scons: Don't list cell as a driver.José Fonseca2010-01-011-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.
* | scons: Build progs together with everything else.José Fonseca2010-01-011-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
* | scons: Expose convienience libraries to the host environment.José Fonseca2010-01-011-0/+3
| | | | | | | | | | This fixes MinGW cross compilation build, recently broken due to the use of convenience libraries in the GLSL preprocessor.
* | Merge branch 'i965g-restart'Keith Whitwell2009-12-221-4/+4
|\ \ | | | | | | | | | | | | Conflicts: configure.ac
| * | Merge commit 'origin/master' into i965g-restartKeith Whitwell2009-12-211-4/+4
| |\| | | | | | | | | | | | | | | | | | | Conflicts: SConstruct configs/default configs/linux-dri
| * | i965g: Builds with sconsJakob Bornecrantz2009-11-051-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | But there are some missing symbols, "nm -u i965_dri.so" [SNIP] U brw_surface_bo U brw_surface_pitch U brw_texture_blanket_winsys_buffer U brw_texture_get_winsys_buffer U brw_update_dirty_counts [SNIP]
* | | Merge branch 'master' into glsl-pp-rework-2Michal Krol2009-12-121-4/+4
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | Conflicts: progs/perf/drawoverhead.c progs/perf/teximage.c progs/perf/vbo.c progs/perf/vertexrate.c src/mesa/shader/slang/library/slang_common_builtin_gc.h
| * | svga: Build svga driverJakob Bornecrantz2009-11-171-4/+4
| |/
| * i915g: Drop the simple sufixJakob Bornecrantz2009-10-051-3/+3
| | | | | | | | | | | | None of the other driver have a silly sufix, so just drop it. Nothing new added in this commit or any other commit but this is better marketing.
| * i965g: Drop i965simpleJakob Bornecrantz2009-10-051-1/+1
| | | | | | | | | | | | The driver never work with real hardware and has bitrotted for quite some time now, might as well drop it. If somebody wants to look at it just use git.
* | scons: Get GLSL code building correctly when cross compiling.José Fonseca2009-12-101-0/+19
|/ | | | | This is quite messy. GLSL code has to be built twice: one for the host OS, another for the target OS.
* llvmpipe: Fork softpipe for experimentation with llvm.José Fonseca2009-08-291-2/+2
|
* Add support for building the Xorg state tracker with scons.Michel Dänzer2009-08-251-1/+1
| | | | scons ... statetrackers=xorg
* identity: Add new identity driverJakob Bornecrantz2009-06-241-3/+3
| | | | | | | | | | | | This driver does no transformation of the gallium calls going to the real driver, like the identity matrix. It is intended to be the basis for transforming and/or debug drivers like trace and rbug. Authors of this patch are: Michal Krol, orignal heavy lifting. José Fonesca, object wrapping code stolen from trace. Jakob Bornecrantz, put it all toghether and renamed a stuff.
* scons: Don't use deprecated Options.José Fonseca2009-05-051-5/+5
|
* Add scons build support for radeon/r300.Corbin Simpson2009-04-041-1/+1
|