Mercurial > hg > aboriginal
comparison sources/toys/nightly.sh @ 774:0d83b2530f6d
Remove triage directories up front, so "hg update" doesn't take 15 minutes.
author | Rob Landley <rob@landley.net> |
---|---|
date | Wed, 01 Jul 2009 18:53:53 -0500 |
parents | 1fbe6d6a5a6b |
children | 7f0e808e3be0 |
comparison
equal
deleted
inserted
replaced
773:2b9e8af90917 | 774:0d83b2530f6d |
---|---|
4 #FWL_STABLE=tip | 4 #FWL_STABLE=tip |
5 | 5 |
6 TOP="$(pwd)" | 6 TOP="$(pwd)" |
7 SNAPSHOT_DATE=$(date +"%Y-%m-%d") | 7 SNAPSHOT_DATE=$(date +"%Y-%m-%d") |
8 | 8 |
9 rm -rf triage.* build & | |
10 | |
9 # Update the scripts, but revert repository back to last release for the | 11 # Update the scripts, but revert repository back to last release for the |
10 # first few builds. | 12 # first few builds. |
11 | 13 |
12 hg pull | 14 hg pull |
15 wait | |
16 | |
13 [ -z "$FWL_STABLE" ] && | 17 [ -z "$FWL_STABLE" ] && |
14 FWL_STABLE="$(hg tags | grep -v tip | head -n 1 | awk '{print $1}')" | 18 FWL_STABLE="$(hg tags | grep -v tip | head -n 1 | awk '{print $1}')" |
15 hg update "$FWL_STABLE" | 19 hg update "$FWL_STABLE" |
16 | 20 |
17 # Update each package from repository, generate alt-tarball, and build with | 21 # Update each package from repository, generate alt-tarball, and build with |
37 | 41 |
38 # Build everything with unstable version of that package, and stable | 42 # Build everything with unstable version of that package, and stable |
39 # version of everything else (including build scripts). | 43 # version of everything else (including build scripts). |
40 | 44 |
41 cd "$TOP" | 45 cd "$TOP" |
42 rm -rf triage.$PACKAGE | |
43 FORK=1 CROSS_COMPILERS_EH=i686 NATIVE_COMPILERS_EH=1 nice -n 20 ./buildall.sh | 46 FORK=1 CROSS_COMPILERS_EH=i686 NATIVE_COMPILERS_EH=1 nice -n 20 ./buildall.sh |
44 | 47 |
45 ./smoketest-all.sh --logs > build/status.txt | 48 ./smoketest-all.sh --logs > build/status.txt |
46 | 49 |
47 DESTDIR="$TOP/../snapshots/$PACKAGE/$SNAPSHOT_DATE" | 50 DESTDIR="$TOP/../snapshots/$PACKAGE/$SNAPSHOT_DATE" |