Vinson Lee
27910c42a9
scons: Add cygwin to list of accepted platforms.
15 lat temu
Vinson Lee
0293b1abf5
scons: Remove debug print statement.
Fixes Python IndexError exception with default SCons build.
15 lat temu
Brian Paul
6ca6189e09
scons: add comments and whitespace
15 lat temu
Brian Paul
5c682485b8
scons: fix llvm detection
The test for env['platform'] caused an exception since 'env' is not
defined at that point. Instead, determine the target platform by
scanning sys.argv[].
15 lat temu
Keith Whitwell
a536c204e2
scons: don't set default_llvm on windows unles LLVM is defined
Otherwise we'll raise an error later in llvm.py
15 lat temu
José Fonseca
cd4e5879eb
scons: Fix exception when llvm-config is not present.
15 lat temu
José Fonseca
21780adc2e
scons: Make debug build default.
I've been back and forth on this, but I believe it's worth to have debug
by default.
Most humans (developers, testers) will want to use the debug version by
default. Many build bots want release but they are bots, and humans >
bots, so I don't care that much.
This is part of my initiative of minimizing the scons option mess many
complain about.
15 lat temu
José Fonseca
ea532f0e72
scons: Make LLVM a black-white dependency.
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.
15 lat temu
José Fonseca
711f6428bc
scons: Allow any toolchain to be specified in the command line.
15 lat temu
Alan Hourihane
dea98eb792
support an 'embedded' platform target which turns off most parts of the
build.
15 lat temu
José Fonseca
9cdf6f025b
scons: Set the default windows platform to be windows userspace.
I thought I had done this ages ago.
15 lat temu
José Fonseca
00b463fc30
scons: Set the default windows platform to be windows userspace.
I thought I had done this ages ago.
15 lat temu
Vinson Lee
c3b7f93e02
scons: Add Mac OS to target platform list.
(cherry picked from commit 2c307c7750
)
16 lat temu
Vinson Lee
d27d659043
scons: Set default_dri to no for Mac OS.
Mac OS does not have libdrm.
16 lat temu
Vinson Lee
2c307c7750
scons: Add Mac OS to target platform list.
16 lat temu
José Fonseca
c6f71eabd8
Revert "scons: Debug build by default."
Per Brian's request.
This reverts commit 25f0c33bb3
.
16 lat temu
José Fonseca
25f0c33bb3
scons: Debug build by default.
Match what autotools and other build systems do by default.
16 lat temu
José Fonseca
0f50c4fab8
scons: Output nice summary messages instead of long command lines.
You can still get the old behavior by passing the option quiet=no to scons.
16 lat temu
José Fonseca
0d0417cc75
scons: Don't use deprecated Options.
16 lat temu
José Fonseca
e9fb90ab88
scons: Don't use deprecated Options.
16 lat temu
José Fonseca
26e27ba308
scons: Support building with the Windows SDK.
x86_64 is also supported.
16 lat temu
José Fonseca
fa6ee2c2bb
scons: Allow to request the winddk toolchain.
16 lat temu
José Fonseca
15b92b09e0
scons: Support MinGW32 cross compiler.
To build an alternative opengl32.dll with Gallium's software-rasterizer from a
debian-based distribution run:
sudo apt-get install mingw32
scons platform=windows toolchain=crossmingw machine=x86 winsys=gdi dri=no
17 lat temu
José Fonseca
6cf59e1293
scons: Support MinGW32 cross compiler.
To build an alternative opengl32.dll with Gallium's software-rasterizer from a
debian-based distribution run:
sudo apt-get install mingw32
scons platform=windows toolchain=crossmingw machine=x86 winsys=gdi dri=no
17 lat temu
Michel Dänzer
6b69e3c717
scons: ppc support.
17 lat temu
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 lat temu
José Fonseca
113ab51a8c
scons: Some provisions to cross-compile x86 on x86_64 machines and vice-versa.
17 lat temu
José Fonseca
275fc32d58
gallium: Identify each Windows platform individually from scons.
17 lat temu
José Fonseca
5463420741
scons: Set /W3 warning level for all MSVC based platforms.
17 lat temu
José Fonseca
b215d7d10c
scons: Play nice with MS Embedded Visual C++.
17 lat temu
José Fonseca
059a652d64
scons: New profile build.
17 lat temu
José Fonseca
a3195e9d4e
scons: A few more compiler flags adjustments to match winddk.
17 lat temu
José Fonseca
c9acd439b1
scons: Try to cope with scons 0.98+.
17 lat temu
José Fonseca
1e71283cce
scons: Silent MSVC CRT security warnings.
17 lat temu
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 lat temu
José Fonseca
5aa108214a
scons: Preliminary code for quieting command lines.
17 lat temu
José Fonseca
13174c195e
scons: Make command line arguments effective again.
17 lat temu
José Fonseca
7a678556d4
scons: Place the .sconsign file on the builddir too.
To avoid issues with different scons versions building the same source file
17 lat temu
José Fonseca
9409043c58
scons: Move common code to a separate file.
17 lat temu