summaryrefslogtreecommitdiff
path: root/configs
AgeCommit message (Collapse)Author
2008-01-23Use HOST_CC for programs that will run on the build hostIan Romanick
2008-01-23Use EXTRA_LIB_PATH with *_LIB_DEPSIan Romanick
Make sure EXTRA_LIB_PATH is used with all the LIB_DEPS. Re-order some of the options and tweak the whitespace to make the various LIB_DEPS more readable. This makes building for Cell on x86 a bit easier and doesn't seem to effect other builds.
2008-01-23Remove unnecessary pathsIan Romanick
Removing the paths on certain commands (e.g., ppu32-gcc) and removing -I/usr/include makes it possible to build for Cell on both PowerPC and x86 hosts.
2008-01-04llvm: we need custom rules so had to redo the build a little bitZack Rusin
also don't use sse when llvm is enabled
2008-01-03Cell: added -Wmissing-prototypes to SPU_CFLAGSBrian
2007-12-26Merge branch 'master' into autoconf2Dan Nicholson
2007-12-18Don't try to build nonexistent i915tex driver on linux-x86-64Dan Nicholson
2007-12-11Port to libspe2Ian Romanick
libspe is deprecated in Cell SDK 2.1, and it is removed in Cell SDK 3.0. This patch ports the existing libspe-based code to libspe2. Some error checking (eh-hem) would be nice.
2007-12-11Remove '-include altivec.h'.Ian Romanick
Including altivec.h caused problems in some places that use "pixel" as a variable name.
2007-12-11Redo the fragment program examples to match vp'sZack Rusin
we just load text files instead of compiling tons of small binaries
2007-12-10remove -Wall, add -DGALLIUM_CELLBrian
2007-12-07autoconf: Allow static library buildsDan Nicholson
Allow the user to specify that they want static libraries through the --{enable,disable}-{static,shared} switches like libtool. The mesa build only allows for one at a time, so static will be chosen if someone has passed --enable-static or --disable-shared. This also allows the mklib options to be set at build time. This allows -static to be set for mklib, but any platform specific settings are allowed by setting MKLIB_OPTIONS for configure. Handling of the program libraries through the APP_LIB_DEPS variable is pretty ugly, but it seems to work.
2007-12-07autoconf: Configure the osmesa channel size for OSMesa16 and OSMesa32Dan Nicholson
Allow the user to specify channel bits of 16 or 32 to enable OSMesa16 or OSMesa32 instead of the default OSMesa. This option is controlled through the option --with-osmesa-bits=BITS and is only honored when the driver is osmesa. The osdemos are not enabled in the 16 or 32 bit case because the Makefile is currently hardcoded to link to -lOSMesa.
2007-12-07autoconf: Add support for shared DRI build on linux and freebsdDan Nicholson
Added autoconf bits to allow using DRI as the driver through the option --with-dri-driver=DRIVER. The options are x11 (default) and dri. Three DRI specific options for controlling the driver directory, direct rendering and TLS are also added. The DRI will probably not work for platforms besides linux and freebsd.
2007-12-07autoconf: Initial support for an autoconf configurationDan Nicholson
This adds the initial support for using autoconf configuration. Support is available for shared Xlib driver builds. Later this will be extended to dri and osmesa-only builds and possibly targetting non-X backends. Support for static library builds will also be added. The configure script fills in the autoconf config. This is then used by running `make autoconf' after ./configure. Testing has been done on Linux/GNU. The configure script tries to faithfully reproduce the current configs/linux* and configs/freebsd*. Other platforms can be handled later by adding similar statements and feature tests. Pkg-config is used to search for packages when possible. This makes the build much more flexible and robust to the user's configuration. This requires that the pkg-config autoconf macros pkg.m4 are included in aclocal.m4. This requires autoconf and aclocal from autoconf and automake, respectively.
2007-12-07Make osdemos linking like other programsDan Nicholson
Most of the programs list their dependencies on the Mesa libraries in their Makefiles. This works with the default configuration where APP_LIB_DEPS only lists external libraries. This changes the linux-osmesa configs and the osdemos Makefile to follow that convention. Some cleanup of the Makefile is also added to refer to the GL libraries through the existing variables rather than hardcoding their names.
2007-12-07configs: Fix linking with static libGL and --as-neededDan Nicholson
Linking of the programs breaks when using a static libGL and the GNU ld option --as-needed. This is because libXext is needed for the XShm functions.
2007-12-05Add dependency checking for Cell driver sources.Brian
2007-12-03glut doesn't need -lXtBrian
2007-12-02added -fPICBrian
2007-12-02don't build libglwBrian
2007-12-02Initial Cell driver infrastructure.Brian
No real code yet. Just stand-ins and make/build infrastructure.
2007-12-02glut doesn't need -lXtBrian
2007-11-01Add -fno-strict-aliasing workaround for all GCC targetsDan Nicholson
Use a GCC option to work around aliasing bugs. See commit 013dbcd for more details.
2007-10-31configs: Set -fexceptions for GLUT on linux-dri like other targetsDan Nicholson
Quite a while ago, the GCC option -fexceptions was added for building libglut. See here: http://article.gmane.org/gmane.comp.video.mesa3d.devel/9499 This was missing in the linux-dri targets.
2007-10-31configs: Always use -fPIC for shared libraries, never for staticDan Nicholson
Mesa currently disables -fPIC for DRI on x86, but most Linux distros are re-enabling -fPIC for all DRI arches. Let's just do that here since that's normally what's wanted for shared libraries. Some justification: http://bugs.gentoo.org/show_bug.cgi?id=110840#c9 On the other hand, position-independent code is only necessary when building shared libraries, so disable it for the static cases.
2007-10-31Add -fno-strict-aliasing workaround for Linux GCC targetsDan Nicholson
Most Linux distros work around aliasing problems in Mesa by compiling with the GCC option -fno-strict-aliasing. Two examples: https://bugs.freedesktop.org/show_bug.cgi?id=6046 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=394311 This makes -fno-strict-aliasing the default with a comment that developers should consider commenting it out. There is a already a note about these bugs in docs/helpwanted.html.
2007-10-29Build xdemos programs by default on linux-driDan Nicholson
Since libglut is no longer hardcoded, we can build the xdemos programs so long as a GLX enabled libGL and libGLU have been built.
2007-10-29linux-dri-xcb: Fix undefined refs when linking with libGLDan Nicholson
GL_LIB_DEPS was missing -lXdamage and -lXfixes, which was causing linker errors when trying to build the programs.
2007-10-29update APP_LIB_DEPS for static library configs (patch 3/3)Dan Nicholson
2007-10-29simplify APP_LIB_DEPS (patch 2/3)Dan Nicholson
2007-10-26configs: Fix linux-static to link correctlyDan Nicholson
The linux-static target was missing necessary libraries and hardcoding their location to /usr/X11R6/lib. This makes it comparable to the x86 and x86-64 static targets.
2007-10-25Expand pkg-config flags before invoking the compiler.José Fonseca
This allows IDEs such as Eclipse to get the correct c-preprocessor flags used from the build output.
2007-10-25LLVM requires linking with the C++ compiler.Michel Dänzer
It's basically luck if it works with the C compiler on some platforms...
2007-10-24added catamount-osmesa-pgi configAlex Neundorf
2007-10-24Cleanup some code.Zack Rusin
2007-10-24Introduce linux-llvm target. Remove the llvm code from the default build for ↵Zack Rusin
now. Cleanup some of the debugging output.
2007-10-24Implement the conversion and do the initial execution pass.Zack Rusin
2007-10-24Initial stab at LLVM integration.Zack Rusin
2007-10-04FreeBSD: more /usr/X11R6->/usr/localEric Anholt
2007-09-28add support for LDFLAGS env varDan Nicholson
2007-09-28Update x86's static and profile configs.José Fonseca
2007-09-27FreeBSD: Chase /usr/X11R6 death (replaced by everything in one prefix).Eric Anholt
2007-09-24Move i915tex driver into place as just i915.Eric Anholt
2007-09-24Remove the old i915 driver now that i915tex works without TTM.Eric Anholt
2007-09-20fix -D_BSD_SOURCBrian
2007-09-20Added bluegene-xlc-osmesa config (Alexander Neundorf)Brian
2007-09-19Update linux-profile config.José Fonseca
2007-09-19Add missing -g in FreeBSD OPT_CFLAGSEric Anholt
2007-08-20remove the -DMESA flagsBrian