summaryrefslogtreecommitdiff
path: root/SConstruct
AgeCommit message (Collapse)AuthorFilesLines
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.
2009-12-22Merge branch 'i965g-restart'Keith Whitwell1-4/+4
Conflicts: configure.ac
2009-12-21Merge commit 'origin/master' into i965g-restartKeith Whitwell1-4/+4
Conflicts: SConstruct configs/default configs/linux-dri
2009-12-12Merge branch 'master' into glsl-pp-rework-2Michal Krol1-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
2009-12-10scons: Get GLSL code building correctly when cross compiling.José Fonseca1-0/+19
This is quite messy. GLSL code has to be built twice: one for the host OS, another for the target OS.
2009-11-17svga: Build svga driverJakob Bornecrantz1-4/+4
2009-11-05i965g: Builds with sconsJakob Bornecrantz1-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]
2009-10-05i915g: Drop the simple sufixJakob Bornecrantz1-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.
2009-10-05i965g: Drop i965simpleJakob Bornecrantz1-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.
2009-08-29llvmpipe: Fork softpipe for experimentation with llvm.José Fonseca1-2/+2
2009-08-25Add support for building the Xorg state tracker with scons.Michel Dänzer1-1/+1
scons ... statetrackers=xorg
2009-06-24identity: Add new identity driverJakob Bornecrantz1-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.
2009-05-05scons: Don't use deprecated Options.José Fonseca1-5/+5
2009-04-04Add scons build support for radeon/r300.Corbin Simpson1-1/+1
2009-03-09scons: Also link in additional LLVM components.Michel Dänzer1-1/+1
They don't seem necessary here, but they shouldn't hurt either...
2009-02-18gallium: Also disable i965simple for sconsJakob Bornecrantz1-1/+1
Please read previous commit for more info.
2009-02-01Make r300 and amd build in scons.Corbin Simpson1-2/+2
2009-01-24scons: Build the progs into seperate dirs as well.José Fonseca1-1/+1
2009-01-12gallivm: Explicitly specify the LLVM components we need.Michel Dänzer1-1/+1
2008-10-23scons: ppc support.Michel Dänzer1-0/+2
2008-08-29Added command line option for Scons to select which version of MSVS to use. ↵Jonathan White1-0/+2
Versions 7.1, 8.0 and 9.0 are allowed. Usage is scons MSVS_VERSION=8.0.
2008-08-21scons: Build the trace pipe driver by default.José Fonseca1-2/+2
2008-08-07trace: New pipe driver to trace incoming calls.José Fonseca1-1/+1
Only pipe_screen calls traced, and only linux supported, for now.
2008-07-15python: Move the python scons code to a separate tool module.José Fonseca1-1/+1
2008-07-13python: New state tracker which exposes the pipe driver to python scripts.José Fonseca1-4/+3
Still under development. Just barely works.
2008-06-27scons: Fix typo.José Fonseca1-1/+1
2008-06-06scons: Don't force MSVS 2003.José Fonseca1-1/+0
2008-06-06scons: Put the tool logic in a frontend tool.José Fonseca1-29/+7
More logic can be shared between public and private branches this way.
2008-06-05egl: assorted fixes for WindowsJonathan White1-0/+1
Note that int32_t is typedef'd both in p_compiler.h and eglplatform.h
2008-06-03scons: Integrate gdi winsys.José Fonseca1-2/+2
Conditional build of the winsys based on the platform.
2008-05-31scons: Enable mesa state tracker in all platforms by default.José Fonseca1-2/+3
But only actually build it on some. This results in a better default scons experience.
2008-05-28scons: Play nice with MS Embedded Visual C++.José Fonseca1-1/+4
2008-04-26scons: A few fixes for building mesa on windows.José Fonseca1-6/+0
2008-04-25scons: More windows userspace fixes.José Fonseca1-1/+1