History log of /external/mesa3d/scons/custom.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2da28dbd11e835ddc17e7656087b6f84c6f950ba 09-Nov-2016 George Kyriazis <george.kyriazis@intel.com> scons: ignore .hpp files in parse_source_list()

Drivers that contain C++ .hpp files need to ignore them too, along
with .h files, when building source file lists.

Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
/external/mesa3d/scons/custom.py
b12606b693210fb6b327ec7cc7be6d9f79940198 14-Oct-2016 Jose Fonseca <jfonseca@vmware.com> scons: Fix the Python dependency scanner.

modulefinder wasn't searching for dependencies in the script dir.

It's not capable of detecting the sys.path manipulations scripts do
internally neither.

This change fixes the first issue, and hacks around the second.

Honestly, I've come to the conclusion that automatic Python dependency it will always be
too brittle. I think we should start manually typing the dependencies
like we do in automake. At very least it will enable any person to
eyeball and spot/fix missing dependencies, without dig into SCons internals.
/external/mesa3d/scons/custom.py
1b62b47f6fcaf5a825a5a909c91e802bffae3b1d 25-May-2016 Giuseppe Bilotta <giuseppe.bilotta@gmail.com> scons: support 2.5.0

The get_implicit_deps changed in SCons 2.5, expecting a callable rather
than a path as third argument. Detect the SCons versions and set the
argument appropriately to support both 2.5 and earlier versions.

This closes #95211.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=95211
Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Cc: mesa-stable@lists.freedesktop.org
Acked-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/scons/custom.py
c521f2d7373a241a69238b95a8c0f3725a9da5ad 06-May-2016 Jose Fonseca <jfonseca@vmware.com> scons: Improve Python module dependency discovery.

Several NIR scripts were using `from ... import ...` syntax, which wasn't
supported.

Using Python standard libary's modulefinder solves the problem with less
effort and hacks.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/scons/custom.py
d4a1f3fd270001b2fb0684dc981340391df8fb64 13-Aug-2014 Jose Fonseca <jfonseca@vmware.com> scons: do not include headers from the sources lists

The SCons documentation is not explicit on the topic yet building mesa
with SCons and MSVC is known to have problems when headers are listed.
So be safe just drop them for now.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82534
Tested-by: Vinson Lee <vlee@freedesktop.org>
Acked-by: Emil Velikov <emil.l.velikov@gmail.com>
/external/mesa3d/scons/custom.py
877128505431adaf817dc8069172ebe4a1cdf5d8 17-Jan-2014 José Fonseca <jfonseca@vmware.com> s/Tungsten Graphics/VMware/

Tungsten Graphics Inc. was acquired by VMware Inc. in 2008. Leaving the
old copyright name is creating unnecessary confusion, hence this change.

This was the sed script I used:

$ cat tg2vmw.sed
# Run as:
#
# git reset --hard HEAD && find include scons src -type f -not -name 'sed*' -print0 | xargs -0 sed -i -f tg2vmw.sed
#

# Rename copyrights
s/Tungsten Gra\(ph\|hp\)ics,\? [iI]nc\.\?\(, Cedar Park\)\?\(, Austin\)\?\(, \(Texas\|TX\)\)\?\.\?/VMware, Inc./g
/Copyright/s/Tungsten Graphics\(,\? [iI]nc\.\)\?\(, Cedar Park\)\?\(, Austin\)\?\(, \(Texas\|TX\)\)\?\.\?/VMware, Inc./
s/TUNGSTEN GRAPHICS/VMWARE/g

# Rename emails
s/alanh@tungstengraphics.com/alanh@vmware.com/
s/jens@tungstengraphics.com/jowen@vmware.com/g
s/jrfonseca-at-tungstengraphics-dot-com/jfonseca-at-vmware-dot-com/
s/jrfonseca\?@tungstengraphics.com/jfonseca@vmware.com/g
s/keithw\?@tungstengraphics.com/keithw@vmware.com/g
s/michel@tungstengraphics.com/daenzer@vmware.com/g
s/thomas-at-tungstengraphics-dot-com/thellstom-at-vmware-dot-com/
s/zack@tungstengraphics.com/zackr@vmware.com/

