summaryrefslogtreecommitdiff
path: root/cronscript
blob: 9cc1eca40e9c5ceb55b5d40caa1602ca5be66f89 (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
28
# 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 is terrible, cannot installl what it builds, so help it out here as there's nowhere better to do this
cp /jhbuild/checkout/mesa/mesa/lib/gallium/*.dll /jhbuild/install/bin/
cp --no-dereference /jhbuild/checkout/mesa/mesa/lib/gallium/*.dll.a /jhbuild/install/lib/
# likewise mesa-glut
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 7200 ] ; then
jhbuild -f jhbuildrc.mingw --cross-target="crosscompile to MINGW" autobuild -c -a --report-url="http://jturney-allegra:TBK1zMob@tinderbox.freedesktop.org/builds/rpc"
fi