History log of /external/mesa3d/common.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f07da5aa5e2e6021f02104235429b670f6b468ec 23-Nov-2016 Vinson Lee <vlee@freedesktop.org> scons: Recognize LLVM_CONFIG environment variable.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/common.py
9085f1a9ccdfdfbdd470c871335edf360cf56c58 16-Nov-2016 George Kyriazis <george.kyriazis@intel.com> scons: Add swr compile option

To buils The SWR driver (currently optional, not compiled by default)

v3: add option as opposed to target

Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
/external/mesa3d/common.py
a5fd54f8bf6713312fa5efd7ef5cd125557a0ffe 12-Aug-2016 Charmaine Lee <charmainel@vmware.com> svga: add opt to the list of valid build types

For opt build, add VMX86_STATS to the list of cpp defines.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/common.py
fa46848e51a619aba5a748316fe8fe4c2e17d243 09-Apr-2016 Jose Fonseca <jfonseca@vmware.com> scons: Allow building with Address Sanitizer.

libasan is never linked to shared objects (which doesn't go well with
-z,defs). It must either be linked to the main executable, or (more
practically for OpenGL drivers) be pre-loaded via LD_PRELOAD.

Otherwise works.

I didn't find anything with llvmpipe. I suspect the fact that the
JIT compiled code isn't instrumented means there are lots of errors it
can't catch.

But for non-JIT drivers, the Address/Leak Sanitizers seem like a faster
alternative to Valgrind.

Usage (Ubuntu 15.10):

scons asan=1 libgl-xlib
export LD_LIBRARY_PATH=$PWD/build/linux-x86_64-debug/gallium/targets/libgl-xlib
LD_PRELOAD=libasan.so.2 any-opengl-application

Acked-by: Roland Scheidegger <sroland@vmware.com>
/external/mesa3d/common.py
60f77b22b1e3bbef7e4d1f10012acf830d81ed7b 14-Mar-2015 Vinson Lee <vlee@freedesktop.org> common.py: Fix PEP 8 issues.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/common.py
0582800dd67af7d6137768bf8ee4d52605b94683 01-May-2014 José Fonseca <jfonseca@vmware.com> scons: Don't restrict MSVC_VERSION values.

Saves the trouble of continuously needing to update.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
/external/mesa3d/common.py
d3c0e236f23e66cb2b4a75f5161282b2d15ff73f 14-Apr-2014 José Fonseca <jfonseca@vmware.com> scons: Add an analyze option.

For Clang static code analyzer, the scan-build script will produce more
comprehensive output. Nevertheless you can invoke it as

CC=clang CXX=clang++ scons analyze=1

For MSVC this is the best way to use its static code analysis. Simply
invoke as

scons analyze=1

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/common.py
20e65c92c760404560be629354999314632f8674 07-Jan-2014 Thomas Sondergaard <ts@medical-insight.com> mesa: Preliminary support for MSVC_VERSION=12.0

Cc: "10.0" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/common.py
96b3ca89b153f358de74059151d2b0e8bd884dfa 12-Mar-2013 José Fonseca <jfonseca@vmware.com> scons: Allows choosing VS 10 or 11.

NOTE: Candidate for the stable branches.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/common.py
3d6892c4793ae1fd1ef82d40e4af8004393b0480 12-Aug-2012 Vinson Lee <vlee@freedesktop.org> scons: Add option to enable floating-point textures.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/common.py
5cf693266faebd1fc130709fd7e7b2452bbd156c 24-May-2012 Vinson Lee <vlee@freedesktop.org> scons: Fix SCons build infrastructure for FreeBSD.

This patch gets the FreeBSD SCons build working again. The build still
fails though.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/common.py
5481b5adcf47366ddc641f893e2fa79624cf68ca 17-Jan-2012 Alexander von Gluck IV <kallisti5@unixzen.com> scons: Add more machine architectures to the machine map

* BePC, BeBox, BeMac for Haiku.
* Add sparc architecture as Mesa looks for it.

Signed-off-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/common.py
64ae209d50e2d28f46a3f0c6880e40e94ba23569 16-Jan-2012 Alexander von Gluck IV <kallisti5@unixzen.com> scons: Add Haiku build support

Enables building stock Mesa under the Haiku operating system.
/external/mesa3d/common.py
ccd4d4367f2b4e5aebfc59b832599812a4a1c7d8 29-Nov-2011 Kai Wasserbäch <kai@dev.carbon-project.org> gallium/cell: Remove the driver.