# Remove dead links
s@Tungsten Graphics (http://www.tungstengraphics.com)@Tungsten Graphics@g

# C string src/gallium/state_trackers/vega/api_misc.c
s/"Tungsten Graphics, Inc"/"VMware, Inc"/

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/scons/custom.py
0aca2c6b608b80661cb8fd35eb08195ab95743f5 08-Jun-2013 José Fonseca <jfonseca@vmware.com> scons: Fix implicit python dependency discovery on Windows.

Probably due to CRLF endings, the discovery of python import statements
was not working on Windows builds, causing incremental builds to often
fail unless one wiped out the build directory.

NOTE: This is a candidate for stable branches.
/external/mesa3d/scons/custom.py
06424376065a4a1e44920a29497936691d88598f 22-Jan-2013 José Fonseca <jfonseca@vmware.com> scons: Fix source lists parsing on Windows.

/ vs \ mismatch was causing .objs to be put in the source tree, causing
breakeage when doing different build types in the same tree (eg., debug
vs release).

Fix this by normalizing everything to / slashes.

It's probably a good idea to purge all .objs from source tree to prevent
issues completely.
/external/mesa3d/scons/custom.py
50dec637909cfe8fa53582f2f64ab261b123f092 15-Aug-2012 José Fonseca <jfonseca@vmware.com> scons: Fix MinGW cross compilation.

Compensate for the recent changes and assumptions added to
Makefiles.sources
/external/mesa3d/scons/custom.py
ea8dcfc90d5abbf699cd64be4dccd1e69fe82d75 14-Aug-2012 José Fonseca <jfonseca@vmware.com> scons: Populate top_srcdir and top_builddir variables when reading Makefiles.sources.

This is not entirely correct, as scons doesn't put binaries in a
"src" subdirectory, but doesn't seem to be a problem for now.
/external/mesa3d/scons/custom.py
2470e918cc29e5d057a28551ce9c15e7d83fab7e 07-Feb-2012 José Fonseca <jfonseca@vmware.com> scons: Require same pkg-config versions as configure.
/external/mesa3d/scons/custom.py
f8aeb1c990b6e127497da1e46e0e4cdcb67ce9b3 20-Sep-2011 José Fonseca <jfonseca@vmware.com> scons: MacOSX build fixes.
/external/mesa3d/scons/custom.py
582b5d869c0f05814d4d567636a743d3fdddf431 18-Aug-2011 Chia-I Wu <olv@lunarg.com> scons: add ParseSourceList method

ParseSourceList() can be used to parse a source list file and returns
the source files defined in it. It is supposed to be used like this

# get the list of source files from C_SOURCES in Makefile.sources
sources = env.ParseSourceList('Makefile.sources', 'C_SOURCES')

The syntax of a source list file is compatible with GNU Make. This
effectively allows SConscript and Makefile to share the source lists.

Acked-by: José Fonseca <jfonseca@vmware.com>
Acked-by: Chad Versace <chad@chad-versace.us>
/external/mesa3d/scons/custom.py
235225ec935002b4669d14a48c9c20864a5496f8 30-Jun-2011 José Fonseca <jfonseca@vmware.com> scons: Expose pkg-config in a simpler manner.
/external/mesa3d/scons/custom.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/scons/custom.py
37058c3497850f452bdaf70a5dda07ee4840b6b9 04-May-2011 José Fonseca <jfonseca@vmware.com> scons: Add a few more human friendly messages.
/external/mesa3d/scons/custom.py
54d8c5e3c2fc7db643a2bae61be203ab9cbb1efa 03-Mar-2011 José Fonseca <jfonseca@vmware.com> scons: Add human friendlier build messages for lex/yacc.
/external/mesa3d/scons/custom.py
2311e2adf0db3c46a1054d94cdfcd2ec0badbfd3 10-Feb-2010 José Fonseca <jfonseca@vmware.com> scons: User friendly message for code generated files
/external/mesa3d/scons/custom.py
2104cbb6947645614e99319edb3b6502535066ee 01-Jan-2010 José Fonseca <jfonseca@vmware.com> scons: Remove duplicated code.
/external/mesa3d/scons/custom.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/custom.py