diff options
author | bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2009-05-01 06:54:43 +0000 |
---|---|---|
committer | bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2009-05-01 06:54:43 +0000 |
commit | aa6dd8142123b4cb00533d73f042eaeaab3bf5c2 (patch) | |
tree | 5fdcd289bf2bd3a2d16c9e0c8cc068d91cfbb3c2 /nightly | |
parent | f96aa84c3166def316fe98d470752108ffcbb748 (diff) |
Updated cross-compilation nightly build config files (not in use at this time).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9708 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'nightly')
-rw-r--r-- | nightly/conf/georgia-tech-cellbuzz-cross.conf | 10 | ||||
-rwxr-xr-x | nightly/conf/georgia-tech-cellbuzz-cross.sendmail | 15 |
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 |