Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Unified Diff: third_party/xvfb/building/then-build

Issue 9600031: Move xvfb. Add llvmpipe.so. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/xvfb/building/install-prereq ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/xvfb/building/then-build
===================================================================
--- third_party/xvfb/building/then-build (revision 0)
+++ third_party/xvfb/building/then-build (working copy)
@@ -6,16 +6,18 @@
PPATH=/usr/lib/pkgconfig
LPATH="$(pwd)"
export PKG_CONFIG_PATH="${LPATH}"/lib/pkgconfig:"${PPATH}"
+export PATH="${LPATH}/bin:${PATH}"
# Print an early message about what we think we're building.
# Informative only, if this fails, comment it out.
arch=$(python -c 'import platform; print platform.architecture()[0]')
-echo "Builiding for $arch ..."
+echo "Building for $arch ..."
+PKGS="util-macros-1.11.0 xproto-7.0.20 xcb-proto-1.6 libXfont-1.4.3 \
+ dri2proto-2.3 libxkbfile-1.0.7 libdrm-2.4.26 libXmu-1.0.5"
+
rm -f .xorg.stop
-for p in util-macros-1.11.0 xproto-7.0.20 xcb-proto-1.6 libXfont-1.4.3 \
- dri2proto-2.3 libxkbfile-1.0.7 libdrm-2.4.26 \
- libXmu-1.0.5 ; do
+for p in ${PKGS} ; do
if [ -f $p.succeeded ] ; then
echo $p already done
else
@@ -37,19 +39,23 @@
fi
done
-mv=7.11
+mv=${MESA_VER-8.0.1}
p=Mesa-${mv}
if [ -f $p.succeeded ] ; then
echo $p already done
else
- tar xzf ../MesaGLUT-${mv}.tar.gz
+ [ -d lib ] || mkdir lib
Peter Mayo 2012/03/05 21:11:51 perhaps 'mkdir -p lib'
tar xzf ../MesaLib-${mv}.tar.gz
- ( cd $p && ./configure --prefix="$LPATH" --exec_prefix="$LPATH" \
- --with-gallium-drivers= --with-dri-drivers= && \
+ ( cd $p && \
+ ./configure --prefix="$LPATH" --exec_prefix="$LPATH" \
+ --with-driver=xlib \
+ --with-gallium-drivers=swrast --with-dri-drivers= && \
make && make install ) >$p.output 2>&1 && mv $p.output $p.succeeded
if [ -f $p.succeeded ] ; then
echo $p done
+ cp $p/lib/gallium/libGL.so lib/libllvmpipe.so
+ echo llvmpipe.so built for $arch
else
echo $p FAILED ; tail -80 $p.output ; echo $p FAILED
touch .xorg.stop
« no previous file with comments | « third_party/xvfb/building/install-prereq ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698