summaryrefslogtreecommitdiff
path: root/common.py
AgeCommit message (Collapse)AuthorFilesLines
2011-03-08scons: Fix immediate Python exceptions with SCons on SunOS.Vinson Lee1-1/+1
The build still fails.
2011-02-24scons: Reduce all Cygwin platform names to 'cygwin'.Vinson Lee1-1/+3
platform.system in SCons on Cygwin includes the OS version number. Windows XP - CYGWIN_NT-5.1 Windows Vista - CYGWIN_NT-6.0 Windows 7 - CYGWIN_NT-6.1 Reduce all Cygwin platform variants to just 'cygwin' so anything downstream can simply use 'cygwin' instead of the different full platform names.
2011-02-23scons: Fix Cygwin platform names.Vinson Lee1-1/+1
Fixes immediate Python exceptions with SCons on Cygwin.
2011-02-16scons: Recognize 'AMD64' processor as well.José Fonseca1-0/+1
2011-02-11scons: Try to support building 64bit binaries on 32bit windows.José Fonseca1-10/+2
2011-01-22scons: Add support for GLES.Chia-I Wu1-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.
2011-01-13scons: Fix cross-compilation.José Fonseca1-12/+14
Hairy stuff. Don't know how to do it better though.
2010-12-01scons: Move MSVS_VERSION option to common module.José Fonseca1-0/+1
2010-11-01scons: Revamp how to specify targets to build.José Fonseca1-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.
2010-09-29scons: New build= option, with support for checked builds.José Fonseca1-2/+4
Where checked build is compiler optimizations plus debugging checks -- ideal for testing CPU bound loads and running test automation loads.
2010-08-11scons: Add freebsd8 to list of accepted platforms.Vinson Lee1-1/+1
2010-07-23scons: Add sunos5 to list of accepted platforms.Vinson Lee1-1/+1
2010-06-03scons: Add cygwin to list of accepted platforms.Vinson Lee1-1/+1
2010-05-20scons: Remove debug print statement.Vinson Lee1-2/+0
Fixes Python IndexError exception with default SCons build.
2010-05-20scons: add comments and whitespaceBrian Paul1-0/+9
2010-05-20scons: fix llvm detectionBrian Paul1-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[].
2010-05-19scons: don't set default_llvm on windows unles LLVM is definedKeith Whitwell1-1/+1
Otherwise we'll raise an error later in llvm.py
2010-04-13scons: Fix exception when llvm-config is not present.José Fonseca1-1/+6
2010-04-11scons: Make debug build default.José Fonseca1-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.
2010-04-11scons: Make LLVM a black-white dependency.José Fonseca1-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.
2010-03-31scons: Allow any toolchain to be specified in the command line.José Fonseca1-2/+1
2010-01-26support an 'embedded' platform target which turns off most parts of theAlan Hourihane1-2/+1
build.
2009-12-22scons: Set the default windows platform to be windows userspace.José Fonseca1-1/+1
I thought I had done this ages ago.
2009-09-09Merge branch 'mesa_7_6_branch'Brian Paul1-2/+2
2009-09-09scons: Set default_dri to no for Mac OS.Vinson Lee1-2/+2
Mac OS does not have libdrm.
2009-09-08scons: Add Mac OS to target platform list.Vinson Lee1-1/+1
2009-06-17Revert "scons: Debug build by default."José Fonseca1-1/+1
Per Brian's request. This reverts commit 25f0c33bb3509958a532bdd72b3945c1d5d1cad5.
2009-06-17scons: Debug build by default.José Fonseca1-1/+1
Match what autotools and other build systems do by default.
2009-06-02scons: Output nice summary messages instead of long command lines.José Fonseca1-1/+1
You can still get the old behavior by passing the option quiet=no to scons.
2009-05-08scons: Don't use deprecated Options.José Fonseca1-4/+4
2009-03-25scons: Support building with the Windows SDK.José Fonseca1-1/+1
x86_64 is also supported.
2008-12-15Merge commit 'origin/gallium-0.1' into gallium-0.2Alan Hourihane1-1/+1
Conflicts: src/gallium/winsys/gdi/SConscript
2008-12-12scons: Allow to request the winddk toolchain.José Fonseca1-1/+1
2008-11-20scons: Support MinGW32 cross compiler.José Fonseca1-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
2008-11-18scons: Support MinGW32 cross compiler.José Fonseca1-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
2008-10-23scons: ppc support.Michel Dänzer1-1/+2
2008-06-06scons: Put the tool logic in a frontend tool.José Fonseca1-280/+0
More logic can be shared between public and private branches this way.
2008-06-04scons: Some provisions to cross-compile x86 on x86_64 machines and vice-versa.José Fonseca1-2/+13
2008-06-02gallium: Identify each Windows platform individually from scons.José Fonseca1-2/+4
2008-06-02scons: Set /W3 warning level for all MSVC based platforms.José Fonseca1-3/+5
2008-05-28scons: Play nice with MS Embedded Visual C++.José Fonseca1-3/+21
2008-05-24scons: New profile build.José Fonseca1-1/+13
2008-05-05scons: A few more compiler flags adjustments to match winddk.José Fonseca1-3/+2
2008-05-01scons: Try to cope with scons 0.98+.José Fonseca1-2/+8
2008-04-26scons: Silent MSVC CRT security warnings.José Fonseca1-0/+1
2008-04-25scons: Teach scons about user-land windows.José Fonseca1-3/+156
Actually, more like get rid of all our hacks when compiling for user-land windows. Only MSVC is supported atm though.
2008-03-05scons: Preliminary code for quieting command lines.José Fonseca1-0/+27
2008-03-03scons: Make command line arguments effective again.José Fonseca1-4/+1
2008-02-27scons: Place the .sconsign file on the builddir too.José Fonseca1-0/+3
To avoid issues with different scons versions building the same source file
2008-02-27scons: Move common code to a separate file.José Fonseca1-0/+113