Vinson Lee
27910c42a9
scons: Add cygwin to list of accepted platforms.
před 15 roky
Vinson Lee
0293b1abf5
scons: Remove debug print statement.
Fixes Python IndexError exception with default SCons build.
před 15 roky
Brian Paul
6ca6189e09
scons: add comments and whitespace
před 15 roky
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[].
před 15 roky
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
před 15 roky
José Fonseca
cd4e5879eb
scons: Fix exception when llvm-config is not present.
před 15 roky
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.
před 15 roky
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.
před 15 roky
José Fonseca
711f6428bc
scons: Allow any toolchain to be specified in the command line.
před 15 roky
Alan Hourihane
dea98eb792
support an 'embedded' platform target which turns off most parts of the
build.
před 15 roky
José Fonseca
9cdf6f025b
scons: Set the default windows platform to be windows userspace.
I thought I had done this ages ago.
před 15 roky
José Fonseca
00b463fc30
scons: Set the default windows platform to be windows userspace.
I thought I had done this ages ago.
před 15 roky
Vinson Lee
c3b7f93e02
scons: Add Mac OS to target platform list.
(cherry picked from commit 2c307c7750
)
před 16 roky
Vinson Lee
d27d659043
scons: Set default_dri to no for Mac OS.
Mac OS does not have libdrm.
před 16 roky
Vinson Lee
2c307c7750
scons: Add Mac OS to target platform list.
před 16 roky
José Fonseca
c6f71eabd8
Revert "scons: Debug build by default."
Per Brian's request.
This reverts commit 25f0c33bb3
.
před 16 roky
José Fonseca
25f0c33bb3
scons: Debug build by default.
Match what autotools and other build systems do by default.
před 16 roky
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.
před 16 roky
José Fonseca
0d0417cc75
scons: Don't use deprecated Options.
před 16 roky
José Fonseca
e9fb90ab88
scons: Don't use deprecated Options.
před 16 roky
José Fonseca
26e27ba308
scons: Support building with the Windows SDK.
x86_64 is also supported.
před 16 roky
José Fonseca
fa6ee2c2bb
scons: Allow to request the winddk toolchain.
před 16 roky
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
před 17 roky
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
před 17 roky
Michel Dänzer
6b69e3c717
scons: ppc support.
před 17 roky
José Fonseca
b04aa714af
scons: Put the tool logic in a frontend tool.
More logic can be shared between public and private branches this way.
před 17 roky
José Fonseca
113ab51a8c
scons: Some provisions to cross-compile x86 on x86_64 machines and vice-versa.
před 17 roky
José Fonseca
275fc32d58
gallium: Identify each Windows platform individually from scons.
před 17 roky
José Fonseca
5463420741
scons: Set /W3 warning level for all MSVC based platforms.
před 17 roky
José Fonseca
b215d7d10c
scons: Play nice with MS Embedded Visual C++.
před 17 roky
José Fonseca
059a652d64
scons: New profile build.
před 17 roky
José Fonseca
a3195e9d4e
scons: A few more compiler flags adjustments to match winddk.
před 17 roky
José Fonseca
c9acd439b1
scons: Try to cope with scons 0.98+.
před 17 roky
José Fonseca
1e71283cce
scons: Silent MSVC CRT security warnings.
před 17 roky
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.
před 17 roky
José Fonseca
5aa108214a
scons: Preliminary code for quieting command lines.
před 17 roky
José Fonseca
13174c195e
scons: Make command line arguments effective again.
před 17 roky
José Fonseca
7a678556d4
scons: Place the .sconsign file on the builddir too.
To avoid issues with different scons versions building the same source file
před 17 roky
José Fonseca
9409043c58
scons: Move common code to a separate file.
před 17 roky