Commit Graph

41 Commits

Author SHA1 Message Date
José Fonseca 67450f0644 scons: New build= option, with support for checked builds.
Where checked build is compiler optimizations plus debugging checks --
ideal for testing CPU bound loads and running test automation loads.
2010-09-29 14:17:26 +01:00
Vinson Lee 4a859cd12f scons: Add freebsd8 to list of accepted platforms. 2010-08-11 17:58:06 -07:00
Vinson Lee ac11bdd831 scons: Add sunos5 to list of accepted platforms. 2010-07-23 17:53:35 -07:00
Vinson Lee 27910c42a9 scons: Add cygwin to list of accepted platforms. 2010-06-03 18:41:19 -07:00
Vinson Lee 0293b1abf5 scons: Remove debug print statement.
Fixes Python IndexError exception with default SCons build.
2010-05-20 21:03:03 -07:00
Brian Paul 6ca6189e09 scons: add comments and whitespace 2010-05-20 10:27:12 -06:00
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[].
2010-05-20 10:27:12 -06:00
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
2010-05-19 13:36:05 +01:00
José Fonseca cd4e5879eb scons: Fix exception when llvm-config is not present. 2010-04-13 19:42:29 +09:00
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.
2010-04-11 17:17:34 +09:00
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.
2010-04-11 17:17:34 +09:00
José Fonseca 711f6428bc scons: Allow any toolchain to be specified in the command line. 2010-03-31 18:37:38 +01:00
Alan Hourihane dea98eb792 support an 'embedded' platform target which turns off most parts of the
build.
2010-01-26 20:59:12 +00:00
José Fonseca 00b463fc30 scons: Set the default windows platform to be windows userspace.
I thought I had done this ages ago.
2009-12-22 19:03:56 +00:00
Brian Paul 7bf6347362 Merge branch 'mesa_7_6_branch' 2009-09-09 09:00:58 -06:00
Vinson Lee d27d659043 scons: Set default_dri to no for Mac OS.
Mac OS does not have libdrm.
2009-09-09 08:21:07 -06:00
Vinson Lee 2c307c7750 scons: Add Mac OS to target platform list. 2009-09-08 12:32:37 +01:00
José Fonseca c6f71eabd8 Revert "scons: Debug build by default."
Per Brian's request.

This reverts commit 25f0c33bb3.
2009-06-17 15:24:06 +01:00
José Fonseca 25f0c33bb3 scons: Debug build by default.
Match what autotools and other build systems do by default.
2009-06-17 15:23:24 +01:00
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.
2009-06-02 18:23:12 -07:00
José Fonseca 0d0417cc75 scons: Don't use deprecated Options. 2009-05-08 14:57:27 +01:00
José Fonseca 26e27ba308 scons: Support building with the Windows SDK.
x86_64 is also supported.
2009-03-25 19:24:49 +00:00
Alan Hourihane 8abc860bd4 Merge commit 'origin/gallium-0.1' into gallium-0.2
Conflicts:

	src/gallium/winsys/gdi/SConscript
2008-12-15 11:22:19 +00:00
José Fonseca fa6ee2c2bb scons: Allow to request the winddk toolchain. 2008-12-12 09:47:20 +09:00
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
2008-11-20 23:01:43 +09:00
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
2008-11-18 19:13:32 +09:00
Michel Dänzer 6b69e3c717 scons: ppc support. 2008-10-23 10:28:48 +02:00
José Fonseca b04aa714af scons: Put the tool logic in a frontend tool.
More logic can be shared between public and private branches this way.
2008-06-06 14:55:51 +09:00
José Fonseca 113ab51a8c scons: Some provisions to cross-compile x86 on x86_64 machines and vice-versa. 2008-06-04 23:58:45 +09:00
José Fonseca 275fc32d58 gallium: Identify each Windows platform individually from scons. 2008-06-02 19:46:18 +09:00
José Fonseca 5463420741 scons: Set /W3 warning level for all MSVC based platforms. 2008-06-02 19:46:18 +09:00
José Fonseca b215d7d10c scons: Play nice with MS Embedded Visual C++. 2008-05-28 01:24:06 +09:00
José Fonseca 059a652d64 scons: New profile build. 2008-05-24 19:25:02 +09:00
José Fonseca a3195e9d4e scons: A few more compiler flags adjustments to match winddk. 2008-05-05 23:57:51 +09:00
José Fonseca c9acd439b1 scons: Try to cope with scons 0.98+. 2008-05-01 02:25:23 +09:00
José Fonseca 1e71283cce scons: Silent MSVC CRT security warnings. 2008-04-26 01:55:43 +09:00
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.
2008-04-25 18:16:25 +09:00
José Fonseca 5aa108214a scons: Preliminary code for quieting command lines. 2008-03-05 11:39:11 +01:00
José Fonseca 13174c195e scons: Make command line arguments effective again. 2008-03-03 18:54:45 +01:00
José Fonseca 7a678556d4 scons: Place the .sconsign file on the builddir too.
To avoid issues with different scons versions building the same source file
2008-02-27 20:13:16 +09:00
José Fonseca 9409043c58 scons: Move common code to a separate file. 2008-02-27 17:36:28 +09:00