]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Updated cross-compilation nightly build config files (not in use at this time).
authorBart Van Assche <bvanassche@acm.org>
Fri, 1 May 2009 06:54:43 +0000 (06:54 +0000)
committerBart Van Assche <bvanassche@acm.org>
Fri, 1 May 2009 06:54:43 +0000 (06:54 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9708

nightly/conf/georgia-tech-cellbuzz-cross.conf
nightly/conf/georgia-tech-cellbuzz-cross.sendmail

index 38fe30df42b9c98423ea645ce4cf238fce9dbdcd..2c0970ea0befe84566d2c1227418cdf429b8e6ff 100644 (file)
@@ -7,18 +7,18 @@
 # Georgia Tech Cellbuzz cluster is tcsh. Any shell code must be suitable for
 # sh, bash and tcsh. As an example, tcsh understands ">&" but not "2>&1".
 
-ABT_DETAILS="cellbuzz, ppc64, Fedora 6, cross"
-ABT_CONFIGURE_OPTIONS="--build=x86_64-linux-gnu --host=powerpc64-unknown-linux --target=powerpc64-unknown-linux STRIP=/opt/cell/bin/ppu-strip CC=/opt/cell/bin/ppu-gcc CPP='/opt/cell/bin/ppu-gcc -E' CXX=/opt/cell/bin/ppu-g++ RANLIB=/opt/cell/bin/ppu-ranlib CCAS=/opt/cell/bin/ppu-gcc"
+ABT_DETAILS="cellbuzz, ppc64, Fedora 9, cross"
+CROSS_PATH="/opt/cell/toolchain/bin"
+ABT_CONFIGURE_OPTIONS="--build=x86_64-linux-gnu --host=powerpc64-unknown-linux --target=powerpc64-unknown-linux STRIP=${CROSS_PATH}/ppu-strip CC=${CROSS_PATH}/ppu-gcc CPP='${CROSS_PATH}/ppu-gcc -E' CXX=${CROSS_PATH}/ppu-g++ RANLIB=${CROSS_PATH}/ppu-ranlib CCAS=${CROSS_PATH}/ppu-gcc"
 ABT_RUN_REGTEST="cellbuzz_run_regtest"
 ABT_JOBS=3
 
 cellbuzz_run_regtest() {
   cd valgrind || return $?
   rm -f regtest-output.txt
-  jobid=`echo "{ cd $PWD && perl tests/vg_regtest --all; } >& $PWD/regtest-output.txt" \
-         | /usr/pbs/bin/qsub`
+  jobid=`echo "{ cd $PWD && perl tests/vg_regtest --all; } >& $PWD/regtest-output.txt" | qsub`
   echo "Job ID = ${jobid}"
-  while [ `/usr/pbs/bin/qstat "${jobid}" 2>/dev/null | wc --lines` -gt 0 ]
+  while [ `qstat "${jobid}" 2>/dev/null | wc --lines` -gt 0 ]
   do
     sleep 10
   done
index 6463484c5376270fa9c522fc6ababc4cc0db5e18..3720e0e6d071d715f91a5f15cb3692a049bdb7e8 100755 (executable)
@@ -1,4 +1,15 @@
+#!/bin/sh
 
-# use: georgia-tech-cellbuzz.sendmail subject file-to-mail
+# use: georgia-tech-cellbuzz.sendmail subject file-to-mail [file-to-attach]
+# Don't forget to set the variables 'from' and 'realname' in ~/.muttrc !
 
-/bin/mailx -s "$1" valgrind-developers@lists.sourceforge.net -- -R bart.vanassche@gmail.com -r bart.vanassche@gmail.com < $2
+sender="bart.vanassche@gmail.com"
+recipients="valgrind-developers@lists.sourceforge.net"
+#recipients="bart.vanassche@gmail.com"
+if [ $# -ge 3 ]; then
+  gzip -9 <"$3" >"$3.gz"
+  mutt -s "$1" -a "$3.gz" ${recipients} < "$2"
+  rm -f "$3.gz"
+else
+  mutt -s "$1" ${recipients} < "$2"
+fi