History log of /external/mesa3d/scons/gallium.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a2f28ceea22254f09ee37039eec873ccdf689e6c 19-Sep-2012 Matt Turner <mattst88@gmail.com> build: Use AX_PTHREAD's HAVE_PTHREAD preprocessor definition
(cherry picked from commit 814345f54b74eee2597cf84f3c34817488f07522)

Conflicts:

src/mapi/glapi/gen/gl_x86-64_asm.py
src/mapi/glapi/gen/gl_x86_asm.py
/external/mesa3d/scons/gallium.py
de92b7adca78da1709a7d4d5ac85c961323ece1f 31-Aug-2012 Vinson Lee <vlee@freedesktop.org> scons: Remove leftover print statement.

Remove print statement left over from commit
c57fb034b19156e06e2ec25d9b06a0e174d861c9.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
(cherry picked from commit f3bb6bd9b37d58ec16aac09d41546bd4702ecab8)
/external/mesa3d/scons/gallium.py
7b676fd738691dba283fb17626026774b790cc0d 30-Aug-2012 Vinson Lee <vlee@freedesktop.org> scons: Add default libraries to Solaris build.

Fixes SCons build on Solaris.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=54293
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/scons/gallium.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/scons/gallium.py
8734584952ea257d53ce421959bd9706345f221f 01-Aug-2012 Vinson Lee <vlee@freedesktop.org> scons: Add support for Intel Compiler.

The patch makes the SCons build with Intel Compiler successful.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/scons/gallium.py
4f109ca4e8ca2c1f0a60b52fa79dd907777e8bee 25-Jul-2012 Vinson Lee <vlee@freedesktop.org> scons: Fix build with clang.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/scons/gallium.py
5b8d80a7831fb5ef8bf1c7cc21493432ab256387 11-Jul-2012 José Fonseca <jfonseca@vmware.com> scons: Remove -ffast-math.

We rely on proper IEEE 754 behavior in too many places for this.

See also commit 2fdbbeca43e7b57095774e4228e6eea75a180fab with equivalent
change for autoconf.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
/external/mesa3d/scons/gallium.py
bd3aab8d7915b0bc5829a32964955d9da84bef3b 12-Jul-2012 José Fonseca <jfonseca@vmware.com> scons: Also require recent XCB.

And don't trip when it's not found -- simply skip building src/glx.
/external/mesa3d/scons/gallium.py
ee99647e02fe5b947838cfea276f095775eb1537 16-Jun-2012 Vinson Lee <vlee@freedesktop.org> scons: Do not build svga if using Solaris Studio C compiler.

Solaris Studio C compiler does not support anonymous structs and
anonymous unions.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/scons/gallium.py
cb3054c849d8485af53da6a61b31b5c4e4eeb95d 14-Jun-2012 Alexander von Gluck IV <kallisti5@unixzen.com> scons: Fix Haiku binary optimizations

Haiku targets the Pentium or higher processor.
To ensure compatibility we can do march 586 and
mtune 686. Mesa will still use sse however if
the cpu supports it (and the stack is properly
aligned). These flags only effect the internal
compiler optimizations.
/external/mesa3d/scons/gallium.py
699e3b98214b52579e186594c21b972ea4cb4037 07-Feb-2012 Dave Airlie <airlied@redhat.com> scons: fix typo in package version

pointed out on irc by GArik_

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/scons/gallium.py
2470e918cc29e5d057a28551ce9c15e7d83fab7e 07-Feb-2012 José Fonseca <jfonseca@vmware.com> scons: Require same pkg-config versions as configure.
/external/mesa3d/scons/gallium.py
335d49ef1581c2954cfa17a5c603ca54dd770a89 25-Jan-2012 Marek Olšák <maraeo@gmail.com> scons: don't add -Wmissing-field-initializers

The warning is absolutely useless. It doesn't actually say that there are
uninitialized variables. It points out the fact that there are missing
initializers and that variables are initialized to zero implicitly, which is
exactly what we want and what we commonly make use of.

C90 and C99 require all unspecified variables in the initializer list to be set
to zero.
/external/mesa3d/scons/gallium.py
183133271c04c551f41d87baae17356ad4e9b384 16-Jan-2012 Alexander von Gluck IV <kallisti5@unixzen.com> scons: Don't set visibility to hidden on Haiku

The Haiku swrast driver is out of tree.
/external/mesa3d/scons/gallium.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/scons/gallium.py
f9b2d2fea586f772551abbb675970b71b2fdf8c9 10-Jan-2012 José Fonseca <jfonseca@vmware.com> scons: Fix libGL.so build.
/external/mesa3d/scons/gallium.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/scons/gallium.py
1d1c0fa2f31de5190909c869452ae9a2e23bba00 09-Nov-2011 José Fonseca <jfonseca@vmware.com> scons: Disable deprecated POSIX name MSVC warnings.
/external/mesa3d/scons/gallium.py
97213fd7417bae8ef65cd3a30c26968a45a6df94 03-Nov-2011 José Fonseca <jfonseca@vmware.com> scons: Use -static-libstdc++ on 32bits builds w/ Mingw-w64 too.
/external/mesa3d/scons/gallium.py
983fa4ad523535debf2e94cf6ac1fd4c5630c0d2 12-Oct-2011 José Fonseca <jfonseca@vmware.com> scons: Use -fno-builtin-memcmp.

