changeset 850:e0879d661b55

Add native-static-build.sh to buildall.sh, and upgrade logging.
author Rob Landley <rob@landley.net>
date Wed, 14 Oct 2009 15:55:42 -0500
parents 5dd1a99a0737
children b1ab9e87aff5
files sources/more/buildall.sh sources/more/native-static-build.sh
diffstat 2 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/sources/more/buildall.sh	Wed Oct 14 15:52:15 2009 -0500
+++ b/sources/more/buildall.sh	Wed Oct 14 15:55:42 2009 -0500
@@ -53,4 +53,8 @@
 
 wait
 
+# This one has to do its own forking to avoid redundantly creating hdc.sqf
+
+sources/more/native-static-build.sh $i
+
 sources/more/smoketest-all.sh --logs
--- a/sources/more/native-static-build.sh	Wed Oct 14 15:52:15 2009 -0500
+++ b/sources/more/native-static-build.sh	Wed Oct 14 15:55:42 2009 -0500
@@ -33,9 +33,11 @@
 then
   do_arch "$1"
 else
-  for i in $(ls build/system-image-*.tar.bz2 | sed 's@build/system-image-\(.*\)\.tar\.bz2@\1@')
+  mkdir -p build/logs
+
+  for i in $(ls build/system-image-*.tar.bz2 | sed 's@build/system-image-\(.*\)\.tar\.bz2@\1@' | grep -v system-image-hw-)
   do
-    maybe_fork do_arch $i
+    maybe_fork "do_arch $i | tee build/log/native-static-$i.txt | maybe_quiet"
   done
 
   wait