Complicates Gallium3D development and doesn't seem to have active users.

Signed-off-by: Kai Wasserbäch <kai@dev.carbon-project.org>
Signed-off-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/common.py
10b07665be5cff9fa9f03b0f7db459f3b380570d 09-Nov-2011 José Fonseca <jose.r.fonseca@gmail.com> Remove windows kernel support code.

Not actively used.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/common.py
e411cd7b0a54d2f9b9f4cda4918aa7742ed5c2a6 10-Aug-2011 Andreas Fänger <a.faenger@e-sign.com> swrast: initial multi-threaded span rendering

Optional parallel rendering of spans using OpenMP.
Initial implementation for aa triangles. A new option for scons is
also provided to activate the openmp support (off by default).

Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/common.py
2699fce0d69db5158427c8b6c8194b2eefc5e58b 17-Jun-2011 José Fonseca <jfonseca@vmware.com> scons: Buid libGL.so (WIP).
/external/mesa3d/common.py
c9be435c79e2bbc883701c5533ae0490780495be 17-Jun-2011 José Fonseca <jfonseca@vmware.com> scons: Don't list MSVS_VERSION option outside windows platforms.
/external/mesa3d/common.py
c7bd0fa4851187c3102948f5f4d70c26d1b55a5e 17-Jun-2011 José Fonseca <jfonseca@vmware.com> scons: Accept verbose=yes instead of quiet=no.

'verbose' is affirmative, and much more common name for this sort of option.
/external/mesa3d/common.py
41750107496858a047afa8d81d20fe903f285a78 17-Jun-2011 José Fonseca <jfonseca@vmware.com> scons: make embedding orthogonal to the platform

To enable embedding in platforms other than linux.
/external/mesa3d/common.py
c0d3fb4b6c11fd128921c464f753480a137555a0 09-Mar-2011 Vinson Lee <vlee@vmware.com> scons: Fix immediate Python exceptions with SCons on SunOS.

The build still fails.
/external/mesa3d/common.py
eb1780238621c7be0342d9129eb639e4892c004d 25-Feb-2011 Vinson Lee <vlee@vmware.com> scons: Reduce all Cygwin platform names to 'cygwin'.

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.
/external/mesa3d/common.py
100cd214e37265776639c56018270805829ea952 24-Feb-2011 Vinson Lee <vlee@vmware.com> scons: Fix Cygwin platform names.

Fixes immediate Python exceptions with SCons on Cygwin.
/external/mesa3d/common.py
33d8ff9c317eeb1300bc8e189d7b9c00b352323a 15-Feb-2011 José Fonseca <jfonseca@vmware.com> scons: Recognize 'AMD64' processor as well.
/external/mesa3d/common.py
ae760279f142244590c8aa76e3139529ca42952f 11-Feb-2011 José Fonseca <jfonseca@vmware.com> scons: Try to support building 64bit binaries on 32bit windows.
/external/mesa3d/common.py
bb770af3a59e5935c108c05ee45490fc5668d4a3 14-Jan-2011 Chia-I Wu <olv@lunarg.com> scons: Add support for GLES.

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.
/external/mesa3d/common.py
e1bc68b0140fef465cda26b74602aeb1cbcfdafc 13-Jan-2011 José Fonseca <jfonseca@vmware.com> scons: Fix cross-compilation.

Hairy stuff. Don't know how to do it better though.
/external/mesa3d/common.py
792caebced5f8f6dbd7bf23aa8d94230aa786d00 01-Dec-2010 José Fonseca <jfonseca@vmware.com> scons: Move MSVS_VERSION option to common module.
/external/mesa3d/common.py
601498ae73e654c2de997ea75075613a694d604d 01-Nov-2010 José Fonseca <jfonseca@vmware.com> scons: Revamp how to specify targets to build.

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.
/external/mesa3d/common.py
67450f0644f61fc17ab1315124dfe50537d36e9e 29-Sep-2010 José Fonseca <jfonseca@vmware.com> 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.
/external/mesa3d/common.py
4a859cd12fa47811c9f4d3773bb5e3506f89f2b4 12-Aug-2010 Vinson Lee <vlee@vmware.com> scons: Add freebsd8 to list of accepted platforms.
/external/mesa3d/common.py
ac11bdd8315a05d227a81caad86ed7e9980fb980 24-Jul-2010 Vinson Lee <vlee@vmware.com> scons: Add sunos5 to list of accepted platforms.
/external/mesa3d/common.py
27910c42a9769a63855db06035c9874dd2ef5da0 04-Jun-2010 Vinson Lee <vlee@vmware.com> scons: Add cygwin to list of accepted platforms.
/external/mesa3d/common.py
0293b1abf54d0f262c3fe84ab9a3b5c525a95009 21-May-2010 Vinson Lee <vlee@vmware.com> scons: Remove debug print statement.