ipers framerate on llmvpipe improves 60%.

Issue spotted by Adam Jackson <ajax at redhat.com>.

http://lists.freedesktop.org/archives/mesa-dev/2011-June/009077.html
/external/mesa3d/scons/gallium.py
2864f723d111810532fab7697ad7badf161f45ab 08-Sep-2011 José Fonseca <jfonseca@vmware.com> scons: Use -g instead of -g3.

-g3 causes binaries to be 3x - 10x bigger, not only on MinGW w/ dwarf
debugging info, but linux as well.

Stick with -g, (which defaults to -g2), like autoconf does.
/external/mesa3d/scons/gallium.py
129ace49f457858bc7640b67cf5dd688aee50323 06-Sep-2011 José Fonseca <jfonseca@vmware.com> scons: Set -static-libstdc++ on mingw-w64

To avoid depending on libstdc++-xxx.dll
/external/mesa3d/scons/gallium.py
0646246cae023333220aebddd142670858f70e5a 06-Sep-2011 José Fonseca <jfonseca@vmware.com> scons: Move MinGW flags from crossmingw.py to gallium.py

So that they are used by native MinGW compilers too.
/external/mesa3d/scons/gallium.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/scons/gallium.py
235225ec935002b4669d14a48c9c20864a5496f8 30-Jun-2011 José Fonseca <jfonseca@vmware.com> scons: Expose pkg-config in a simpler manner.
/external/mesa3d/scons/gallium.py
2699fce0d69db5158427c8b6c8194b2eefc5e58b 17-Jun-2011 José Fonseca <jfonseca@vmware.com> scons: Buid libGL.so (WIP).
/external/mesa3d/scons/gallium.py
0edb40cb69124722691011b0db1c8b7376217728 30-Jun-2011 José Fonseca <jfonseca@vmware.com> scons: Make declaration-after-statement and pointer-arith just warnings.

Necessary, in order to build the whole tree.
/external/mesa3d/scons/gallium.py
8173471fc25f4c768cab54fa840fd4c53d1c3c0f 17-Jun-2011 José Fonseca <jfonseca@vmware.com> scons: Move all env setup to scons/gallium.py
/external/mesa3d/scons/gallium.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/scons/gallium.py
37058c3497850f452bdaf70a5dda07ee4840b6b9 04-May-2011 José Fonseca <jfonseca@vmware.com> scons: Add a few more human friendly messages.
/external/mesa3d/scons/gallium.py
e6314db0ac537695a20feb5fab8d77a30836eccf 13-Mar-2011 José Fonseca <jfonseca@vmware.com> gallivm: Use LLVM MC disassembler, instead of udis86.

Included in LLVM 2.7+. Unlink udis86, should support all instructions that
LLVM can emit.
/external/mesa3d/scons/gallium.py
8987109c27899273bffca941c48b466218ba56ea 03-Mar-2011 José Fonseca <jfonseca@vmware.com> scons: Always load lex/yacc tool.

lex/yacc is not loaded by default when toolchain is not default either,
e.g., when toolchain=crossmingw.
/external/mesa3d/scons/gallium.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/scons/gallium.py
33d8ff9c317eeb1300bc8e189d7b9c00b352323a 15-Feb-2011 José Fonseca <jfonseca@vmware.com> scons: Recognize 'AMD64' processor as well.
/external/mesa3d/scons/gallium.py
590c2ee5681d1224befa334ed15c70fa4a0d007a 15-Feb-2011 José Fonseca <jfonseca@vmware.com> scons: Don't get fooled by 32bit python on a 64bit windows.
/external/mesa3d/scons/gallium.py
982609f4cf2afc4e0afd450aa24907986bca41ab 11-Feb-2011 José Fonseca <jfonseca@vmware.com> scons: builtin_glsl_function on windows needs bundled getopt.
/external/mesa3d/scons/gallium.py
ae760279f142244590c8aa76e3139529ca42952f 11-Feb-2011 José Fonseca <jfonseca@vmware.com> scons: Try to support building 64bit binaries on 32bit windows.
/external/mesa3d/scons/gallium.py
051f8bbfee6618e8bf04712cf214d96cec433e38 11-Feb-2011 José Fonseca <jfonseca@vmware.com> scons: Fix MSVC 64bit build.
/external/mesa3d/scons/gallium.py
d60f07489ef45fcdc46edbc51e662d2157a55cab 10-Feb-2011 José Fonseca <jfonseca@vmware.com> scons: Disable -mstackrealign on MinGW again.

