summaryrefslogtreecommitdiffstats
path: root/common.py
Commit message (Collapse)AuthorAgeFilesLines
* scons: Try to support building 64bit binaries on 32bit windows.José Fonseca2011-02-111-10/+2
|
* scons: Add support for GLES.Chia-I Wu2011-01-221-0/+1
| | | | | | | | | | | | | | | | | | GLES can be enabled by running scons with $ scons gles=yes When gles=yes is given, the build is changed in three ways. First, libmesa.a will be built with FEATURE_ES1 and FEATURE_ES2. This makes DRI drivers and libEGL support and advertise GLES support. Second, GLES libraries will be created. They are libGLESv1_CM, libGLESv2, and libglapi. Last, libGL or opengl32 will link to libglapi. This change is required as _glapi_* will be declared as __declspec(dllimport) in libmesa.a on windows. libmesa.a expects those symbols to be defined in another DLL. Due to this change to GL, GLES support is marked experimental. Note that GLES requires libxml2-python to generate some of its sources.
* scons: Fix cross-compilation.José Fonseca2011-01-131-12/+14
| | | | Hairy stuff. Don't know how to do it better though.
* scons: Move MSVS_VERSION option to common module.José Fonseca2010-12-011-0/+1
|
* scons: Revamp how to specify targets to build.José Fonseca2010-11-011-21/+19
| | | | | | | | | | | | | | | | | | | | | | Use scons target and dependency system instead of ad-hoc options. Now is simply a matter of naming what to build. For example: scons libgl-xlib scons libgl-gdi scons graw-progs scons llvmpipe and so on. And there is also the possibility of scepcified subdirs, e.g. scons src/gallium/drivers If nothing is specified then everything will be build. There might be some rough corners over the next days. Please bare with me.
* scons: New build= option, with support for checked builds.José Fonseca2010-09-291-2/+4
| | | | | Where checked build is compiler optimizations plus debugging checks -- ideal for testing CPU bound loads and running test automation loads.
* scons: Add freebsd8 to list of accepted platforms.Vinson Lee2010-08-111-1/+1
|
* scons: Add sunos5 to list of accepted platforms.Vinson Lee2010-07-231-1/+1
|
* scons: Add cygwin to list of accepted platforms.Vinson Lee2010-06-031-1/+1
|
* scons: Remove debug print statement.Vinson Lee2010-05-201-2/+0
| | | | Fixes Python IndexError exception with default SCons build.
* scons: add comments and whitespaceBrian Paul2010-05-201-0/+9
|
* scons: fix llvm detectionBrian Paul2010-05-201-1/+11
| | | | | | 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[].
* scons: don't set default_llvm on windows unles LLVM is definedKeith Whitwell2010-05-191-1/+1
| | | | Otherwise we'll raise an error later in llvm.py
* scons: Fix exception when llvm-config is not present.José Fonseca2010-04-131-1/+6
|
* scons: Make debug build default.José Fonseca2010-04-111-1/+1
| | | | | | | | | | | | 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.
* scons: Make LLVM a black-white dependency.José Fonseca2010-04-111-1/+7
| | | | | | | 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.
* scons: Allow any toolchain to be specified in the command line.José Fonseca2010-03-311-2/+1
|
* support an 'embedded' platform target which turns off most parts of theAlan Hourihane2010-01-261-2/+1
| | | | build.
* scons: Set the default windows platform to be windows userspace.José Fonseca2009-12-221-1/+1
| | | | I thought I had done this ages ago.
* Merge branch 'mesa_7_6_branch'Brian Paul2009-09-091-2/+2
|\
| * scons: Set default_dri to no for Mac OS.Vinson Lee2009-09-091-2/+2
| | | | | | | | Mac OS does not have libdrm.
| * Revert "scons: Debug build by default."José Fonseca2009-06-171-1/+1
| | | | | | | | | | | | Per Brian's request. This reverts commit 25f0c33bb3509958a532bdd72b3945c1d5d1cad5.
| * scons: Debug build by default.José Fonseca2009-06-171-1/+1
| | | | | | | | Match what autotools and other build systems do by default.
* | scons: Add Mac OS to target platform list.Vinson Lee2009-09-081-1/+1
|/
* scons: Output nice summary messages instead of long command lines.José Fonseca2009-06-021-1/+1
| | | | You can still get the old behavior by passing the option quiet=no to scons.
* scons: Don't use deprecated Options.José Fonseca2009-05-081-4/+4
|
* scons: Support building with the Windows SDK.José Fonseca2009-03-251-1/+1
| | | | x86_64 is also supported.
* Merge commit 'origin/gallium-0.1' into gallium-0.2Alan Hourihane2008-12-151-1/+1
|\ | | | | | | | | | | Conflicts: src/gallium/winsys/gdi/SConscript
| * scons: Allow to request the winddk toolchain.José Fonseca2008-12-121-1/+1
| |
| * scons: Support MinGW32 cross compiler.José Fonseca2008-11-201-0/+2
| | | | | | | | | | | | | | | | 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
* | scons: Support MinGW32 cross compiler.José Fonseca2008-11-181-0/+2
| | | | | | | | | | | | | | | | 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
* | scons: ppc support.Michel Dänzer2008-10-231-1/+2
|/
* scons: Put the tool logic in a frontend tool.José Fonseca2008-06-061-280/+0
| | | | More logic can be shared between public and private branches this way.
* scons: Some provisions to cross-compile x86 on x86_64 machines and vice-versa.José Fonseca2008-06-041-2/+13
|
* gallium: Identify each Windows platform individually from scons.José Fonseca2008-06-021-2/+4
|
* scons: Set /W3 warning level for all MSVC based platforms.José Fonseca2008-06-021-3/+5
|
* scons: Play nice with MS Embedded Visual C++.José Fonseca2008-05-281-3/+21
|
* scons: New profile build.José Fonseca2008-05-241-1/+13
|
* scons: A few more compiler flags adjustments to match winddk.José Fonseca2008-05-051-3/+2
|
* scons: Try to cope with scons 0.98+.José Fonseca2008-05-011-2/+8
|
* scons: Silent MSVC CRT security warnings.José Fonseca2008-04-261-0/+1
|
* scons: Teach scons about user-land windows.José Fonseca2008-04-251-3/+156
| | | | | | | Actually, more like get rid of all our hacks when compiling for user-land windows. Only MSVC is supported atm though.
* scons: Preliminary code for quieting command lines.José Fonseca2008-03-051-0/+27
|
* scons: Make command line arguments effective again.José Fonseca2008-03-031-4/+1
|
* scons: Place the .sconsign file on the builddir too.José Fonseca2008-02-271-0/+3
| | | | To avoid issues with different scons versions building the same source file
* scons: Move common code to a separate file.José Fonseca2008-02-271-0/+113