Fixes Python IndexError exception with default SCons build.
/external/mesa3d/common.py
6ca6189e099a56028f052077be9cb51f09a834a1 20-May-2010 Brian Paul <brianp@vmware.com> scons: add comments and whitespace
/external/mesa3d/common.py
5c682485b872537277951a1f6418d97d211a2651 20-May-2010 Brian Paul <brianp@vmware.com> 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[].
/external/mesa3d/common.py
a536c204e289c46b0d493acfb4ebaf99f2b05189 19-May-2010 Keith Whitwell <keithw@vmware.com> scons: don't set default_llvm on windows unles LLVM is defined

Otherwise we'll raise an error later in llvm.py
/external/mesa3d/common.py
cd4e5879ebd4fe71c5e95d83cdf4a2ebd2fd1e06 13-Apr-2010 José Fonseca <jfonseca@vmware.com> scons: Fix exception when llvm-config is not present.
/external/mesa3d/common.py
21780adc2ed1b10c5c4c71427b8212b8464d065d 10-Apr-2010 José Fonseca <jfonseca@vmware.com> 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.
/external/mesa3d/common.py
ea532f0e725bd68e7784189c9b7f6f7bf7f9d901 10-Apr-2010 José Fonseca <jfonseca@vmware.com> 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.
/external/mesa3d/common.py
711f6428bcc4838abb3f62a2971ee8c53c90eff5 08-Mar-2010 José Fonseca <jfonseca@vmware.com> scons: Allow any toolchain to be specified in the command line.
/external/mesa3d/common.py
dea98eb792b5a0637ff2067d9bfe2f666f01423e 26-Jan-2010 Alan Hourihane <alanh@vmware.com> support an 'embedded' platform target which turns off most parts of the
build.
/external/mesa3d/common.py
00b463fc30b30911797c5d5eaaeae79b7a36589b 18-Dec-2009 José Fonseca <jfonseca@vmware.com> scons: Set the default windows platform to be windows userspace.

I thought I had done this ages ago.
/external/mesa3d/common.py
7bf63473623e01933adc0e8f4464eda8f2860564 09-Sep-2009 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_6_branch'
d27d659043bd7f2bd9a2636209f299cda0664230 09-Sep-2009 Vinson Lee <vlee@vmware.com> scons: Set default_dri to no for Mac OS.

Mac OS does not have libdrm.
/external/mesa3d/common.py
2c307c775018e5b9680de8022ddf0ce3b6f560be 08-Sep-2009 Vinson Lee <vlee@vmware.com> scons: Add Mac OS to target platform list.
/external/mesa3d/common.py
c6f71eabd877e14583725a29790872e96ff4dbb2 17-Jun-2009 José Fonseca <jfonseca@vmware.com> Revert "scons: Debug build by default."

Per Brian's request.

This reverts commit 25f0c33bb3509958a532bdd72b3945c1d5d1cad5.
/external/mesa3d/common.py
25f0c33bb3509958a532bdd72b3945c1d5d1cad5 17-Jun-2009 José Fonseca <jfonseca@vmware.com> scons: Debug build by default.

Match what autotools and other build systems do by default.
/external/mesa3d/common.py
0f50c4fab8acfe291ddd426f331eea5eec66ba13 03-Jun-2009 José Fonseca <jfonseca@vmware.com> 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.
/external/mesa3d/common.py
0d0417cc75c3f7047a783c42a76bf378d8ab1397 01-May-2009 José Fonseca <jfonseca@vmware.com> scons: Don't use deprecated Options.
/external/mesa3d/common.py
26e27ba30884be927cf1bc21d39f32d6096a6678 25-Mar-2009 José Fonseca <jfonseca@vmware.com> scons: Support building with the Windows SDK.