It's still broken, however it doesn't show up on debug builds.
/external/mesa3d/scons/gallium.py
3b8bb7b449dae6c16df0fa45e6567ec3d6b05dcc 08-Feb-2011 José Fonseca <jfonseca@vmware.com> scons: Restrict whole program optimization to release builds.

It just takes forever, so it is inadequate for continuous testings
(i.e., checked and profile build types).
/external/mesa3d/scons/gallium.py
11b15c4d254ee689183306579d9c4851e29c3c4a 30-Jan-2011 José Fonseca <jfonseca@vmware.com> scons: We have C++ in several libraries, so always link with the C++ compiler

Prevents missing symbols in libGL.so when LLVM is disabled.
/external/mesa3d/scons/gallium.py
c0db7854d502d0b24110cbe8560967794d7938cb 05-Nov-2010 Jakob Bornecrantz <jakob@vmware.com> scons: Check for libdrm_[intel|radeon] as well

And run SConscripts if they are present.
Also make dri depend on both drm and x11.
/external/mesa3d/scons/gallium.py
98d6ed87421cd8a8a43b061a6ba634b8cbbec086 04-Nov-2010 Jakob Bornecrantz <jakob@vmware.com> scons: Check for pkg-config before trying to use it

Silences warning about missing packages
/external/mesa3d/scons/gallium.py
d49dfe66cfb0e13094e5918b9857c4eb474a53f6 03-Nov-2010 José Fonseca <jfonseca@vmware.com> st/xorg: Detect libkms with scons too.
/external/mesa3d/scons/gallium.py
265b53983e5100420847d3d2c086409fc9ca8e17 02-Nov-2010 José Fonseca <jfonseca@vmware.com> scons: Propagate installation targets.

Fixes libgl-xlib target.
/external/mesa3d/scons/gallium.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/scons/gallium.py
e3a3a5378e4a1b45f30fcb26730d6c73e623cfac 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/scons/gallium.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/scons/gallium.py
30c5d5d9d866749f55730117011f18f3f217b6d5 02-Sep-2010 José Fonseca <jfonseca@vmware.com> scons: Re-enable SSE on MinGW.

It seems to be working correctly with gcc 4.4, and enabling it allows to
test some of the llvmpipe instrinsics on Windows.
/external/mesa3d/scons/gallium.py
462e8a8b0d0836c2c2e3b4bf137ecd17db7292d2 17-Aug-2010 Vinson Lee <vlee@vmware.com> scons: Add -fno-common for 64-bit builds on Mac OS X.

This option is also needed for 64-bit builds if llvm is enabled.
Other the build fails during linking.
/external/mesa3d/scons/gallium.py
32502b0eeb38f47f42528ee592fe93673034d15e 24-Jul-2010 Vinson Lee <vlee@vmware.com> scons: Use '-Wmissing-field-initializers' on GCC 4.0 and greater only.
/external/mesa3d/scons/gallium.py
95ca22001a4d72325f963662a635d2b45feaf7b5 19-Jul-2010 Vinson Lee <vlee@vmware.com> scons: Fix Mac OS X SCons build on 32-bit CPUs.

The Mac OS X SCons build failed on 32-bit CPUs starting with commit
2f6d47a7c8d6e69e5154de44115aab9ba35a41d2 during linking of graw-null.
The build succeeds though on a 64-bit CPU. See FDO bug 29117.

This was the compiler error.
scons: building associated VariantDir targets: build/darwin-x86-debug
Linking build/darwin-x86-debug/gallium/targets/graw-null/libgraw.dylib ...
Undefined symbols:
"_lp_swizzled_cbuf", referenced from:
_lp_swizzled_cbuf$non_lazy_ptr in libllvmpipe.a(lp_rast.os)
_lp_swizzled_cbuf$non_lazy_ptr in libllvmpipe.a(lp_rast_tri.os)
(maybe you meant: _lp_swizzled_cbuf$non_lazy_ptr)
"_lp_dummy_tile", referenced from:
_lp_dummy_tile$non_lazy_ptr in libllvmpipe.a(lp_rast.os)
_lp_dummy_tile$non_lazy_ptr in libllvmpipe.a(lp_rast_tri.os)
_lp_dummy_tile$non_lazy_ptr in libllvmpipe.a(lp_setup.os)
(maybe you meant: _lp_dummy_tile$non_lazy_ptr)

The patch adds -fno-common to all Mac OS X builds to work around this issue.
/external/mesa3d/scons/gallium.py
6f81b78cb4354af0c5a13805bcb59758a3db1c5e 16-Jul-2010 José Fonseca <jfonseca@vmware.com> scons: Make PIPE_ALIGN_VAR() of static/global vars work on MinGW.

Workaround http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37216
/external/mesa3d/scons/gallium.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/scons/gallium.py
fe889a89d28293d8f98b2cd730efc58785ceb5d8 14-Feb-2010 José Fonseca <jfonseca@vmware.com> scons: Control caching via new SCONS_CACHE_DIR environment variable.

