summaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)Author
2013-03-04build: Fix typo if the test setting enable_debuggerDamien Lespiau
Of course, a 'x' need to be inserted there. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-03-04assembler: Don't use -Wpointer-arithDamien Lespiau
Mesa's code uses the GNU C extension that allows additions and soustractions on void* (+/- 1). Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-03-04build: Add the debugger compilation status to the summaryDamien Lespiau
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-03-04build: Only build the assembler if flex and bison are foundDamien Lespiau
And start displaying a nice summary of what we are going to compile. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-03-04build: Don't use AM_MAINTAINER_MODEDamien Lespiau
This does not bring us anything these days, not using the macro at all is the same thing as having it always on. See this discussion: https://www.redhat.com/archives/virt-tools-list/2010-October/msg00049.html Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-03-04build: Integrate the merged gen assembler in the build systemDamien Lespiau
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-02-07quick_dump: Give dumper an AM_CONDITIONALBen Widawsky
It may sometimes be undesirable to build or install the quick dumper. This was requested by Damien. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-02-07configure.ac: Add swig dependencyBen Widawsky
As far as I can tell (and recommended to me by Matt) taking these m4 extension macros from http://www.gnu.org/software/autoconf-archive/ doesn't require the project distribute GPL. I am a bit confused from reading the license. I'd really hope someone can comment. The only other solution would be to roll my on m4 macros, or figure out a way to check that this autoconf-archive package is included from the configure.ac. Reviewed-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-02-07quick_dump: A dump utility different than reg_dumperBen Widawsky
This is the base tool for quick dump. At it's heart, quick dump is simply a basic text parsing thingie which plugs into intel-gpu-tools to do something similar to intel_reg_dumper. The format for the register definition files is very open, so it's just something simple for now. Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-02-07configure.ac: Move prime stuff to where it belongsBen Widawsky
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-02-07configure: slightly more standard --disable-testsBen Widawsky
Cc: Julien Cristau <jcristau@debian.org> Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-02-06Build: Add --disable-tests configure flag to avoid tests buildRodrigo Vivi
Tests are still being built by default. However this request came from OSVs in order to allow them to include i-g-t in their distributions by default avoiding adding more and more dependencies since we are improving and adding more and more tests. v2: wait for Ben's spacing fixes and adjusted for new space rules. Signed-off-by: Rodrigo Vivi <rodrigo.vivi@gmail.com> Acked-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-02-05configure.ac: Add vim magic modelineBen Widawsky
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-02-05configure.ac: Fix spacingBen Widawsky
Almost all based on vim's config file type. It got it wrong in a few places which were fixed by hand. Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2012-08-27bump to 1.3 releaseDaniel Vetter
2012-08-24Add --disable-nouveau option for platforms without nouveau supportAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-08-24Revert "tests: disable nouveau if unavailable"Daniel Vetter
This reverts commit dd8325323bfcca1f742e864ca7d87101a0d59936. I like the patch from Alan Coopersmith with an explicit disable option better.
2012-08-24tests: disable nouveau if unavailableMaarten Lankhorst
2012-08-13Add intel <-> nouveau prime testsMaarten Lankhorst
2012-06-29intel: update libdrm requirementBen Widawsky
We want context APIs in order to use our super context test. Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2012-04-10build: make sure we have asprintfBen Widawsky
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2012-03-14configure: Add AC_SYS_LARGEFILE for mmap64 support on 64-bitChris Wilson
Without enabling largefile support the prototype for mmap64() is broken on Linux/x86_64 with the result being a 32-bit integer sign-extended to fill a 64-bit pointer. Hilarity ensues.
2012-02-09Release 1.2Daniel Vetter
2012-02-08add sprite demo from Armin ReeseDaniel Vetter
Also fixed up the copyright header a bit. No comments on the coding styled used ;-) Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-01-24Add Solaris implementation of intel_get_total_swap_mb()Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-01-24testdisplay: make udev optionalDaniel Vetter
Hopefully this makes Solaris happy. Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-01-19tests: make testdisplay non-optionalDaniel Vetter
Not testing modesetting should not be an option. Also this hopefully prevents testdisplay build-breakage from lingering on for days like it has in the past. And we want to eventually test the gem/kms cross-section, i.e. pageflips. Acked-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-01-12Debugger: convert existing makefiles to Automake.Gaetan Nadon
A common xorg idiom is used. The dependencies are auto-detected. If they are present, the debugger is build. If any are missing, the debugger is silently skipped. If --enable-shader-debugger is specified, the configuration will abort if any of the dependencies is missing. No user actions is needed, no env variable to set (as it should be) This will fix a number of problems: build cannot start due Makefile missing in tarball. build fails as GEN4ASM variable not available in Makefile. distcheck is also disturbed. In the process other minor problems were fixed: helper target is missing dependencies on evict.h. too may arguments given to pre_cpp.py but they were ignored. fills /tmp with temporary files. Acked-by: Ben Widawsky <ben@bwidawsk.net> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2012-01-09tools/intel_error_decode: convert over to libdrm decoderDaniel Vetter
Note that a per-ring error decode state would make more sense - this way we could better decode the ring head and tail. But our current head tracking is already lame (we need the kernel to also dump the ringbuffer head/tail first, not just acthd), so I didn't bother. Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-01-08Fix pthread compiler flags to work on Solaris and with Studio compilerAlan Coopersmith
AC_USE_SYSTEM_EXTENSIONS is used to let autoconf take care of setting the right system defintions for POSIX threads & similar extensions to the base POSIX API. Since it will also #define _GNU_SOURCE 1, remove the extra setting to avoid compiler warnings about redefined macros. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-01-08Solaris defines struct winsize in termios.hAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-01-08Provide Solaris implementation of intel_get_total_ram_mbAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-01-04config: restore the libtool minimum version to 1.5Gaetan Nadon
Very few systems still use this old version, but it would be inconvenient to build a video driver with libtool 1.5 and have to build the gpu tools on another system having libtool 2.2. The toolchain version requirements are documented here: http://www.x.org/wiki/ModularDevelopersGuide#GNU_Build_System Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-01-04config: the minimum version for autoconf is 2.60Gaetan Nadon
A version later than 2.60 can be used, but no new features from such a later version can be used in configure.ac. The toolchain version requirements are documented here: http://www.x.org/wiki/ModularDevelopersGuide#GNU_Build_System Minimum version for Automake is 1.10 but we have not written it in any xorg module so far and there has been no issues. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-01-04config: set-up xorg automatic rebuilding rulesGaetan Nadon
The current code is a noop. Use the same configuration as all the other xorg modules. This will change in the future but it is less confusing when all modules behave the same way. Note that these rules apply to building from a tarball only. Restore autogen.sh to be identical in all xorg modules. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-01-04config: use project wide xorg warnings variableGaetan Nadon
Use CWARNFLAGS as in all of xorg. There seems to be no reason why this module should be different. The warnings were updated recently for those who install the latest util-macros. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-01-04config: remove duplicate AC_PROG_CC and AC_PROG__CC_99Gaetan Nadon
The compiler was configured three times. It is done once by XORG_DEFAULT_OPTIONS in util-macros. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-01-04config: remove unrequired AM_PROG_CC_C_OGaetan Nadon
Required when using per-target flags or subdir-objects with C sources. http://www.gnu.org/software/automake/manual/automake.html Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-01-04Man pages still showing version 1.0 in the 1.1 releaseGaetan Nadon
The patch coverts the man subdir to the standard xorg man page makefile. The version number is automatically updated when a new release is made. The man page section number is no longer hard coded either. The package util-macros at version 1.8 or greater is required. Acked-by: Cyril Brulebois <kibi@debian.org> Reviewed-by: Ben Widawsky <ben@bwidawsk.net> Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-12-24Release 1.1Daniel Vetter
2011-11-01cargo-cult the build system into shapeDaniel Vetter
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-11-01always require libdrmDaniel Vetter
... and also add the missing files to lib/Makefile.am Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-10-31i-g-t/debugger - make the debugger work with distcheckBen Widawsky
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2011-10-31i-g-t/debugger: Only allow the shader debugger if the user has specified a ↵Ben Widawsky
gen4asm Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2011-07-28intel-gpu-tools/debugging: shader debuggerBen Widawsky
high level summary of the files: * debug_rdata - get current state from debug registers. Helpful when developing the debugger, and could serve some purpose in the future. * eudb - the debugger itself * eviction_macro - generate the proper macro to flush the EU render cache until I get control flow working * pre_cpp - an evaluating c preprocesser like thing, to be used before cpp * sr - the system routine, exception handler which runs on the EU * test - a very basic test system routine * debug.h
2011-06-08scripts: Add throttle.pyChris Wilson
Parses a trace.dat and works out how long each throttle was and how many batches retired within that period (and their average duration). Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-04-11Add C99 requirement to autoconf.Ben Widawsky
snprintf is part of the C99 standard and is used in many places in the tools. Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2011-02-09build: Update autotools configurationJavier Jardón
Replace deprecated macros and use the new libtool syntax Also use silent-rules to make the build option less verbose.
2011-02-08configure: Bump the libdrm dependencyChris Wilson
Whoops, should have done this ages ago for I915_EXEC_BLT Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-12-21tests: add display testing programJesse Barnes
Just a simple program to light up all detected outputs at their native mode and respond to hotplug events.