summaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)AuthorFilesLines
2013-09-11Move nv30, nv50 and nvc0 to nouveau.Johannes Obermayr1-4/+1
It is planned to ship openSUSE 13.1 with -shared libs. nouveau.la, nv30.la, nv50.la and nvc0.la are currently LIBADDs in all nouveau related targets. This change makes it possible to easily build one shared libnouveau.so which is then LIBADDed. Also dlopen will be faster for one library instead of three and build time on -jX will be reduced. Whitespace fixes were requested by 'git am'. Signed-off-by: Johannes Obermayr <johannesobermayr@gmx.de> Acked-by: Christoph Bumiller <christoph.bumiller@speed.at> Acked-by: Ian Romanick <ian.d.romanick@intel.com>
2013-09-09build: Delete cross-compiling macros.Kenneth Graunke1-31/+0
Now that builtin_compiler is gone, nothing uses these. Reviewed-by: Matt Turner <mattst88@gmail.com> Acked-by: Paul Berry <stereotype441@gmail.com>
2013-09-09glsl: Remove builtin_compiler from the build system.Kenneth Graunke1-1/+0
We don't actually use anything from builtin_function.cpp, so we don't need to generate it anymore. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Matt Turner <mattst88@gmail.com> Acked-by: Paul Berry <stereotype441@gmail.com>
2013-08-27configure.ac: Bump Wayland requirement to 1.2.0Fabio Pedretti1-1/+1
Since 8d29b52 wayland 1.2.0 is required. Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
2013-08-26Fixed and/or order mistake, resulting in compiling llvmpipe without llvm ↵Kristian Lehmann1-2/+2
installed Cc: 9.2 <mesa-stable@lists.freedesktop.org> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=68544 Reviewed-by: Matt Turner <mattst88@gmail.com>
2013-08-23gallium/osmesa: Make and install an osmesa.pc.Jon Severinsson1-0/+1
As of "2f142d59 build: Add --enable-gallium-osmesa flag." the pkgconfig file from classic osmesa is no longer installed when building gallium osmesa, so copy it to gallium osmesa and install the copy instead. CC: "9.2" <mesa-stable@lists.freedesktop.org> Reviewed-by: Matt Turner <mattst88@gmail.com>
2013-08-21build: Add --enable-gallium-osmesa flag.Matt Turner1-6/+25
The Gallium implementation is apparently not ready for regular consumption, so as much as I hate adding more build-time options, here's another. Acked-by: Brian Paul <brianp@vmware.com>
2013-08-16clover: Fix linkage of libOpenCLNiels Ole Salscheider1-0/+4
Clover needs the option component of llvm. Reviewed-by: Tom Stellard <tom@stellard.net> Signed-off-by: Niels Ole Salscheider <niels_ole@salscheider-online.de>
2013-07-29build: unify mesa version by using a VERSION fileEmil Velikov1-1/+2
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 <mattst88@gmail.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2013-07-25mesa: Bump version to 9.3.0-devel.Kenneth Graunke1-1/+1
This should have been done when making the 9.2 branch, but was missed.
2013-07-25xa: bump major versionRob Clark1-1/+1
Bump major version, as the change to require explicit xa_context_flush(), the addition of the handle-type parameter to xa_surface_handle(), and change of surface to ref/unref will require a minor change in DDX.
2013-07-22configure.ac: Use correct options names in AC_ARG_ENABLE.Matt Turner1-4/+4
2013-07-22build: Remove unused EGL_PLATFORMS.Matt Turner1-6/+1
2013-07-18gen_matypes: fix cross-compiling with gccMike Frysinger1-0/+6
The current gen_matypes logic assumes that the host compiler will produce information that is useful for the target compiler. Unfortunately, this is not the case whenever cross-compiling. When we detect that we're cross-compiling and using GCC, use the target compiler to produce assembly from the gen_matypes.c source, then process it with a shell script to create a usable header. This is similar to how the linux kernel creates its asm-offsets.c file. Reviewed-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-07-17configure.ac: On some systems, "x86-64" is called "amd64"Jean-Sébastien Pédron1-6/+6
For instance, this is the case on FreeBSD. Signed-off-by: Vinson Lee <vlee@freedesktop.org>
2013-07-17configure.ac: make grep tests more portableJonathan Gray1-3/+3
Use grep -w instead of the empty string escape sequences which are less portable. Makes the grep tests function as intended on OpenBSD. Signed-off-by: Jonathan Gray <jsg@jsg.id.au> Reviewed-by: Vinson Lee <vlee@freedesktop.org> Signed-off-by: Vinson Lee <vlee@freedesktop.org>
2013-07-17configure.ac: add OpenBSDJonathan Gray1-3/+3
Signed-off-by: Jonathan Gray <jsg@jsg.id.au> Reviewed-by: Vinson Lee <vlee@freedesktop.org> Signed-off-by: Vinson Lee <vlee@freedesktop.org>
2013-07-12configure.ac: better detection of LLVM versionKlemens Baum1-15/+26
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
2013-07-12configure: Avoid use of AC_CHECK_FILE for cross compilingJonathan Liu1-6/+6
The AC_CHECK_FILE macro can't be used for cross compiling as it will result in "error: cannot check for file existence when cross compiling". Replace it with the AS_IF macro. Reviewed-by: Tom Stellard <thomas.stellard@amd.com> Signed-off-by: Jonathan Liu <net147@gmail.com>
2013-07-11radeon: bump libdrm_radeon requirement for CIK supportAlex Deucher1-1/+1
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2013-07-01build: fix EGL build when no X11 headers are presentRoss Burton1-0/+7
eglplatform.h defaults to X11 on Unix unless told otherwise, so if we're doing a build without any X11 support tell it so that we don't try including headers that don't exist. Also set GL_PC_FLAGS so that the definition is in egl.pc, so that applications using EGL don't try to pull in X11 headers on systems where EGL was configured without X11 support. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=64959 Signed-off-by: Ross Burton <ross.burton@intel.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
2013-06-08freedreno: add a3xx supportRob Clark1-0/+1
The adreno a3xx GPU is found in newer snapdragon devices, such as the nexus4. The a3xx is GLESv3 and OpenCL capable, although that is not enabled yet in gallium. Compared to a2xx, it introduces an entirely new unified shader ISA, and re-shuffles all or nearly all of the registers. The good news is that (for the most part) the registers are more orthogonal, not combining unrelated state in a single register. And that there is a lot more flexibility, so we don't need to patch and re-emit the shader like we did on a2xx. The shader compiler is currently quite dumb, there would be a lot of room for improvement with an optimizing pass. Despite that, with the a320 in my nexus4 it seems to be ~2-3x faster compared to the a220 in my HP touchpad. Signed-off-by: Rob Clark <robclark@freedesktop.org>
2013-06-08freedreno: prepare for a3xxRob Clark1-0/+1
Split the parts that are specific to adreno a2xx series GPUs from the parts that will be in common with a3xx, so that a3xx support can be added more cleanly. Signed-off-by: Rob Clark <robclark@freedesktop.org>
2013-06-06build: Unify PACKAGE_VERSION on autotools, scons and AndroidAndreas Boll1-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 <brianp@vmware.com>
2013-06-06configure.ac: Build dricommon for gallium swrastMike Stroyan1-0/+1
When building dri-swrast, use gallium_check_st to set HAVE_COMMON_DRI. Commit 07f2dee7 added setting of HAVE_COMMON_DRI in gallium_check_st. But the dri-swrast case did not use gallium_check_st. So dri/common was still not built. v2: set HAVE_COMMON_DRI=yes instead of using gallium_check_st NOTE: This is a candidate for the 9.1 branch. (Depends on 7de78ce5 and 07f2dee) Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=61821 Signed-off-by: Andreas Boll <andreas.boll.dev@gmail.com>
2013-05-28radeonsi: Add ipo to LLVM_COMPONENTSAndreas Hartmetz1-2/+2
r600g needs it too, so add ipo in the common radeon_llvm_check(). radeonsi compiled and linked, but it failed at dynamic link time with a missing symbol. Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
2013-05-15r600g: rewrite FMASK allocation, fix FMASK texturing with 2 and 4 samplesMarek Olšák1-1/+1
This fixes and enables texturing with compressed MSAA colorbuffers on Evergreen and Cayman. For the first time, multisample textures work on Cayman. This requires the libdrm flag RADEON_SURF_FMASK. v2: require libdrm_radeon 2.4.45 Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2013-05-01build: remove unused API_DEFINESAndreas Boll1-3/+0
Reviewed-by: Matt Turner <mattst88@gmail.com>
2013-05-01configure: remove IN_DRI_DRIVERBrian Paul1-10/+5
Not used anymore. v2: Andreas Boll <andreas.boll.dev@gmail.com> - split patch into two patches - remove more unused code Reviewed-by: Matt Turner <mattst88@gmail.com>
2013-05-01configure: remove FEATURE_GL/ES1/ES2Brian Paul1-12/+1
Not used anymore. v2: Andreas Boll <andreas.boll.dev@gmail.com> - split patch into two patches Reviewed-by: Matt Turner <mattst88@gmail.com>
2013-04-30build: Remove libws_xlib.la from GALLIUM_PIPE_LOADER_LIBS.Matt Turner1-4/+0
The three users of GALLIUM_PIPE_LOADER_LIBS (OpenCL, gallium-gbm, gallium tests) don't appear to need libws_xlib.la. Tested-by: Tom Stellard <thomas.stellard@amd.com> Tested-by: Aaron Watry <awatry@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com>
2013-04-30build: Remove libpipe_loader.la from GALLIUM_PIPE_LOADER_LIBS.Matt Turner1-1/+0
Tested-by: Tom Stellard <thomas.stellard@amd.com> Tested-by: Aaron Watry <awatry@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com>
2013-04-30build: Remove HAVE_PIPE_LOADER_SW.Matt Turner1-1/+0
It guarded the function prototype of pipe_loader_sw_probe, whose use (in pipe_loader.c) and definition (in pipe_loader_sw.c) were not guarded. Both are built into libpipe_loader.la if HAVE_LOADER_GALLIUM, which is enable_gallium_loader in configure.ac. Tested-by: Tom Stellard <thomas.stellard@amd.com> Tested-by: Aaron Watry <awatry@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com>
2013-04-30build: Remove libws_null.la from GALLIUM_PIPE_LOADER_LIBS.Matt Turner1-1/+0
Tested-by: Tom Stellard <thomas.stellard@amd.com> Tested-by: Aaron Watry <awatry@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com>
2013-04-30build: Rename PIPE_LOADER_HAVE_XCB to HAVE_PIPE_LOADER_XCB.Matt Turner1-1/+1
For consistency, since we already have HAVE_PIPE_LOADER_{SW,DRM}. Tested-by: Tom Stellard <thomas.stellard@amd.com> Tested-by: Aaron Watry <awatry@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com>
2013-04-30configure.ac: Remove unused HAVE_PIPE_LOADER_XLIB macro.Matt Turner1-1/+0
Added in e1364530 but never used. Tested-by: Tom Stellard <thomas.stellard@amd.com> Tested-by: Aaron Watry <awatry@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com>
2013-04-26ilo: add the driver to the build systemChia-I Wu1-1/+12
Add ilo to targets/egl-static and add a new target dri-ilo. Update autoconf and automake rules.
2013-04-23configure.ac: Allow OpenGL ES1 and ES2 only with enabled OpenGLAndreas Boll1-0/+11
Building OpenGL ES1 and/or ES2 without OpenGL is not supported on mesa 9.0.x Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
2013-04-18configure.ac: Remove gallium-g3dvl flag.Matt Turner1-16/+1
It's next to useless, since it just allows you to turn off VDPAU and XvMC with a single switch. Just check whether Gallium drivers are enabled instead. Reviewed-by: Christian König <christian.koenig@amd.com>
2013-04-18radeonsi: add 2d tiling support for texture v3Jerome Glisse1-1/+1
v2: Remove left over code v3: Restage properly the commit so hunk of first one are not in second one. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2013-04-17configure: enable vdpau and xvmc detection, with galliumEmil Velikov1-2/+8
Currently the vdpau and xvmc detection code, is enabled for all builds. The state trackers exist only within gallium. Enable whenever at least one gallium driver is selected v2: removed stray '-a' [mattst88 v3]: Removed stray $. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=63645 Reviewed-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2013-04-17gallivm: JIT symbol resolution with linux perf.José Fonseca1-7/+0
Details on docs/llvmpipe.html Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com>
2013-04-16autoconf: enable detection of vdpau and xvmc by defaultChristian König1-3/+3
Since we now have UVD support we should enable them by default. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2013-04-15build: Get rid of GALLIUM_WINSYS_DIRSMatt Turner1-15/+23
configure still uses it to print the enabled winsys. Tested-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-and-Tested-by: Andreas Boll <andreas.boll.dev@gmail.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
2013-04-15build: Get rid of GALLIUM_TARGET_DIRSMatt Turner1-1/+1
configure still uses it to print the enabled targets. Tested-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-and-Tested-by: Andreas Boll <andreas.boll.dev@gmail.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
2013-04-15build: Build pipe-loader before gallium testsMatt Turner1-4/+4
And don't build it from other Makefiles. That's awful, and breaks distclean. Tested-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-and-Tested-by: Andreas Boll <andreas.boll.dev@gmail.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
2013-04-15build: Get rid of GALLIUM_MAKE_DIRSMatt Turner1-23/+7
Tested-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-and-Tested-by: Andreas Boll <andreas.boll.dev@gmail.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
2013-04-15build: Stop using GALLIUM_STATE_TRACKERS_DIRS for SUBDIRSMatt Turner1-24/+21
configure still uses it to print the enabled state trackers. Tested-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-and-Tested-by: Andreas Boll <andreas.boll.dev@gmail.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
2013-04-15build: Get rid of DRIVER_DIRSMatt Turner1-7/+2
Tested-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-and-Tested-by: Andreas Boll <andreas.boll.dev@gmail.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
2013-04-15build: Stop AC_SUBST'ing DRI_DIRS and GALLIUM_DRIVERS_DIRSMatt Turner1-2/+0
Neither are used in Makefile.ams. Tested-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-and-Tested-by: Andreas Boll <andreas.boll.dev@gmail.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>