This serves several purposes:
- disable caching in situations were is it useless or undesired
- share caches among all trees
- simplify purging the cache (when it's a single location)
- move the cache out of the tree, since that slows downs IDEs considerably

To retain previous behavior just define do

export SCONS_CACHE_DIR=$PWD/build/cache

before invoking scons.
/external/mesa3d/scons/gallium.py
a4865e82ef0171a5280c98f1b0ae879cf013ad8b 13-Feb-2010 José Fonseca <jfonseca@vmware.com> scons: Undo bad merge from cherry-pick.
/external/mesa3d/scons/gallium.py
57617c8eba7093be3da9d818389ef5f18246e4ca 12-Feb-2010 José Fonseca <jfonseca@vmware.com> scons: Target Windows7.
/external/mesa3d/scons/gallium.py
7b6fa78d86612b73e662dc6981d32ef3cd534642 04-Feb-2010 José Fonseca <jfonseca@vmware.com> scons: Eliminate mixed space/tabs.
/external/mesa3d/scons/gallium.py
9f151f93e69e988508d480beb36adb7674434ea7 04-Feb-2010 José Fonseca <jfonseca@vmware.com> scons: Only override scons CC selection in the embedded platform.
/external/mesa3d/scons/gallium.py
5cf88a4787555e1cf754adc665880a35130f625c 04-Feb-2010 José Fonseca <jfonseca@vmware.com> scons: Promote EMBEDDED from subsystem to full os.
/external/mesa3d/scons/gallium.py
7683271e63e4527fc72f309472181c743922e7e9 29-Jan-2010 Alan Hourihane <alanh@vmware.com> another gcc 4.2.x check for mstackrealign
/external/mesa3d/scons/gallium.py
bd60e6cd5ce7c19e52338f12f73dfa1b622391d5 28-Jan-2010 Alan Hourihane <alanh@vmware.com> add PIPE_SUBSYSTEM_EMBEDDED when embedded platform used
/external/mesa3d/scons/gallium.py
51ab599ddb213d6b846f333bbf03d5f6dde4831f 28-Jan-2010 Vinson Lee <vlee@vmware.com> scons: Do not use linker option '-Bsymbolic' on Mac OS X.

ld on Mac OS X does not recognize the option '-Bsymbolic'.
/external/mesa3d/scons/gallium.py
1ecf505087136c1120f440c265c57418b14d0442 27-Jan-2010 Alan Hourihane <alanh@vmware.com> Duplicate CCVERSION check code to compensate for different env CC.
/external/mesa3d/scons/gallium.py
7d29afb3a29642e6e13fb30948f7c87434057102 27-Jan-2010 Vinson Lee <vlee@vmware.com> scons: Use '-Werror=' option on GCC 4.2.x and greater.

The existing code only checked for GCC 4.2.x and 4.3.x.
/external/mesa3d/scons/gallium.py
18bb614acf3b9bbfd8c81253a6fd2fb24800dd70 26-Jan-2010 Alan Hourihane <alanh@vmware.com> fix typo
/external/mesa3d/scons/gallium.py
1019f0de1170f627e8e9ce7b449f7a76d89c6742 26-Jan-2010 Alan Hourihane <alanh@vmware.com> only use -Werror flags with gcc 4.2.x and 4.3.x.
could use a better test here though.
/external/mesa3d/scons/gallium.py
9b22427911ad27efc1f36faee9462c6082d0417c 25-Jan-2010 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_7_branch'

Conflicts:

src/mesa/drivers/dri/intel/intel_screen.c
src/mesa/drivers/dri/intel/intel_swapbuffers.c
src/mesa/drivers/dri/r300/r300_emit.c
src/mesa/drivers/dri/r300/r300_ioctl.c
src/mesa/drivers/dri/r300/r300_tex.c
src/mesa/drivers/dri/r300/r300_texstate.c
6b55aacccbbc2c86f03eafab23d5d74bc165c9ed 24-Jan-2010 Vinson Lee <vlee@vmware.com> scons: Do not use ld options start-group and end-group on Darwin.

Mac OS X ld does not support these options.
/external/mesa3d/scons/gallium.py
8a318edd0838ee3343be0425019d93541b621567 01-Jan-2010 José Fonseca <jfonseca@vmware.com> scons: Put glut and glew shared libraries into build/xxx/bin or lib.

Use bin subdir for windows dlls, lib for unices.
/external/mesa3d/scons/gallium.py
b2e40643a328e4a60c04acf3e3079befb813c705 01-Jan-2010 José Fonseca <jfonseca@vmware.com> scons: Disable version symlinking for DLLs.

Fixes windows build.
/external/mesa3d/scons/gallium.py
3d747eded475b227cc025391d0438a5dd1357cb9 31-Dec-2009 José Fonseca <jfonseca@vmware.com> scons: Don't globally define WIN32_LEAN_AND_MEAN.

Some of the demo progams legitimately need the functionality
that's disabled by WIN32_LEAN_AND_MEAN.

Instead the solution should be to define WIN32_LEAN_AND_MEAN just before
including windows.h on a case by case basis.
/external/mesa3d/scons/gallium.py
97e2c5ac0bba7298c9a32703fe3d19de1f7b815a 31-Dec-2009 José Fonseca <jfonseca@vmware.com> scons: Expose convienience libraries to the host environment.

This fixes MinGW cross compilation build, recently broken due to the use
of convenience libraries in the GLSL preprocessor.
/external/mesa3d/scons/gallium.py
8b7552673f38b47abb432985e205785accdae5df 25-Dec-2009 José Fonseca <jfonseca@vmware.com> scons: Put the configuration info in the build directory too.

It fixes cached configuration results from one platform being erroneously
used in other platforms.
/external/mesa3d/scons/gallium.py
b5a408bae518ededbb871d113dab89f3e15bfb45 23-Dec-2009 José Fonseca <jfonseca@vmware.com> llvmpipe: Install unit tests on build/xxx/bin
/external/mesa3d/scons/gallium.py
09aa9844947771cb75cf6cbd1c40e0b573d8dafd 11-Dec-2009 Brian Paul <brianp@vmware.com> Revert "scons: Pass -fno-strict-aliasing to gcc."

This reverts commit a2937a2f4ecf22a5a4242cd0a350f20228f50232.

Per Jose's comment, We don't want this on master.
/external/mesa3d/scons/gallium.py
da3bc492d2438ac915e720c17b54d0d12ffd8a97 11-Dec-2009 José Fonseca <jfonseca@vmware.com> scons: Tweak MSVC release options.

Enable whole program optimizations and fast math.
/external/mesa3d/scons/gallium.py
a2937a2f4ecf22a5a4242cd0a350f20228f50232 11-Dec-2009 José Fonseca <jfonseca@vmware.com> scons: Pass -fno-strict-aliasing to gcc.

Strict aliasing tule violations were fixed on master, but
they're still causing problem in this branch, so disable this assumptions.

Do not apply this fix to master (revert when you merge).
/external/mesa3d/scons/gallium.py
2348f6d490a200b464013dfe68c61525aee86feb 27-Nov-2009 José Fonseca <jfonseca@vmware.com> scons: Promote pointer arithmetic to error.

All code covered by scons is being built on multiple OSes, so pointer
arithmetic must really be addressed when spotted.
/external/mesa3d/scons/gallium.py
0b4ea45e8aded79557da3a51bb88c9bbacfa07dc 03-Nov-2009 José Fonseca <jfonseca@vmware.com> util: Remove homegrown Windows KM profiler.

It's not sampling based so its results are biased towards functions called
many times.
/external/mesa3d/scons/gallium.py
ad0975f7011222f8da4fda5cc4a6d45468445ab1 26-Oct-2009 José Fonseca <jfonseca@vmware.com> scons: Define _USE_MATH_DEFINES on MSVC.
/external/mesa3d/scons/gallium.py
1acd891ed31b14ac6c81fd869a681c4b89c7d901 21-Oct-2009 José Fonseca <jfonseca@vmware.com> scons: Disable more MSVC pedantic security warnings.
/external/mesa3d/scons/gallium.py
5ba645f0fbcb16ac97064c3d25d5966645410a44 14-Oct-2009 José Fonseca <jfonseca@vmware.com> scons: Disable SSE intrinsics on MinGW.

-mstackrealign causes stack corruption on MinGW. And without it the ability
to use SSE instrinsics goes down the drain. Even if we use
__attribute__((force_align_arg_pointer)) for the functions we explicitly
use SSE instrinsics, the SSE code automatically generated by gcc will
cause assertion failures. What a nightmare.

Thankfully LLVM gets this right, so all runtime generated SSE code just
works. rtasm code doesn't assume 16byte alignment. Therefore the bulk of
our performance sensitive code is not affected by this.

Still, intrinsics can be convenient, and it would be nice
to get this working again some day, sp will try to get a reduced test
case.
/external/mesa3d/scons/gallium.py
1a9eec84bd363409b884fbf468dbec6ca595b593 20-Sep-2009 José Fonseca <jfonseca@vmware.com> scons: Drop gprof support for profile builds; tweak optimization flags instead.

gprof is useful for shared libraries, hence our drivers. Nevertheless
profilers like oprofile can benefit from disabling some relatively
minor optimizations for more accurate / complete results.
/external/mesa3d/scons/gallium.py
b0b131b023ed3d31fa77cfcd5f9b82f2997c78c7 09-Sep-2009 José Fonseca <jfonseca@vmware.com> scons: Pass -mstackrealign option to gcc.

It is impossible to have gcc generate SSE code without it, as thirdparty
applications often call us with an unaligned stack pointer.
/external/mesa3d/scons/gallium.py
7b39194e2dbad6191b86c232d305dd910000753c 13-Aug-2009 José Fonseca <jfonseca@vmware.com> scons: Handle Circular dependencies in the libraries.
/external/mesa3d/scons/gallium.py
b96ae1b2c463d6d99ee0418083ef68f4027b7cd7 18-Jul-2009 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_5_branch'

Conflicts:

Makefile
progs/glsl/multitex.c
src/mesa/main/enums.c
src/mesa/main/state.c
src/mesa/main/texenvprogram.c
src/mesa/main/version.h
7325c1ebc8cf88249d0adeadc0f52600e727c762 14-Jul-2009 José Fonseca <jfonseca@vmware.com> scons: Monkey patch os.spawnve on Windows to become thread safe.

See also:
- http://bugs.python.org/issue6476
- http://scons.tigris.org/issues/show_bug.cgi?id=2449
/external/mesa3d/scons/gallium.py
bb8f3090ba37aa3f24943fdb43c4120776289658 28-Jun-2009 José Fonseca <jfonseca@vmware.com> scons: Disable optimizations only for gcc-4.2

gcc-4.2's optimizer has a strange bug where it looses code from inner
loops in certain situations. For example, if the appearently innocent
looking code below is compiled with gcc-4.2 -S -O1, the inner loop's
code is missing from the outputed assembly.

struct Size {
unsigned width;
};

struct Command {
unsigned length;
struct Size sizes[32];
};

extern void emit_command(void *command, unsigned length);

void
create_surface( struct Size size, unsigned faces, unsigned levels)
{
struct Command cmd;
unsigned face;
unsigned level;

cmd.length = faces*levels*sizeof(cmd.sizes[0]);

for(face = 0; face < faces; ++face) {
for(level = 0; level < levels; ++level) {
cmd.sizes[face*levels + level] = size;
// This should generate a shrl statement, but the whole for body
// disappears in gcc-4.2 -O1/-O2/-O3!
size.width >>= 1;
}
}

emit(&cmd, sizeof cmd.length + cmd.length);
}

Note that this is not specific to MinGW's gcc-4.2 crosscompiler (the
version typically found in debian/ubuntu's mingw32 packages). gcc-4.2 on
Linux also displays the same error. gcc-4.3 and above gets this
correctly though.

Updated MinGW debian packages with gcc-4.3 are available from
http://people.freedesktop.org/~jrfonseca/debian/pool/main/m/
/external/mesa3d/scons/gallium.py
72ad039d19e033baff774b184ece9ffbfef4a2ff 28-Jun-2009 José Fonseca <jfonseca@vmware.com> scons: Use -Bsymbolic linker option.

This prevents the error

relocation R_X86_64_PC32 against symbol `_gl_DispatchTSD' can not be used when making a shared object; recompile with -fPIC

when building on x86_64 architecture.
/external/mesa3d/scons/gallium.py
25f6c936fea899dd2989c76275f3f25d3a9a7d77 26-Jun-2009 José Fonseca <jfonseca@vmware.com> scons: Don't use C specific options with g++
/external/mesa3d/scons/gallium.py
2fe65e8f149e961afb8ccd9b1e57c5c7e96ecfd6 14-Jun-2009 Jakob Bornecrantz <jakob@vmware.com> Merge branch 'mesa_7_5_branch'
a18e209edb5348eb167e9d7184597031bbbbe622 27-Jun-2009 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_5_branch'

Conflicts:

Makefile
src/gallium/drivers/softpipe/sp_screen.c
src/mesa/main/version.h
550a2fe1b70ae8bd3126c19cc41629296936d211 11-Jun-2009 Michel Dänzer <daenzer@vmware.com> scons: Indent abbreviated command line strings, so command messages stand out.

Also add ASPPCOMSTR.
/external/mesa3d/scons/gallium.py
78dad275646b720511dac31ca6ba0535568af81f 04-Jun-2009 José Fonseca <jfonseca@vmware.com> Revert "scons: Less aggressive optimizations for MSVC 64bit compiler."

This reverts commit fc7f92478286041a018ac4e72d2ccedeea7c0eca.
/external/mesa3d/scons/gallium.py
fc7f92478286041a018ac4e72d2ccedeea7c0eca 03-Jun-2009 José Fonseca <jfonseca@vmware.com> scons: Less aggressive optimizations for MSVC 64bit compiler.

MSVC 64bit compiler takes forever on some of the files.

Might want to revisit this again later.
/external/mesa3d/scons/gallium.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/scons/gallium.py
222d7841e939d13bf29148c0cba5c7513050fa1e 07-May-2009 Keith Whitwell <keithw@vmware.com> scons: mingw is broken with -O1 and higher
/external/mesa3d/scons/gallium.py
71793e0f7907421d5bee619ae524e5178c6f3f32 14-Apr-2009 José Fonseca <jfonseca@vmware.com> scons: Support winddk 6001.18002.
/external/mesa3d/scons/gallium.py
b3e03ede3eeb224a2c293ae924ffa58f1de7e84a 25-Mar-2009 José Fonseca <jfonseca@vmware.com> scons: Move MSVC specific away from Mingw builds.
/external/mesa3d/scons/gallium.py
26e27ba30884be927cf1bc21d39f32d6096a6678 25-Mar-2009 José Fonseca <jfonseca@vmware.com> scons: Support building with the Windows SDK.

x86_64 is also supported.
/external/mesa3d/scons/gallium.py
102cb5c9cd5ce12fc43828e44e7baf390d4c351d 13-Mar-2009 José Fonseca <jfonseca@vmware.com> scons: Promote declaration-after-statement to error. Detect more warnings.
/external/mesa3d/scons/gallium.py
f22574be95ccfb21058699f5e27e684abc87dac9 13-Mar-2009 José Fonseca <jfonseca@vmware.com> scons: Use -Wdeclaration-after-statement
/external/mesa3d/scons/gallium.py
37f21fce3bd323c361291215edeb7d8cf5f4335b 23-Feb-2009 José Fonseca <jfonseca@vmware.com> Merge commit 'origin/gallium-0.1'

Conflicts:
src/gallium/auxiliary/pipebuffer/pb_bufmgr_mm.c
src/gallium/auxiliary/util/u_tile.c
46728037a0ef3b78d6d1c9843f3bc0eeaa6df11a 18-Feb-2009 José Fonseca <jfonseca@vmware.com> scons: Produce map files for debug builds too.
/external/mesa3d/scons/gallium.py
6fe421cf4634033bc7e75375e1d981bd235e2e51 12-Feb-2009 José Fonseca <jfonseca@vmware.com> scons: Unbreak mingw builds.
/external/mesa3d/scons/gallium.py
73ccabc124f2c706d7fde490e4438413d2b94317 12-Feb-2009 José Fonseca <jfonseca@vmware.com> scons: Build DLLs/EXEs with more memory debugger friendlier settings.
/external/mesa3d/scons/gallium.py
1e8177ee178b131afa86d874b062a8ae3fae0cca 10-Feb-2009 José Fonseca <jfonseca@vmware.com> scons: Use parallel builds by default.
/external/mesa3d/scons/gallium.py
9a7aeac49c9bed7507eed876e1d35fa4386f0382 26-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> scons: remove pedantic flag
/external/mesa3d/scons/gallium.py
9bd39eb3af492f3fe314dc7432f89109264f13f6 24-Jan-2009 José Fonseca <jfonseca@vmware.com> scons: Don't build the DRI drivers in a seperate dir.

DRI drivers can be build side by side with other non-DRI drivers, therefore
there is no need to build gallium twice.
/external/mesa3d/scons/gallium.py
18170bb51b27fbcef44d84c783511360151a53d4 23-Jan-2009 José Fonseca <jfonseca@vmware.com> scons: Use a cache for built files.

Like ccache, but works on all OSes.
/external/mesa3d/scons/gallium.py
42be0104a22fdff0db3c39af9feb7d157ac87f46 22-Jan-2009 José Fonseca <jfonseca@vmware.com> scons: Don't define UNICODE on windows builds.

It creates problems in many libraries (glut, glew) which are not unicode
aware.
/external/mesa3d/scons/gallium.py
47ca0234dc9f83808cb141944537c78eaade5d55 14-Jan-2009 José Fonseca <jfonseca@vmware.com> scons: Use -std=gnu99

It a scary world out there: people use all sort of non standard C stuff,
and we must enable support for that in here in order to build.

-pedantic still warn us when we use that nonstandard though.
/external/mesa3d/scons/gallium.py
1781d7fa3880ffb6d3062414704fb4d29e9297ad 06-Jan-2009 José Fonseca <jfonseca@vmware.com> scons: Choose the appropriate MSVC CRT.
/external/mesa3d/scons/gallium.py
26ba5ce0e8fc54d330a0f26d0c5ab76e250fae3a 06-Jan-2009 José Fonseca <jfonseca@vmware.com> scons: Choose the appropriate MSVC CRT.
/external/mesa3d/scons/gallium.py
8ee1df065234eaf27c53c03bdf6e4ad487bc326d 30-Dec-2008 José Fonseca <jfonseca@vmware.com> scons: Specify C99 throughout all the tree.

MSVC may not support full C99, but supports more than plain C90. And
-pedantic without -std=c99 generates too many spurious warnings
(specially C++ style comments) to be of any use.

Note that using certain C99 features in the cross-platform parts of Gallium
is still not possible; namely mid-of-scope variable declarations and named
structure initializers will break MSVC builds.
/external/mesa3d/scons/gallium.py
975e58499a07775e071c2517b4fa21306e8349bb 30-Dec-2008 José Fonseca <jfonseca@vmware.com> scons: Specify C99 throughout all the tree.

MSVC may not support full C99, but supports more than plain C90. And
-pedantic without -std=c99 generates too many spurious warnings
(specially C++ style comments) to be of any use.

Note that using certain C99 features in the cross-platform parts of Gallium
is still not possible; namely mid-of-scope variable declarations and named
structure initializers will break MSVC builds.
/external/mesa3d/scons/gallium.py
ee0735fa2d4b2d2a9eae1f55e8f93f1f57feaf6d 09-Dec-2008 Alan Hourihane <alanh@tungstengraphics.com> Merge commit 'origin/gallium-0.1' into gallium-0.2
129c6ed67807db5d1d5ec4bc09bcc32bc5a329d4 01-Dec-2008 José Fonseca <jrfonseca@tungstengraphics.com> scons: Target Windows XP on userspace.
/external/mesa3d/scons/gallium.py
79bfe372f2bfa633c457e82a3e37f3eb42af4b5b 19-Nov-2008 Michal Krol <michal@tungstengraphics.com> scons: Fix toolchain selection.
/external/mesa3d/scons/gallium.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/scons/gallium.py
4f3dcf3864c3cbd8a6ebc6af38e53d57e4d421d6 19-Nov-2008 Michal Krol <michal@tungstengraphics.com> scons: Fix toolchain selection.
/external/mesa3d/scons/gallium.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/scons/gallium.py
40b3bb0407b6833a06e0a3a2e859cfac75b9100b 04-Nov-2008 José Fonseca <jrfonseca@tungstengraphics.com> gallium: Yet another WinCE portability fix.
/external/mesa3d/scons/gallium.py
6b69e3c71741d99a54c6f4dcb605a3c241239aeb 23-Oct-2008 Michel Dänzer <michel@tungstengraphics.com> scons: ppc support.
/external/mesa3d/scons/gallium.py
7cfc294c70e96269055341d327622774c9173b37 08-Sep-2008 José Fonseca <jrfonseca@tungstengraphics.com> scons: Install shared libs in the right subdir.
/external/mesa3d/scons/gallium.py
52c2dd1f73e17c8352fe976e2ee4cdf049f81957 08-Sep-2008 José Fonseca <jrfonseca@tungstengraphics.com> scons: Install libGL.so and respective symlinks.
/external/mesa3d/scons/gallium.py
a6c725839482f3d0f2af0eb15e5b6ab80184fb6c 01-Sep-2008 José Fonseca <jrfonseca@tungstengraphics.com> scons: Optimize for speed, not size, with MSVC.
/external/mesa3d/scons/gallium.py
c76787a1dcfa10b00fae5ac7f3d71dda758123cf 17-Jul-2008 José Fonseca <jrfonseca@tungstengraphics.com> scons: Set default LIBS env var.
/external/mesa3d/scons/gallium.py
381e3489c21c177d87bac9d7cdbfe7e2611772e5 17-Jul-2008 José Fonseca <jrfonseca@tungstengraphics.com> scons: Convert tabs to spaces.
/external/mesa3d/scons/gallium.py
e4f3770690129dc1ea683fadbe07f1fbc49cf271 17-Jul-2008 Jonathan White <jwhite@tungstengraphics.com> mesa: WinCE fixes
/external/mesa3d/scons/gallium.py
194cfc7a4ed86653db34be0e331ad7c23b5334eb 04-Jul-2008 José Fonseca <jrfonseca@tungstengraphics.com> scons: Enable gcc SSE2 intrinsics on x86.
/external/mesa3d/scons/gallium.py
27d8d6f44faa61a61c330d032111eee64dd8b8c7 02-Jul-2008 José Fonseca <jrfonseca@tungstengraphics.com> scons: Add a env.CodeGenerate method to simplify code generation via python scripts.

env.CodeGenerate(
target = 'my_source.c',
script = 'my_generator.py',
source = ['input.txt', 'another.txt'],
command = 'python $SCRIPT $SOURCE > $TARGET'
)

It will take care generating all appropriate dependencies, including any
module imported by the generator script, and the respective .pyc file
side effects.
/external/mesa3d/scons/gallium.py
846f87d8264e2a3755b0a00e45e75602192957fe 01-Jul-2008 José Fonseca <jrfonseca@tungstengraphics.com> scons: Output mapfile on windows ddk profile builds.
/external/mesa3d/scons/gallium.py
05cfb4c4b84b4e3119112c381ceffc583a4ef5fe 27-Jun-2008 José Fonseca <jrfonseca@tungstengraphics.com> scons: Get x86-64<->x86 cross build of assembly files right.
/external/mesa3d/scons/gallium.py
f78cc24c4b4f253223044b7019daf3e954f38a07 22-Jun-2008 José Fonseca <jrfonseca@tungstengraphics.com> scons: Update to target WinCE 6.0.
/external/mesa3d/scons/gallium.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/scons/gallium.py