summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nightly/conf/georgia-tech-cellbuzz-cross.conf10
-rwxr-xr-xnightly/conf/georgia-tech-cellbuzz-cross.sendmail15
2 files changed, 18 insertions, 7 deletions
diff --git a/nightly/conf/georgia-tech-cellbuzz-cross.conf b/nightly/conf/georgia-tech-cellbuzz-cross.conf
index 38fe30df..2c0970ea 100644
--- a/nightly/conf/georgia-tech-cellbuzz-cross.conf
+++ b/nightly/conf/georgia-tech-cellbuzz-cross.conf
@@ -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
diff --git a/nightly/conf/georgia-tech-cellbuzz-cross.sendmail b/nightly/conf/georgia-tech-cellbuzz-cross.sendmail
index 6463484c..3720e0e6 100755
--- a/nightly/conf/georgia-tech-cellbuzz-cross.sendmail
+++ b/nightly/conf/georgia-tech-cellbuzz-cross.sendmail
@@ -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