x86_64 is also supported.
/external/mesa3d/common.py
8abc860bd46a6cd584f9a64cb4613be76f82db06 15-Dec-2008 Alan Hourihane <alanh@tungstengraphics.com> Merge commit 'origin/gallium-0.1' into gallium-0.2

Conflicts:

src/gallium/winsys/gdi/SConscript
fa6ee2c2bbf1005090c434c945e63ed2c0de8ec6 12-Dec-2008 José Fonseca <jrfonseca@tungstengraphics.com> scons: Allow to request the winddk toolchain.
/external/mesa3d/common.py
15b92b09e0f066a9d38c445b80b33193a8d9ea14 18-Nov-2008 José Fonseca <jrfonseca@tungstengraphics.com> 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
/external/mesa3d/common.py
6cf59e1293c5777ba5675e6315cbfad3211f9260 18-Nov-2008 José Fonseca <jrfonseca@tungstengraphics.com> 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
/external/mesa3d/common.py
6b69e3c71741d99a54c6f4dcb605a3c241239aeb 23-Oct-2008 Michel Dänzer <michel@tungstengraphics.com> scons: ppc support.
/external/mesa3d/common.py
b04aa714afad014f2cdecc3ded9df0586f685921 06-Jun-2008 José Fonseca <jrfonseca@tungstengraphics.com> scons: Put the tool logic in a frontend tool.

More logic can be shared between public and private branches this way.
/external/mesa3d/common.py
113ab51a8cf767cc95bdc9f6faea6956e17c1da7 04-Jun-2008 José Fonseca <jrfonseca@tungstengraphics.com> scons: Some provisions to cross-compile x86 on x86_64 machines and vice-versa.
/external/mesa3d/common.py
275fc32d588fb6d2b78038f5a97cc2bcd2cd61dc 02-Jun-2008 José Fonseca <jrfonseca@tungstengraphics.com> gallium: Identify each Windows platform individually from scons.
/external/mesa3d/common.py
5463420741744c39849a038b6079a7b46ddcb729 02-Jun-2008 José Fonseca <jrfonseca@tungstengraphics.com> scons: Set /W3 warning level for all MSVC based platforms.
/external/mesa3d/common.py
b215d7d10c011adce839b80f87c0ea03a3edd427 27-May-2008 José Fonseca <jrfonseca@tungstengraphics.com> scons: Play nice with MS Embedded Visual C++.
/external/mesa3d/common.py
059a652d64da470ccc7f2f3266fd64721848a7be 24-May-2008 José Fonseca <jrfonseca@tungstengraphics.com> scons: New profile build.
/external/mesa3d/common.py
a3195e9d4eeb44032c0435f09b3e4a3dbf606777 05-May-2008 José Fonseca <jrfonseca@tungstengraphics.com> scons: A few more compiler flags adjustments to match winddk.
/external/mesa3d/common.py
c9acd439b1af4b037ded324139664cf9832930f8 30-Apr-2008 José Fonseca <jrfonseca@tungstengraphics.com> scons: Try to cope with scons 0.98+.
/external/mesa3d/common.py
1e71283ccee61aa5d774fdef6d7668d3376d3a6d 25-Apr-2008 José Fonseca <jrfonseca@tungstengraphics.com> scons: Silent MSVC CRT security warnings.
/external/mesa3d/common.py
35460fc91cf5311a4cbaee3c577ad8a95ccab1a1 25-Apr-2008 José Fonseca <jrfonseca@tungstengraphics.com> 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.
/external/mesa3d/common.py
5aa108214a21181406ec38a2fd5e82a279348f77 04-Mar-2008 José Fonseca <jrfonseca@tungstengraphics.com> scons: Preliminary code for quieting command lines.
/external/mesa3d/common.py
13174c195e057f443b23df788ea0c10251942189 03-Mar-2008 José Fonseca <jrfonseca@tungstengraphics.com> scons: Make command line arguments effective again.
/external/mesa3d/common.py
7a678556d4311168ac1dacdd613eb7b94684e443 27-Feb-2008 José Fonseca <jrfonseca@tungstengraphics.com> scons: Place the .sconsign file on the builddir too.

To avoid issues with different scons versions building the same source file
/external/mesa3d/common.py
9409043c58bbcac37b439032fc61aff2a0b0d543 27-Feb-2008 José Fonseca <jrfonseca@tungstengraphics.com> scons: Move common code to a separate file.
/external/mesa3d/common.py