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 vuotta sitten
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 vuotta sitten
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.
15 vuotta sitten
Jakob Bornecrantz
60769b232c
svga: Build svga driver
15 vuotta sitten
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]
15 vuotta sitten
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 vuotta sitten
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 vuotta sitten
José Fonseca
946f432a08
llvmpipe: Fork softpipe for experimentation with llvm.
16 vuotta sitten
Michel Dänzer
d22bd1421c
Add support for building the Xorg state tracker with scons.
scons ... statetrackers=xorg
16 vuotta sitten
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 vuotta sitten
José Fonseca
0d0417cc75
scons: Don't use deprecated Options.
16 vuotta sitten
José Fonseca
e9fb90ab88
scons: Don't use deprecated Options.
16 vuotta sitten
Corbin Simpson
b7ffe1e876
Add scons build support for radeon/r300.
16 vuotta sitten
Michel Dänzer
2b6235c9f7
scons: Also link in additional LLVM components.
They don't seem necessary here, but they shouldn't hurt either...
16 vuotta sitten
Jakob Bornecrantz
056f847e96
gallium: Also disable i965simple for scons
Please read previous commit for more info.
16 vuotta sitten
Corbin Simpson
e9b08e7373
Make r300 and amd build in scons.
16 vuotta sitten
José Fonseca
9bf83fb016
scons: Build the progs into seperate dirs as well.
16 vuotta sitten
Michel Dänzer
359bbe7432
gallivm: Explicitly specify the LLVM components we need.
16 vuotta sitten
Michel Dänzer
6b69e3c717
scons: ppc support.
17 vuotta sitten
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 vuotta sitten
José Fonseca
f52db6cd44
scons: Build the trace pipe driver by default.
17 vuotta sitten
José Fonseca
35355f7610
trace: New pipe driver to trace incoming calls.
Only pipe_screen calls traced, and only linux supported, for now.
17 vuotta sitten
José Fonseca
2c4349aa3a
python: Move the python scons code to a separate tool module.
17 vuotta sitten
José Fonseca
6410e94b96
python: New state tracker which exposes the pipe driver to python scripts.
Still under development. Just barely works.
17 vuotta sitten
José Fonseca
fb4361a93d
scons: Fix typo.
17 vuotta sitten
José Fonseca
18953a8771
scons: Don't force MSVS 2003.
17 vuotta sitten
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 vuotta sitten
Jonathan White
fe1a2d1fff
egl: assorted fixes for Windows
Note that int32_t is typedef'd both in p_compiler.h and eglplatform.h
17 vuotta sitten
José Fonseca
5a67df6d7c
scons: Integrate gdi winsys.
Conditional build of the winsys based on the platform.
17 vuotta sitten
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 vuotta sitten
José Fonseca
b215d7d10c
scons: Play nice with MS Embedded Visual C++.
17 vuotta sitten
José Fonseca
658f5e7213
scons: A few fixes for building mesa on windows.
17 vuotta sitten
José Fonseca
a7ce6d3992
scons: More windows userspace fixes.
17 vuotta sitten
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 vuotta sitten
José Fonseca
4f17bd270e
scons: Faithfully mimic every WINDDK builtin compiler/linker option.
17 vuotta sitten
José Fonseca
5aa108214a
scons: Preliminary code for quieting command lines.
17 vuotta sitten
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 vuotta sitten
José Fonseca
9a76798112
scons: Force C++ linkage.
We have some C++ code (LLVM), which must be linked with g++ on certain
platforms. SCons tries to guess when to use g++ by looking to the source files,
but this fails, if the C++ code is not list in the command line, but inside in
the library.
17 vuotta sitten
José Fonseca
13174c195e
scons: Make command line arguments effective again.
17 vuotta sitten
José Fonseca
9409043c58
scons: Move common code to a separate file.
17 vuotta sitten
José Fonseca
67099cd7b9
scons: Autodetect the default machine.
17 vuotta sitten
José Fonseca
a6044bdf74
Revert "scons: Prefer MSVS 2003 (patch by Mark Mueller)."
This reverts commit 19f6e1a975
.
17 vuotta sitten
José Fonseca
19f6e1a975
scons: Prefer MSVS 2003 (patch by Mark Mueller).
17 vuotta sitten
José Fonseca
6d336588ed
scons: Properly generate PDB files on MSVC.
17 vuotta sitten
José Fonseca
c8b069cc1e
Get more debugging info out of MSVC.
17 vuotta sitten
José Fonseca
efd336887f
Cleanup scons files.
17 vuotta sitten
José Fonseca
e70a431c3d
A few more tweaks to get correct WINDDK compilation.
17 vuotta sitten
José Fonseca
58a3d7dfd9
Revamp scons usage.
17 vuotta sitten
José Fonseca
26c57d1630
Avoid building problematic module/drivers on windows.
17 vuotta sitten
José Fonseca
d710a7cfb2
Windows (DDK) compilation support.
It also works when cross compiling with Wine.
17 vuotta sitten