summaryrefslogtreecommitdiff
path: root/cronscript
blob: e3262b3024d19c01ec101119c6743c9d2ab1f3f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
export TINDERBOX=1

# bring xorg.modules up-to-date
cd /jhbuild/checkout/xorg/util/modular/
git pull --rebase --quiet >/dev/null
cd /jhbuild

# purge autoconf configure caches
rm -f configure-cache
rm -f configure-cache-mingw

T1=$(date +%s)

# jhbuild for cygwin
jhbuild -f jhbuildrc autobuild -c -a --report-url="http://jturney-byron:ZpeyPFuK@tinderbox.x.org/builds/rpc"

# mesa-glut is terrible, cannot install what it builds, so help it out here as there's nowhere better to do this
cp /jhbuild/checkout/mesa/glut/lib/*.dll /jhbuild/install/bin/
cp --no-dereference /jhbuild/checkout/mesa/glut/lib/*.dll.a /jhbuild/install/lib/

# jhbuild for mingw, if we have time
T2=$(date +%s)
DT="$(expr $T2 - $T1)"

#if [ $DT -lt 21600 ] ; then
#jhbuild -f jhbuildrc.mingw autobuild -c -a --report-url="http://jturney-allegra:TBK1zMob@tinderbox.x.org/builds/rpc"
#fi