summaryrefslogtreecommitdiffstats
path: root/SConstruct
Commit message (Collapse)AuthorAgeFilesLines
* scons: whitespace cleanupGiuseppe Bilotta2016-05-251-7/+7
| | | | | | | | | | This text transformation was done automatically via the following shell command: $ find -name SCons\* -exec sed -i s/\\s\\+$// '{}' \; Signed-off-by: Giuseppe Bilotta <[email protected]> Reviewed-by: Brian Paul <[email protected]>
* scons: Add a "check" target to run all unit tests.Jose Fonseca2016-04-141-0/+5
| | | | | | | | | Except: - u_cache_test -- too long - translate_test -- unreliable (it's probably testing corner cases that translate module doesn't care about.) Reviewed-by: Roland Scheidegger <[email protected]>
* scons: Don't use bundled C99 headers for VS 2013.José Fonseca2014-05-021-6/+0
| | | | | | | | | | | Use the ones provided by the compiler instead. NOTE: External trees should be updated to not include '#include/c99' directory directly, but rather rely on scons/gallium.py to do the right thing. Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Roland Scheidegger <[email protected]>
* mapi/glapi: Use ElementTree instead of libxml2.José Fonseca2014-03-261-7/+0
| | | | | | | | | | | | | | | | | | | | | | It is quite hard to meet the dependency of the libxml2 python bindings outside Linux, and in particularly on MacOSX; whereas ElementTree is part of Python's standard library. ElementTree is more limited than libxml2: no DTD verification, defaults from DTD, or XInclude support, but none of these limitations is serious enough to justify using libxml2. In fact, it was easier to refactor the code to use ElementTree than to try to get libxml2 python bindings. In the process, gl_item_factory class was refactored so that there is one method for each kind of object to be created, as it simplifies things substantially. I confirmed that precisely the same output is generated for GL/GLX/GLES. v2: Remove m4/ax_python_module.m4 as suggested by Matt Turner. Reviewed-by: Ian Romanick <[email protected]>
* build: unify mesa version by using a VERSION fileEmil Velikov2013-07-291-1/+3
| | | | | | | | | | | | | | | | | | | | Rather than having to keep track of all the build systems and their respecitve definition of the mesa version, use a single top file VERSION. Every build system is responsible for reading/parsing the file and using it v2: * remove useless bulletpoint from the documentation, suggested by Matt * "Androing is Linux. Use '/' in stead of '\'", spotted by Chad V * use cleaner code to get the version in scons, suggested by Chad V v3: * ensure leading and trailing whitespace characters are stripped while parsing * android: handle GNU shell commands approapriately Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Chad Versace <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Signed-off-by: Emil Velikov <[email protected]>
* mesa: Bump version to 9.3.0-devel.Kenneth Graunke2013-07-251-1/+1
| | | | This should have been done when making the 9.2 branch, but was missed.
* build: Unify PACKAGE_VERSION on autotools, scons and AndroidAndreas Boll2013-06-061-1/+1
| | | | | | | | | | | | | | This patch unifies mesa's PACKAGE_VERSION on autotools, scons and Android build systems. Current behaviour is: - Autotools uses 9.2.0 as PACKAGE_VERSION - Scons and Android use 9.2-devel as PACKAGE_VERSION With this patch all three build systems use 9.2.0-devel as PACKAGE_VERSION. Reviewed-by: Brian Paul <[email protected]>
* scons: Define PACKAGE_VERSION/BUGREPORT globally.José Fonseca2013-03-131-0/+5
| | | | Fixes the scons build.
* scons: Disable saving options automatically.José Fonseca2011-07-011-1/+2
| | | | | | | | It makes things too random, as settings for temporary trials get stored permannently, and it make difficult to build several platforms from the same tree. So disable it, again.
* scons: List all targets.José Fonseca2011-06-171-0/+15
|
* scons: Remember the options set on the command line.José Fonseca2011-06-171-0/+2
| | | | Save them in config.py
* scons: Move all env setup to scons/gallium.pyJosé Fonseca2011-06-171-21/+0
|
* scons: make embedding orthogonal to the platformJosé Fonseca2011-06-171-18/+1
| | | | To enable embedding in platforms other than linux.
* scons: Avoid depending on scons 2.0 in general.José Fonseca2011-02-161-1/+5
|
* scons: Need c99 also when cross compiling.José Fonseca2011-02-111-0/+3
|
* scons: builtin_glsl_function on windows needs bundled getopt.José Fonseca2011-02-111-4/+7
|
* scons: Try to support building 64bit binaries on 32bit windows.José Fonseca2011-02-111-1/+1
|
* scons: Add support for GLES.Chia-I Wu2011-01-221-0/+6
| | | | | | | | | | | | | | | | | | 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-0/+33
| | | | Hairy stuff. Don't know how to do it better though.
* scons: Move MSVS_VERSION option to common module.José Fonseca2010-12-011-1/+0
|
* scons: Revamp how to specify targets to build.José Fonseca2010-11-011-103/+20
| | | | | | | | | | | | | | | | | | | | | | 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-1/+1
| | | | | Where checked build is compiler optimizations plus debugging checks -- ideal for testing CPU bound loads and running test automation loads.
* scons: added galahad to driver listBrian Paul2010-09-031-2/+2
|
* graw: Undo late loading of graw drivers.José Fonseca2010-08-261-1/+2
| | | | | | | | | | Keith prefers a clean separation between graw applications and implementations, where apps do not link libgallium.a but instead get all functionality they need via graw interface. Although this is not incompatible with late loading of graw drivers, it it would make it very hard to maintain, as wrappers for every utility symbol exposed in graw would have to be written or generated somehow.
* graw: Remove graw-null.José Fonseca2010-08-261-2/+1
| | | | | Pointless now that the graw tests can be built independently of any graw implementation.
* scons: Build the new glsl2 code.José Fonseca2010-08-131-22/+0
|
* glhd: Build with sconsJakob Bornecrantz2010-06-281-0/+2
|
* graw: update graw_null after interface changes and build graw tests againKeith Whitwell2010-06-071-1/+2
|
* gallium: always build drivers/swJoakim Sindholt2010-06-051-0/+2
|
* egl: Use SConscript for Windows build.Chia-I Wu2010-05-311-1/+1
| | | | Fix several portability issues and add SConscript for Windows build.
* r600g: Integrate into buildJakob Bornecrantz2010-05-271-2/+2
| | | | Signed-off-by: Jakob Bornecrantz <[email protected]>
* mesa: disable building the removed demos with sconsBrian Paul2010-05-211-5/+0
|
* scons: add 'targets' variable, for specifying ... targetsKeith Whitwell2010-05-141-0/+23
| | | | | | Ideally scons should be able to work backwards from the list of targets to figure out which drivers, state trackers and other convenience libraries need to be built.
* scons: Add -fvisibility=hidden to CFLAGS for gcc buildsJakob Bornecrantz2010-05-121-1/+2
|
* rbug: No need to have rbug as a inputJakob Bornecrantz2010-05-121-3/+3
|
* rbug: Break out of traceJakob Bornecrantz2010-05-121-4/+6
|
* scons: Include headers from the local include directory first.Vinson Lee2010-04-261-1/+3
| | | | | | | | Certain headers, such as GL/glew.h, are in both the Mesa include and the default installed include directories. On recent distros the needed symbols can be found in both places. On older distros the installed headers could be lacking symbols, so for a header that exists in both places, the local one should be found first.
* nvfx: Add to SCons build.Vinson Lee2010-04-241-1/+1
|
* nv50: Add to SCons build.Vinson Lee2010-04-241-1/+1
|
* nouveau: Add to SCons build.Vinson Lee2010-04-241-1/+1
|
* scons: Always build softpipe and llvmpipe (when llvm available).José Fonseca2010-04-111-1/+5
| | | | | | | | | | These are our reference software rasterizers. They can build everywhere and are a precious debugging tool. Making them always present immensily simplifies the scons logic. If people want to avoid building it is still possible to pass direcotries and target names to scons to narrow the build.
* scons: Make LLVM a black-white dependency.José Fonseca2010-04-111-14/+0
| | | | | | | 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: Use libdrm options only where needed.José Fonseca2010-04-111-10/+0
| | | | Prevents needless recompiles when switching dri=yes to no.
* scons: define DRAW_LLVM if we're building itZack Rusin2010-04-061-0/+2
|
* scons: Don't always include/links X11 headers/libs.José Fonseca2010-03-311-12/+0
| | | | | | Move it into a separate tool. TODO: Needs to be "tooled" in each SConscript that uses it.
* scons: Don't always link expat.José Fonseca2010-03-311-1/+0
| | | | Only needed for DRI. Should be linked in DRI specific subdirectories.
* gallium: new raw gallium interface to support standalone testsKeith Whitwell2010-03-281-1/+1
| | | | | | | | Provides basic window system integration behind a simple interface, allowing tests to be written without dependency on either the driver or window system. With a lot of work, could turn into something like glut for gallium.
* i915g: Rename winsys prefix to i915_ from intel_Jakob Bornecrantz2010-03-261-1/+1
| | | | Since the winsys isn't shared with i965 and never will be
* scons: Fixup the libgl-gdi build.José Fonseca2010-03-101-2/+0
|
* python: Fix up state tracker for sw api.José Fonseca2010-03-101-0/+1
|