José Fonseca
8c7d39cc83
scons: A less magic way of not building progs by default.
The problem with the old way is that passing 'progs/subdir' as argument
would fail.
15 years ago
José Fonseca
f6a16dfa97
scons: Only build progs when explicitly requested in the command line.
15 years ago
Zack Rusin
08e2eab8a4
scons: export drawllvm after actually checking that llvm is present
15 years ago
Zack Rusin
43f8a82a76
scons: don't assume llvm is always present
15 years ago
Zack Rusin
c61bf36393
llvmpipe: export the tgsi translation code to a common layer
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.
15 years ago
Alan Hourihane
32e6043150
define own embedded target and cleanup previous commit.
15 years ago
Alan Hourihane
75cd6f3ece
Don't define HAVE_POSIX_MEMALIGN for embedded target.
15 years ago
Alan Hourihane
dea98eb792
support an 'embedded' platform target which turns off most parts of the
build.
15 years ago
Alan Hourihane
550fc19a5f
add missing SCons.Util
15 years ago
Alan Hourihane
6544be6223
Allow the environment to override certain flags.
15 years ago
Vinson Lee
d57ba16ae3
scons: Define _DARWIN_C_SOURCE on Darwin builds.
15 years ago
José Fonseca
dc6bcc92ee
gallium: Provide alternative stdint.h and stdbool.h C99 headers, instead of 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.
15 years ago
José Fonseca
89d778ff02
scons: Don't list cell as a driver.
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.
15 years ago
José Fonseca
7bbf7f94ea
scons: Build progs together with everything else.
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
15 years ago
José Fonseca
97e2c5ac0b
scons: Expose convienience libraries to the host environment.
This fixes MinGW cross compilation build, recently broken due to the use
of convenience libraries in the GLSL preprocessor.
15 years ago
José Fonseca
491f384c39
scons: Get GLSL code building correctly when cross compiling.
This is quite messy. GLSL code has to be built twice: one for the
host OS, another for the target OS.
16 years ago
Jakob Bornecrantz
60769b232c
svga: Build svga driver
16 years ago
Jakob Bornecrantz
47cbbb7253
i965g: Builds with scons
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]
16 years ago
Jakob Bornecrantz
f00da2a3ff
i915g: Drop the simple sufix
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.
16 years ago
Jakob Bornecrantz
c4b821a4c6
i965g: Drop i965simple
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.
16 years ago
José Fonseca
946f432a08
llvmpipe: Fork softpipe for experimentation with llvm.
16 years ago
Michel Dänzer
d22bd1421c
Add support for building the Xorg state tracker with scons.
scons ... statetrackers=xorg
16 years ago
Jakob Bornecrantz
d60b2c6855
identity: Add new identity driver
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.
16 years ago
José Fonseca
0d0417cc75
scons: Don't use deprecated Options.
16 years ago
José Fonseca
e9fb90ab88
scons: Don't use deprecated Options.
16 years ago
Corbin Simpson
b7ffe1e876
Add scons build support for radeon/r300.
16 years ago
Michel Dänzer
2b6235c9f7
scons: Also link in additional LLVM components.
They don't seem necessary here, but they shouldn't hurt either...
16 years ago
Jakob Bornecrantz
056f847e96
gallium: Also disable i965simple for scons
Please read previous commit for more info.
16 years ago
Corbin Simpson
e9b08e7373
Make r300 and amd build in scons.
16 years ago
José Fonseca
9bf83fb016
scons: Build the progs into seperate dirs as well.
16 years ago
Michel Dänzer
359bbe7432
gallivm: Explicitly specify the LLVM components we need.
16 years ago
Michel Dänzer
6b69e3c717
scons: ppc support.
17 years ago
Jonathan White
3c81992676
Added command line option for Scons to select which version of MSVS to use. Versions 7.1, 8.0 and 9.0 are allowed. Usage is scons MSVS_VERSION=8.0.
17 years ago
José Fonseca
f52db6cd44
scons: Build the trace pipe driver by default.
17 years ago
José Fonseca
35355f7610
trace: New pipe driver to trace incoming calls.
Only pipe_screen calls traced, and only linux supported, for now.
17 years ago
José Fonseca
2c4349aa3a
python: Move the python scons code to a separate tool module.
17 years ago
José Fonseca
6410e94b96
python: New state tracker which exposes the pipe driver to python scripts.
Still under development. Just barely works.
17 years ago
José Fonseca
fb4361a93d
scons: Fix typo.
17 years ago
José Fonseca
18953a8771
scons: Don't force MSVS 2003.
17 years ago
José Fonseca
b04aa714af
scons: Put the tool logic in a frontend tool.
More logic can be shared between public and private branches this way.
17 years ago
Jonathan White
fe1a2d1fff
egl: assorted fixes for Windows
Note that int32_t is typedef'd both in p_compiler.h and eglplatform.h
17 years ago
José Fonseca
5a67df6d7c
scons: Integrate gdi winsys.
Conditional build of the winsys based on the platform.
17 years ago
José Fonseca
ffc6afcdbf
scons: Enable mesa state tracker in all platforms by default.
But only actually build it on some. This results in a better default
scons experience.
17 years ago
José Fonseca
b215d7d10c
scons: Play nice with MS Embedded Visual C++.
17 years ago
José Fonseca
658f5e7213
scons: A few fixes for building mesa on windows.
17 years ago
José Fonseca
a7ce6d3992
scons: More windows userspace fixes.
17 years ago
José Fonseca
35460fc91c
scons: Teach scons about user-land windows.
Actually, more like get rid of all our hacks when compiling for
user-land windows.
Only MSVC is supported atm though.
17 years ago
José Fonseca
4f17bd270e
scons: Faithfully mimic every WINDDK builtin compiler/linker option.
17 years ago
José Fonseca
5aa108214a
scons: Preliminary code for quieting command lines.
17 years ago
Michel Dänzer
72c9d4a660
gallium: Only use C++ compiler for linking when using LLVM.
Otherwise, the shared objects needlessly link against the C++ runtime
environment.
17 years ago