From ec19cb2a6d3f99cba7cd1fbf73a64d2299e93206 Mon Sep 17 00:00:00 2001 From: Richard Brooksby Date: Tue, 18 Jun 2002 12:49:41 +0100 Subject: [PATCH] Removing tool/robot, as it's no use to anyone else. Copied from Perforce Change: 30237 ServerID: perforce.ravenbrook.com --- mps/tool/robot/README | 13 --- mps/tool/robot/bin/build/MM_dylan_dove | 65 ----------- mps/tool/robot/bin/build/MM_dylan_jackdaw | 66 ------------ mps/tool/robot/bin/build/MM_dylan_kinglet | 68 ------------ mps/tool/robot/bin/build/MM_epcore_anchovy | 81 -------------- mps/tool/robot/bin/build/MM_epcore_brisling | 81 -------------- mps/tool/robot/bin/build/MM_epcore_minnow | 82 -------------- mps/tool/robot/bin/build/MM_epcore_sardine | 83 -------------- mps/tool/robot/bin/build/MM_src_trunk | 81 -------------- mps/tool/robot/bin/build/MMdevel_sw_eq | 84 --------------- mps/tool/robot/bin/checkout | 16 --- mps/tool/robot/bin/mmqa/MMQA_dylan_jackdaw | 89 --------------- mps/tool/robot/bin/mmqa/MMQA_dylan_kinglet | 89 --------------- mps/tool/robot/bin/mmqa/MMQA_epcore_brisling | 88 --------------- mps/tool/robot/bin/mmqa/MMQA_src_trunk | 101 ----------------- mps/tool/robot/bin/overnight | 70 ------------ mps/tool/robot/bin/tidy | 23 ---- mps/tool/robot/etc/deja-vu.cron | 7 -- mps/tool/robot/etc/nova.cron | 4 - mps/tool/robot/etc/ocoee.cron | 8 -- mps/tool/robot/etc/shenv | 11 -- mps/tool/robot/etc/trillian.cron | 8 -- mps/tool/robot/etc/zaphod.cron | 9 -- mps/tool/robot/public-html/Welcome.html | 108 ------------------- 24 files changed, 1335 deletions(-) delete mode 100644 mps/tool/robot/README delete mode 100644 mps/tool/robot/bin/build/MM_dylan_dove delete mode 100644 mps/tool/robot/bin/build/MM_dylan_jackdaw delete mode 100644 mps/tool/robot/bin/build/MM_dylan_kinglet delete mode 100644 mps/tool/robot/bin/build/MM_epcore_anchovy delete mode 100644 mps/tool/robot/bin/build/MM_epcore_brisling delete mode 100644 mps/tool/robot/bin/build/MM_epcore_minnow delete mode 100644 mps/tool/robot/bin/build/MM_epcore_sardine delete mode 100644 mps/tool/robot/bin/build/MM_src_trunk delete mode 100644 mps/tool/robot/bin/build/MMdevel_sw_eq delete mode 100644 mps/tool/robot/bin/checkout delete mode 100644 mps/tool/robot/bin/mmqa/MMQA_dylan_jackdaw delete mode 100644 mps/tool/robot/bin/mmqa/MMQA_dylan_kinglet delete mode 100644 mps/tool/robot/bin/mmqa/MMQA_epcore_brisling delete mode 100644 mps/tool/robot/bin/mmqa/MMQA_src_trunk delete mode 100644 mps/tool/robot/bin/overnight delete mode 100644 mps/tool/robot/bin/tidy delete mode 100644 mps/tool/robot/etc/deja-vu.cron delete mode 100644 mps/tool/robot/etc/nova.cron delete mode 100644 mps/tool/robot/etc/ocoee.cron delete mode 100644 mps/tool/robot/etc/shenv delete mode 100644 mps/tool/robot/etc/trillian.cron delete mode 100644 mps/tool/robot/etc/zaphod.cron delete mode 100644 mps/tool/robot/public-html/Welcome.html diff --git a/mps/tool/robot/README b/mps/tool/robot/README deleted file mode 100644 index ab403e2dd44..00000000000 --- a/mps/tool/robot/README +++ /dev/null @@ -1,13 +0,0 @@ - MEMORY MANAGEMENT ROBOT - - -$HopeName$ - -The Memory Management Robot is a pseudo-user who performs tedious -tasks on behalf of the MM group and reports any problems found. The -crontab files used to perform these automatic actions can be found in -HOMEmm!etc:*.cron. - -For information about the Adaptive Memory Management group, see the -web page or the MM Information database in -Spring. diff --git a/mps/tool/robot/bin/build/MM_dylan_dove b/mps/tool/robot/bin/build/MM_dylan_dove deleted file mode 100644 index aa35a96980d..00000000000 --- a/mps/tool/robot/bin/build/MM_dylan_dove +++ /dev/null @@ -1,65 +0,0 @@ -#!/bin/sh -# -# Build and test MM/Dylan product at tip of branch MM_dylan_dove -# -# $HopeName$ - - -script="`basename $0`" -platform=$1 -varieties="ci hi he" - -msg () { - echo "$script $platform: $*" 1>&2 -} - -die () { - msg "$@" - exit 1 -} - -test -d $HOME/Builds || mkdir $HOME/Builds || - die "Unable to create Builds directory" - -cd $HOME/Builds && -rm -rf MM_dylan_dove && -mkdir MM_dylan_dove && -cd MM_dylan_dove || - die "Unable to get to Builds/MM_dylan_dove directory" - -hope co -compound MMsrc -branch MM_dylan_dove -recursive \ - -writable-files quit -missing-dir create -extra-files skip || - die "Unable to check out MMsrc(MM_dylan_dove) from HOPE" - - -## Build a library -build_lib () { - for variety in $varieties - do - date - gnumake -rf ${platform}.gmk VARIETY=$variety $1 || - die "Unable to build library $1 of MM_dylan_dove" - done -} - -## Build and run a test -do_tests () { - for variety in $varieties - do - gnumake -rf ${platform}.gmk VARIETY=$variety $1 || - die "$1 failed for variety $variety of MM_dylan_dove" - rm mpsio.log - done -} - - -cd src - -build_lib mpsplan.a - -do_tests testrun - - -# If the tests succeeded, delete the junk -cd $HOME/Builds && -rm -rf MM_dylan_dove diff --git a/mps/tool/robot/bin/build/MM_dylan_jackdaw b/mps/tool/robot/bin/build/MM_dylan_jackdaw deleted file mode 100644 index 7e83126a519..00000000000 --- a/mps/tool/robot/bin/build/MM_dylan_jackdaw +++ /dev/null @@ -1,66 +0,0 @@ -#!/bin/sh -# -# Build and test MM/Dylan product at tip of branch MM_dylan_jackdaw -# -# $HopeName: HOMEmm!bin:build:MM_dylan_jackdaw(trunk.1) $ - - -script="`basename $0`" -platform=$1 -varieties="ci hi he" - -msg () { - echo "$script $platform: $*" 1>&2 -} - -die () { - msg "$@" - exit 1 -} - -test -d $HOME/Builds || mkdir $HOME/Builds || - die "Unable to create Builds directory" - -cd $HOME/Builds && -rm -rf MM_dylan_jackdaw && -mkdir MM_dylan_jackdaw && -cd MM_dylan_jackdaw || - die "Unable to get to Builds/MM_dylan_jackdaw directory" - -hope co -compound MMsrc -branch MM_dylan_jackdaw -recursive \ - -writable-files quit -missing-dir create -extra-files skip || - die "Unable to check out MMsrc(MM_dylan_jackdaw) from HOPE" - - -## Build a library -build_lib () { - for variety in $varieties - do - date - gnumake -rf ${platform}.gmk VARIETY=$variety $1 || - die "Unable to build library $1 of MM_dylan_jackdaw" - done -} - -## Build and run a test -do_tests () { - for variety in $varieties - do - gnumake -rf ${platform}.gmk VARIETY=$variety $1 || - die "$1 failed for variety $variety of MM_dylan_jackdaw" - rm mpsio.log - done -} - - -cd src - -build_lib mpsplan.a -build_lib mmdw.a - -do_tests testrun - - -# If the tests succeeded, delete the junk -cd $HOME/Builds && -rm -rf MM_dylan_jackdaw diff --git a/mps/tool/robot/bin/build/MM_dylan_kinglet b/mps/tool/robot/bin/build/MM_dylan_kinglet deleted file mode 100644 index 9ac0a65b310..00000000000 --- a/mps/tool/robot/bin/build/MM_dylan_kinglet +++ /dev/null @@ -1,68 +0,0 @@ -#!/bin/sh -# -# Build and test MM/Dylan product at tip of branch MM_dylan_kinglet -# -# $HopeName$ - - -script="`basename $0`" -platform=$1 -varieties="ci hi he" - - -msg () { - echo "$script $platform: $*" 1>&2 -} - -die () { - msg "$@" - exit 1 -} - - -test -d $HOME/Builds || mkdir $HOME/Builds || - die "Unable to create Builds directory" - -cd $HOME/Builds && -rm -rf MM_dylan_kinglet && -mkdir MM_dylan_kinglet && -cd MM_dylan_kinglet || - die "Unable to get to Builds/MM_dylan_kinglet directory" - -hope co -compound MMsrc -branch MM_dylan_kinglet -recursive \ - -writable-files quit -missing-dir create -extra-files skip || - die "Unable to check out MMsrc(MM_dylan_kinglet) from HOPE" - - -## Build a library -build_lib () { - for variety in $varieties - do - date - gnumake -rf ${platform}.gmk VARIETY=$variety $1 || - die "Unable to build library $1 of MM_dylan_kinglet" - done -} - -## Build and run a test -do_tests () { - for variety in $varieties - do - gnumake -rf ${platform}.gmk VARIETY=$variety $1 || - die "$1 failed for variety $variety of MM_dylan_kinglet" - rm mpsio.log - done -} - - -cd src - -build_lib mpsplan.a -build_lib mmdw.a - -do_tests testrun - - -# If the tests succeeded, delete the junk -cd $HOME/Builds && -rm -rf MM_dylan_kinglet diff --git a/mps/tool/robot/bin/build/MM_epcore_anchovy b/mps/tool/robot/bin/build/MM_epcore_anchovy deleted file mode 100644 index 8aad12ccca2..00000000000 --- a/mps/tool/robot/bin/build/MM_epcore_anchovy +++ /dev/null @@ -1,81 +0,0 @@ -#!/bin/sh -# -# Build and test MM (the MMsrc compound) at tip of branch MM_epcore_anchovy -# -# $HopeName: HOMEmm!bin:build:MM_epcore_anchovy(trunk.1) $ - - -script="`basename $0`" -platform=$1 -varieties="ti hi we" - - -msg () { - echo "$script $platform: $*" 1>&2 -} - -die () { - msg "$@" - exit 1 -} - - -test -d $HOME/Builds || mkdir $HOME/Builds || - die "Unable to create Builds directory" - -cd $HOME/Builds && -rm -rf MM_epcore_anchovy && -mkdir MM_epcore_anchovy && -cd MM_epcore_anchovy || - die "Unable to get to Builds/MM_epcore_anchovy directory" - -hope co -compound MMsrc -branch MM_epcore_anchovy -recursive \ - -writable-files quit -missing-dir create -extra-files skip || - die "Unable to check out MMsrc(MM_epcore_anchovy) from HOPE" - - -## Build a library -build_lib () { - for variety in $varieties - do - date - gnumake -rf ${platform}.gmk VARIETY=$variety $1 || - die "Unable to build library $1 of MM_epcore_anchovy" - done -} - -## Build and run a test -do_tests () { - for variety in $varieties - do - gnumake -rf ${platform}.gmk VARIETY=$variety $1 || - die "$1 failed for variety $variety of MM_epcore_anchovy" - rm mpsio.log - done -} - - -cd src - -### Turn telemetry on -export MPS_TELEMETRY_CONTROL -MPS_TELEMETRY_CONTROL=-1 - -### SW builds have different compilation options, so they ought to be -### done separately. Do them first. - -build_lib mmsw.a - -do_tests testrunep - -### Then clean up and do the others. - -gnumake -rf $platform.gmk clean || - die "Unable to clean up trunk" - -do_tests testrun - - -# If the tests succeeded, delete the junk -cd $HOME/Builds && -rm -rf MM_epcore_anchovy diff --git a/mps/tool/robot/bin/build/MM_epcore_brisling b/mps/tool/robot/bin/build/MM_epcore_brisling deleted file mode 100644 index d1c70ff5f7a..00000000000 --- a/mps/tool/robot/bin/build/MM_epcore_brisling +++ /dev/null @@ -1,81 +0,0 @@ -#!/bin/sh -# -# Build and test MM (the MMsrc compound) at tip of branch MM_epcore_brisling -# -# $HopeName$ - - -script="`basename $0`" -platform=$1 -varieties="ti hi we" - - -msg () { - echo "$script $platform: $*" 1>&2 -} - -die () { - msg "$@" - exit 1 -} - - -test -d $HOME/Builds || mkdir $HOME/Builds || - die "Unable to create Builds directory" - -cd $HOME/Builds && -rm -rf MM_epcore_brisling && -mkdir MM_epcore_brisling && -cd MM_epcore_brisling || - die "Unable to get to Builds/MM_epcore_brisling directory" - -hope co -compound MMsrc -branch MM_epcore_brisling -recursive \ - -writable-files quit -missing-dir create -extra-files skip || - die "Unable to check out MMsrc(MM_epcore_brisling) from HOPE" - - -## Build a library -build_lib () { - for variety in $varieties - do - date - gnumake -rf ${platform}.gmk VARIETY=$variety $1 || - die "Unable to build library $1 of MM_epcore_brisling" - done -} - -## Build and run a test -do_tests () { - for variety in $varieties - do - gnumake -rf ${platform}.gmk VARIETY=$variety $1 || - die "$1 failed for variety $variety of MM_epcore_brisling" - rm mpsio.log - done -} - - -cd src - -### Turn telemetry on -export MPS_TELEMETRY_CONTROL -MPS_TELEMETRY_CONTROL=-1 - -### SW builds have different compilation options, so they ought to be -### done separately. Do them first. - -build_lib mmsw.a - -do_tests testrunep - -### Then clean up and do the others. - -gnumake -rf $platform.gmk clean || - die "Unable to clean up trunk" - -do_tests testrun - - -# If the tests succeeded, delete the junk -cd $HOME/Builds && -rm -rf MM_epcore_brisling diff --git a/mps/tool/robot/bin/build/MM_epcore_minnow b/mps/tool/robot/bin/build/MM_epcore_minnow deleted file mode 100644 index 14042d77096..00000000000 --- a/mps/tool/robot/bin/build/MM_epcore_minnow +++ /dev/null @@ -1,82 +0,0 @@ -#!/usr/local/bin/bash -# -# Build and test MM/EP-core at tip of branch MM_epcore_minnow -# -# $HopeName$ -# - -script="`basename $0`" -platform=$1 - -msg () { - echo "$script $platform: $*" 1>&2 -} - -die () { - msg "$@" - exit 1 -} - -test -d $HOME/Builds || mkdir $HOME/Builds || - die "Unable to create Builds directory" - -cd $HOME/Builds && -rm -rf MM_epcore_minnow && -mkdir MM_epcore_minnow && -cd MM_epcore_minnow || - die "Unable to get to Builds/MM_epcore_minnow directory" - -hope co -compound MMsrc -branch MM_epcore_minnow -recursive \ - -writable-files quit -missing-dir create -extra-files skip || - die "Unable to check out MMsrc(MM_epcore_minnow) from HOPE" - - -## Build a library -function build-lib { - for variety in ci he - do - date - gnumake -r -f ${platform}.gmk VARIETY=$variety $1 || - die "Unable to build library $1 of MM_epcore_minnow" - done -} - -## Build and run a test -function do-test { - for variety in ci he - do - date - gnumake -r -f ${platform}.gmk VARIETY=$variety $1 || - die "Unable to build test $variety/$1 of MM_epcore_minnow" - ./$platform/$variety/$1 || - die "Failed test $variety/$1 of MM_epcore_minnow" - rm mpsio.log - done -} - - -cd src - -### SW builds have different compilation options, so they ought to be -### done separately. Do them first. - -build-lib mmsw.a - -do-test epvmss - -### Then clean up and do the others. - -gnumake -r -f $platform.gmk clean || - die "Unable to clean up MM_epcore_minnow" - -for test in lockcov locv mpmss mpsicv poolncv \ - qs finalcv arenacv amsss - ## Don't run amcss, because we don't need it on this branch - ## Don't run awlut, because we don't need it on this branch -do - do-test $test -done - -# If the tests succeeded, delete the junk -cd $HOME/Builds && -rm -rf MM_epcore_minnow diff --git a/mps/tool/robot/bin/build/MM_epcore_sardine b/mps/tool/robot/bin/build/MM_epcore_sardine deleted file mode 100644 index 1aa156a5939..00000000000 --- a/mps/tool/robot/bin/build/MM_epcore_sardine +++ /dev/null @@ -1,83 +0,0 @@ -#!/usr/local/bin/bash -# -# Build and test MM/EP-core at tip of branch MM_epcore_sardine -# -# $HopeName$ -# - -script="`basename $0`" -platform=$1 - -msg () { - echo "$script $platform: $*" 1>&2 -} - -die () { - msg "$@" - exit 1 -} - -test -d $HOME/Builds || mkdir $HOME/Builds || - die "Unable to create Builds directory" - -cd $HOME/Builds && -rm -rf MM_epcore_sardine && -mkdir MM_epcore_sardine && -cd MM_epcore_sardine || - die "Unable to get to Builds/MM_epcore_sardine directory" - -hope co -compound MMsrc -branch MM_epcore_sardine -recursive \ - -writable-files quit -missing-dir create -extra-files skip || - die "Unable to check out MMsrc(MM_epcore_sardine) from HOPE" - - -## Build a library -function build-lib { - for variety in ci he - do - date - gnumake -r -f ${platform}.gmk VARIETY=$variety $1 || - die "Unable to build library $1 of MM_epcore_sardine" - done -} - -## Build and run a test -function do-test { - for variety in ci he - do - date - gnumake -r -f ${platform}.gmk VARIETY=$variety $1 || - die "Unable to build test $variety/$1 of MM_epcore_sardine" - ./$platform/$variety/$1 || - die "Failed test $variety/$1 of MM_epcore_sardine" - rm mpsio.log - done -} - - -cd src - -### SW builds have different compilation options, so they ought to be -### done separately. Do them first. - -build-lib mmsw.a - -do-test epvmss - -### Then clean up and do the others. - -gnumake -r -f $platform.gmk clean || - die "Unable to clean up MM_epcore_sardine" - -for test in lockcov locv mpmss mpsicv poolncv \ - qs finalcv arenacv - ## Don't run amcss, because we don't need it on this branch - ## Don't run awlut, because we don't need it on this branch - ## Don't run amsss, because it takes too long -do - do-test $test -done - -# If the tests succeeded, delete the junk -cd $HOME/Builds && -rm -rf MM_epcore_sardine diff --git a/mps/tool/robot/bin/build/MM_src_trunk b/mps/tool/robot/bin/build/MM_src_trunk deleted file mode 100644 index a22337ba3a3..00000000000 --- a/mps/tool/robot/bin/build/MM_src_trunk +++ /dev/null @@ -1,81 +0,0 @@ -#!/bin/sh -# -# Build and test MM (the MM_src compound) at tip of the trunk -# -# $HopeName: HOMEmm!bin:build:MM_src_trunk(trunk.31) $ - - -script="`basename $0`" -platform=$1 -varieties="ti ci hi wi ce he we" - - -msg () { - echo "$script $platform: $*" 1>&2 -} - -die () { - msg "$@" - exit 1 -} - - -test -d $HOME/Builds || mkdir $HOME/Builds || - die "Unable to create Builds directory" - -cd $HOME/Builds && -rm -rf MM_src_trunk && -mkdir MM_src_trunk && -cd MM_src_trunk || - die "Unable to get to Builds/MM_src_trunk directory" - -hope co -compound MMsrc -branch trunk -recursive \ - -writable-files quit -missing-dir create -extra-files skip || - die "Unable to check out MMsrc(trunk) from HOPE" - - -## Build a library -build_lib () { - for variety in $varieties - do - date - gnumake -rf ${platform}.gmk VARIETY=$variety $1 || - die "Unable to build library $1 of trunk" - done -} - -## Build and run a test -do_tests () { - for variety in $varieties - do - gnumake -rf ${platform}.gmk VARIETY=$variety $1 || - die "$1 failed for variety $variety of trunk" - rm mpsio.log - done -} - - -cd src - -### Turn telemetry on -export MPS_TELEMETRY_CONTROL -MPS_TELEMETRY_CONTROL=-1 - -### SW builds have different compilation options, so they ought to be -### done separately. Do them first. - -build_lib mmsw.a - -do_tests testrunep - -### Then clean up and do the others. - -gnumake -rf $platform.gmk clean || - die "Unable to clean up trunk" - -build_lib mps.a - -do_tests testrun - -gnumake -rf $platform.gmk clean || - die "Unable to clean up trunk" diff --git a/mps/tool/robot/bin/build/MMdevel_sw_eq b/mps/tool/robot/bin/build/MMdevel_sw_eq deleted file mode 100644 index c3507633445..00000000000 --- a/mps/tool/robot/bin/build/MMdevel_sw_eq +++ /dev/null @@ -1,84 +0,0 @@ -#!/usr/local/bin/bash -# -# Build and test MM/EP-core at tip of branch MMdevel_sw_eq -# -# $HopeName$ -# - -script="`basename $0`" -platform=$1 - -msg () { - echo "$script $platform: $*" 1>&2 -} - -die () { - msg "$@" - exit 1 -} - -test -d $HOME/Builds || mkdir $HOME/Builds || - die "Unable to create Builds directory" - -cd $HOME/Builds && -rm -rf MMdevel_sw_eq && -mkdir MMdevel_sw_eq && -cd MMdevel_sw_eq || - die "Unable to get to Builds/MMdevel_sw_eq directory" - -hope co -compound MMsrc -branch MMdevel_sw_eq -recursive \ - -writable-files quit -missing-dir create -extra-files skip || - die "Unable to check out MMsrc(MMdevel_sw_eq) from HOPE" - - -## Build a library -function build-lib { - for variety in dp ro - do - date - gnumake -r -f ${platform}.gmk VARIETY=$variety $1 || - die "Unable to build library $1 of MMdevel_sw_eq" - done -} - -## Build and run a test -function do-test { - for variety in dp ro - do - date - gnumake -r -f ${platform}.gmk VARIETY=$variety $1 || - die "Unable to build test $variety/$1 of MMdevel_sw_eq" - ./$platform/$variety/$1 || - die "Failed test $variety/$1 of MMdevel_sw_eq" - rm mpsio.log - done -} - - -cd src - -### SW builds have different compilation options, so they ought to be -### done separately. Do them first. - -build-lib mmsw.a - -do-test mpmss -# no tests for epdl - -### Then clean up and do the others. - -gnumake -r -f $platform.gmk clean || - die "Unable to clean up MMdevel_sw_eq" - -for test in lockcov locv mpsicv poolncv qs - ## Don't run amcss, because we don't need it on this branch - ## Don't run dwstress, because we don't need it on this branch - ## Don't run protcv, because we don't need it on this branch - ## Don't run weakcv, because we don't need it on this branch -do - do-test $test -done - -# If the tests succeeded, delete the junk -cd $HOME/Builds && -rm -rf MMdevel_sw_eq diff --git a/mps/tool/robot/bin/checkout b/mps/tool/robot/bin/checkout deleted file mode 100644 index f5e2b6d2d09..00000000000 --- a/mps/tool/robot/bin/checkout +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/local/bin/bash -# impl.sh.checkout: ROBOT CHECKOUT SCRIPT -# -# $HopeName: HOMEmm!bin:checkout(trunk.9) $ -# -# This script is run in the MM Project Robot's home directory (~mm) as -# the user `mm'. It checks out the HOMEmm compound and updates the -# crontab, in order be sure that the robot's files are up to date -# before the other overnight scripts run. - -hostname=`hostname`; hostname=${hostname%%.*} - -cd $HOME && -hope checkout -compound HOMEmm -recursive -writable-files skip \ - -extra-files delete -missing-dir create && -crontab $HOME/etc/$hostname.cron diff --git a/mps/tool/robot/bin/mmqa/MMQA_dylan_jackdaw b/mps/tool/robot/bin/mmqa/MMQA_dylan_jackdaw deleted file mode 100644 index adf75deb210..00000000000 --- a/mps/tool/robot/bin/mmqa/MMQA_dylan_jackdaw +++ /dev/null @@ -1,89 +0,0 @@ -#!/bin/sh -# -# Build the MMsrc compound at tip of branch MM_dylan_jackdaw, and run QA tests -# -# $HopeName: HOMEmm!bin:mmqa:MMQA_dylan_jackdaw(trunk.4) $ - - -script="`basename $0`" -platform=$1 -shift -varieties=$* - - -msg () { - echo "$script $platform: $*" 1>&2 -} - -die () { - msg "$@" - exit 1 -} - - -test -d $HOME/Builds || mkdir $HOME/Builds || - die "Unable to create Builds directory" - -cd $HOME/Builds && -rm -rf MMQA_dylan_jackdaw && -mkdir MMQA_dylan_jackdaw && -cd MMQA_dylan_jackdaw || - die "Unable to get to Builds/MMQA_dylan_jackdaw directory" - -hope co -compound MMsrc -branch MM_dylan_jackdaw -recursive \ - -writable-files quit -missing-dir create -extra-files skip || - die "Unable to check out MMsrc(MM_dylan_jackdaw) from HOPE" - -build=`pwd` -mmsrc=$build/src -mmqa=$build/MMQA - - -## Build a library -build_lib () { - for variety in $varieties - do - date - gnumake -rf ${platform}.gmk VARIETY=$variety $1 || - die "Unable to build library $1 of MM_dylan_jackdaw" - done -} - -## Build and run MMQA test suites -mmqa_tests () { - MMQA_MPS_INCLUDE_DIR=$mmsrc export MMQA_MPS_INCLUDE_DIR - MMQA_LOG_DIR=./log export MMQA_LOG_DIR - for variety in $varieties - do - MMQA_MPS_LINK_OBJ="$mmsrc/$platform/$variety/mmdw.a \ - $mmsrc/$platform/$variety/mpsplan.a" \ - export MMQA_MPS_LINK_OBJ - MMQA_MAIL_SUBJECT="MMQA $1 for variety $variety of MM_dylan_jackdaw:" \ - export MMQA_MAIL_SUBJECT - perl5 ./test/qa clib || die "Unable to compile MMQA library" - perl5 ./test/qa runset $1 || die "Failed to run MMQA testset" - done -} - - -cd $build && -mkdir MMQA && -cd $mmqa || - die "Unable to get to MMQA directory" - -hope co -compound MMQA -branch trunk -recursive -missing-dir create || - die "Unable to check out MMQA(trunk) from HOPE" - - -cd $mmsrc -build_lib mmdw.a -build_lib mpsplan.a - - -cd $mmqa && -mmqa_tests testsets/dailydw - - -# If the tests succeeded, delete the junk -cd $HOME/Builds && -rm -rf MMQA_dylan_jackdaw diff --git a/mps/tool/robot/bin/mmqa/MMQA_dylan_kinglet b/mps/tool/robot/bin/mmqa/MMQA_dylan_kinglet deleted file mode 100644 index 007faf769a7..00000000000 --- a/mps/tool/robot/bin/mmqa/MMQA_dylan_kinglet +++ /dev/null @@ -1,89 +0,0 @@ -#!/bin/sh -# -# Build the MMsrc compound at tip of branch MM_dylan_kinglet, and run QA tests -# -# $HopeName$ - - -script="`basename $0`" -platform=$1 -shift -varieties=$* - - -msg () { - echo "$script $platform: $*" 1>&2 -} - -die () { - msg "$@" - exit 1 -} - - -test -d $HOME/Builds || mkdir $HOME/Builds || - die "Unable to create Builds directory" - -cd $HOME/Builds && -rm -rf MMQA_dylan_kinglet && -mkdir MMQA_dylan_kinglet && -cd MMQA_dylan_kinglet || - die "Unable to get to Builds/MMQA_dylan_kinglet directory" - -hope co -compound MMsrc -branch MM_dylan_kinglet -recursive \ - -writable-files quit -missing-dir create -extra-files skip || - die "Unable to check out MMsrc(MM_dylan_kinglet) from HOPE" - -build=`pwd` -mmsrc=$build/src -mmqa=$build/MMQA - - -## Build a library -build_lib () { - for variety in $varieties - do - date - gnumake -rf ${platform}.gmk VARIETY=$variety $1 || - die "Unable to build library $1 of MM_dylan_kinglet" - done -} - -## Build and run MMQA test suites -mmqa_tests () { - MMQA_MPS_INCLUDE_DIR=$mmsrc export MMQA_MPS_INCLUDE_DIR - MMQA_LOG_DIR=./log export MMQA_LOG_DIR - for variety in $varieties - do - MMQA_MPS_LINK_OBJ="$mmsrc/$platform/$variety/mmdw.a \ - $mmsrc/$platform/$variety/mpsplan.a" \ - export MMQA_MPS_LINK_OBJ - MMQA_MAIL_SUBJECT="MMQA $1 for variety $variety of MM_dylan_kinglet:" \ - export MMQA_MAIL_SUBJECT - perl5 ./test/qa clib || die "Unable to compile MMQA library" - perl5 ./test/qa runset $1 || die "Failed to run MMQA testset" - done -} - - -cd $build && -mkdir MMQA && -cd $mmqa || - die "Unable to get to MMQA directory" - -hope co -compound MMQA -branch trunk -recursive -missing-dir create || - die "Unable to check out MMQA(trunk) from HOPE" - - -cd $mmsrc -build_lib mmdw.a -build_lib mpsplan.a - - -cd $mmqa && -mmqa_tests testsets/dailydw - - -# If the tests succeeded, delete the junk -cd $HOME/Builds && -rm -rf MMQA_dylan_kinglet diff --git a/mps/tool/robot/bin/mmqa/MMQA_epcore_brisling b/mps/tool/robot/bin/mmqa/MMQA_epcore_brisling deleted file mode 100644 index e403962202d..00000000000 --- a/mps/tool/robot/bin/mmqa/MMQA_epcore_brisling +++ /dev/null @@ -1,88 +0,0 @@ -#!/bin/sh -# -# Build the MMsrc compound at tip of branch MM_epcore_brisling, and run QA tests -# -# $HopeName: HOMEmm!bin:mmqa:MMQA_epcore_brisling(trunk.4) $ - - -script="`basename $0`" -platform=$1 -shift -varieties=$* - - -msg () { - echo "$script $platform: $*" 1>&2 -} - -die () { - msg "$@" - exit 1 -} - - -test -d $HOME/Builds || mkdir $HOME/Builds || - die "Unable to create Builds directory" - -cd $HOME/Builds && -rm -rf MMQA_epcore_brisling && -mkdir MMQA_epcore_brisling && -cd MMQA_epcore_brisling || - die "Unable to get to Builds/MMQA_epcore_brisling directory" - -build=`pwd` -mmsrc=$build/src -mmqa=$build/mmqa - - -hope co -compound MMsrc -branch MM_epcore_brisling -recursive \ - -missing-dir create || - die "Unable to check out MMsrc(MM_epcore_brisling) from HOPE" - -hope co -compound MMQA -branch trunk -recursive -missing-dir create || - die "Unable to check out MMQA(trunk) from HOPE" - - -## Build a library -build_lib () { - for variety in $varieties - do - date - gnumake -rf ${platform}.gmk VARIETY=$variety $1 || - die "Unable to build library $1 of MM_epcore_brisling" - done -} - -## Build and run MMQA test suites -mmqa_tests () { - MMQA_MPS_INCLUDE_DIR=$mmsrc export MMQA_MPS_INCLUDE_DIR - MMQA_LOG_DIR=./log export MMQA_LOG_DIR - for variety in $varieties - do - if [ "$variety" != "$2" ] - then - MMQA_MPS_LINK_OBJ="$mmsrc/$platform/$variety/mmsw.a \ - $mmsrc/$platform/$variety/mpsplan.a" \ - export MMQA_MPS_LINK_OBJ - MMQA_MAIL_SUBJECT="MMQA $1 for variety $variety of MM_epcore_brisling:" \ - export MMQA_MAIL_SUBJECT - perl5 ./test/qa clib || die "Unable to compile MMQA library" - perl5 ./test/qa runset $1 || die "Failed to run MMQA testset" - fi - done -} - - -cd $mmsrc -build_lib mmsw.a -build_lib mpsplan.a - - -cd $mmqa && -mmqa_tests testsets/dailysw && -mmqa_tests testsets/dailyswa we - - -# If the tests succeeded, delete the junk -cd $HOME/Builds && -rm -rf MMQA_epcore_brisling diff --git a/mps/tool/robot/bin/mmqa/MMQA_src_trunk b/mps/tool/robot/bin/mmqa/MMQA_src_trunk deleted file mode 100644 index f5af0b434d5..00000000000 --- a/mps/tool/robot/bin/mmqa/MMQA_src_trunk +++ /dev/null @@ -1,101 +0,0 @@ -#!/bin/sh -# -# Build the MMsrc compound at tip of the trunk, and run QA tests -# -# $HopeName: HOMEmm!bin:mmqa:MMQA_src_trunk(trunk.6) $ - - -prog="`basename $0`" -platform=$1 -shift -varieties=$* - - -msg () { - echo "$prog $platform: $*" 1>&2 -} - -die () { - msg "$@" - exit 1 -} - - -test -d $HOME/Builds || mkdir $HOME/Builds || - die "Unable to create Builds directory" - -cd $HOME/Builds && -rm -rf MMQA_src_trunk && -mkdir MMQA_src_trunk && -cd MMQA_src_trunk || - die "Unable to get to Builds/MMQA_src_trunk directory" - -build=`pwd` -mmsrc=$build/src -mmqa=$build/mmqa - - -hope co -compound MMsrc -branch trunk -recursive -missing-dir create || - die "Unable to check out MMsrc(trunk) from HOPE" - -hope co -compound MMQA -branch trunk -recursive -missing-dir create || - die "Unable to check out MMQA(trunk) from HOPE" - - -## Build a library -build_lib () { - for variety in $varieties - do - date - gnumake -rf ${platform}.gmk VARIETY=$variety $1 || - die "Unable to build library $1 of trunk" - done -} - -## Build and run MMQA test suites -mmqa_tests () { - MMQA_MPS_INCLUDE_DIR=$mmsrc export MMQA_MPS_INCLUDE_DIR - MMQA_LOG_DIR=./log export MMQA_LOG_DIR - for variety in $varieties - do - if [ "$variety" != "$3" ] - then - MMQA_MPS_LINK_OBJ="$mmsrc/$platform/$variety/$2 \ - $mmsrc/$platform/$variety/mpsplan.a" \ - export MMQA_MPS_LINK_OBJ - MMQA_MAIL_SUBJECT="MMQA $1 for variety $variety of trunk:" \ - export MMQA_MAIL_SUBJECT - perl5 ./test/qa clib || die "Unable to compile MMQA library" - perl5 ./test/qa runset $1 || die "Failed to run MMQA testset" - fi - done -} - - -### SW builds have different compilation options, so they ought to be -### done separately. Do them first. - -cd $mmsrc -build_lib mmsw.a -build_lib mpsplan.a - -cd $mmqa && -mmqa_tests testsets/dailysw mmsw.a && -mmqa_tests testsets/dailyswa mmsw.a we ci - - -### Then clean up and do the others. - -cd $mmsrc -gnumake -rf $platform.gmk clean || - die "Unable to clean up trunk" -build_lib mmdw.a -build_lib mpsplan.a - -cd $mmqa && -mmqa_tests testsets/dailydw mmdw.a - - -# If the tests succeeded, delete the junk -cd $HOME/Builds && -rm -rf MMQA_src_trunk diff --git a/mps/tool/robot/bin/overnight b/mps/tool/robot/bin/overnight deleted file mode 100644 index 6e1c680d9dd..00000000000 --- a/mps/tool/robot/bin/overnight +++ /dev/null @@ -1,70 +0,0 @@ -#!/bin/sh -# impl.sh.overnight: RUN A SCRIPT "OVERNIGHT" -# -# $HopeName: HOMEmm!bin:overnight(trunk.3) $ -# -# SYNOPSIS -# -# overnight command args... -# -# DESCRIPTION -# -# This is a general wrapper for a command that you want to run -# unattended. The command output is appended to $HOME/var/log/ -# where the name is the basename of the command. If the command exits -# with non-zero status then a mail message is sent to $USER containing -# the tail of the log file, otherwise no action is taken. -# -# This script is more useful than simply using cron, which will mail -# you if the command produces _any_ output, whether or not it is -# successful. Often, you don't want to know if your script succeeds, -# only if it fails. -# - -script="`basename $0`" - -msg () { - echo "$script: $*" 1>&2 -} - -die () { - msg "$@" - exit 1 -} - -# Create log directories if they don't already exist. - -test -d $HOME/var || mkdir $HOME/var || - die "Couldn't create var directory" -test -d $HOME/var/log || mkdir $HOME/var/log || - die "Couldn't create log directory" - -logfile="$HOME/var/log/`basename \"$1\"`" - -# truncate log -mv "$logfile" "$logfile~" && -tail -1048576c < "$logfile~" > "$logfile" && -rm -f "$logfile~" - -( - date "+$script %Y-%m-%d %H:%M:%S started \"$*\"" - "$@" - status="$?" - date "+$script %Y-%m-%d %H:%M:%S exited with status $status" - exit "$status" -) >> "$logfile" 2>&1 || -{ - status=$? - hostname="`hostname`" - { - echo "To: $USER" - echo "Subject: Overnight script \"$1\" failed on $hostname" - echo - echo "The overnight script failed with exit code $status on $hostname." - echo "The end of the log reads:" - echo - tail -50 "$logfile" | sed -e 's/^/> /' - } | /usr/lib/sendmail -t -} - -exit 0 diff --git a/mps/tool/robot/bin/tidy b/mps/tool/robot/bin/tidy deleted file mode 100644 index 95ce915198d..00000000000 --- a/mps/tool/robot/bin/tidy +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh -# ==== TIDY UP ROBOT HOME DIRECTORY ==== -# -# This script is run overnight by the Memory Management robot. -# It does various housekeeping tasks and checks on the home directory -# to keep things in order. - -script="`basename $0`" - -# Clear tmp directory -rm -rf $HOME/tmp - -# Truncate log files -cd $HOME/var/log && -find $HOME/var/log -type f -size +1048576c -print | -while read log -do - mv "$log" "$log~" && - tail -1048576c < "$log~" > "$log" && - rm -f "$log~" -done - -exit 0 diff --git a/mps/tool/robot/etc/deja-vu.cron b/mps/tool/robot/etc/deja-vu.cron deleted file mode 100644 index 0ef2542abbb..00000000000 --- a/mps/tool/robot/etc/deja-vu.cron +++ /dev/null @@ -1,7 +0,0 @@ -# $HopeName: HOMEmm!etc:deja-vu.cron(trunk.11) $ -# minutes hours day-of-month month day-of-week command -10 21 * * * sh -c ". etc/shenv && overnight checkout" -20 21 * * * sh -c "./bin/tidy" -30 21 * * * sh -c ". etc/shenv && overnight ./bin/build/MM_src_trunk sus8gc" - 0 1 * * * sh -c ". etc/shenv && overnight ./bin/build/MM_dylan_honeybee sus8gc" -30 4 * * * sh -c ". etc/shenv && overnight ./bin/build/MM_dylan_sunflower sus8gc" diff --git a/mps/tool/robot/etc/nova.cron b/mps/tool/robot/etc/nova.cron deleted file mode 100644 index 9641aa7af64..00000000000 --- a/mps/tool/robot/etc/nova.cron +++ /dev/null @@ -1,4 +0,0 @@ -# $HopeName$ -# minutes hours day-of-month month day-of-week command -00 01 * * * sh -c ". etc/shenv && overnight checkout" -05 01 * * * sh -c "./bin/tidy" diff --git a/mps/tool/robot/etc/ocoee.cron b/mps/tool/robot/etc/ocoee.cron deleted file mode 100644 index 97254dfc232..00000000000 --- a/mps/tool/robot/etc/ocoee.cron +++ /dev/null @@ -1,8 +0,0 @@ -# $HopeName: HOMEmm!etc:ocoee.cron(trunk.1) $ -# minutes hours day-of-month month day-of-week command -53 20 * * * sh -c ". etc/shenv && overnight checkout" -45 22 * * 1-5 sh -c ". etc/shenv && overnight ./bin/build/MM_src_trunk lii4gc" -#30 01 * * 2-5 sh -c ". etc/shenv && overnight ./bin/build/MM_dylan_kinglet lii4gc" -30 02 * * 2-3 sh -c ". etc/shenv && overnight ./bin/mmqa/MMQA_src_trunk lii4gc hi" -#55 20 * * 6 sh -c ". etc/shenv && overnight ./bin/mmqa/MMQA_dylan_kinglet lii4gc ci he" -30 02 * * 4 sh -c ". etc/shenv && overnight ./bin/mmqa/MMQA_src_trunk lii4gc ci wi" diff --git a/mps/tool/robot/etc/shenv b/mps/tool/robot/etc/shenv deleted file mode 100644 index 84941461879..00000000000 --- a/mps/tool/robot/etc/shenv +++ /dev/null @@ -1,11 +0,0 @@ -# -*- Mode: Shell-script -*- -# impl.sh.shenv: MM project robot environment setup -# $HopeName: HOMEmm!etc:shenv(trunk.5) $ - -PATH="$HOME/bin:/usr/local/bin:/usr/ucb:/usr/bin:/bin:/usr/ccs/bin" export PATH -USER=`whoami` export USER - -umask 002 - -# stop HOPE complaining about TZ -HOPETZ=`date | cut -c21-23` export HOPETZ diff --git a/mps/tool/robot/etc/trillian.cron b/mps/tool/robot/etc/trillian.cron deleted file mode 100644 index bbb75ad79ec..00000000000 --- a/mps/tool/robot/etc/trillian.cron +++ /dev/null @@ -1,8 +0,0 @@ -# $HopeName: HOMEmm!etc:trillian.cron(trunk.31) $ -# minutes hours day-of-month month day-of-week command -00 23 * * * sh -c ". etc/shenv && overnight checkout" -05 23 * * * sh -c "./bin/tidy" -30 23 * * * sh -c ". etc/shenv && overnight ./bin/build/MM_src_trunk sos8gc" -50 23 * * * sh -c ". etc/shenv && overnight ./bin/build/MMdevel_sw_eq sospgc" -40 00 * * * sh -c ". etc/shenv && overnight ./bin/build/MM_epcore_anchovy sos8gc" -20 02 * * * sh -c ". etc/shenv && overnight ./bin/build/MM_dylan_jackdaw sos8gc" diff --git a/mps/tool/robot/etc/zaphod.cron b/mps/tool/robot/etc/zaphod.cron deleted file mode 100644 index d79db993bb9..00000000000 --- a/mps/tool/robot/etc/zaphod.cron +++ /dev/null @@ -1,9 +0,0 @@ -# $HopeName: HOMEmm!etc:zaphod.cron(trunk.15) $ -# minutes hours day-of-month month day-of-week command -50 20 * * * sh -c ". etc/shenv && overnight checkout" -55 22 * * 1-4 sh -c ". etc/shenv && overnight ./bin/build/MM_src_trunk sos8gc" -#30 01 * * 3 sh -c ". etc/shenv && overnight ./bin/build/MM_epcore_anchovy sos8gc" -00 02 * * 2-5 sh -c ". etc/shenv && overnight ./bin/build/MM_epcore_brisling sos8gc" -40 02 * * 2-5 sh -c ". etc/shenv && overnight ./bin/mmqa/MMQA_src_trunk sos8gc hi we" -55 20 * * 5 sh -c ". etc/shenv && overnight ./bin/mmqa/MMQA_src_trunk sos8gc ci" -00 20 * * 0 sh -c ". etc/shenv && overnight ./bin/mmqa/MMQA_epcore_brisling sos8gc hi we ci" diff --git a/mps/tool/robot/public-html/Welcome.html b/mps/tool/robot/public-html/Welcome.html deleted file mode 100644 index 324ff70ab12..00000000000 --- a/mps/tool/robot/public-html/Welcome.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - -Memory Management - - - -

Memory Management

- -

There used to be an Adaptive Memory Management Group; now there -isn't.

- - -

The Memory Management Reference

- -

We still maintain The -Memory Management Reference on Harlequin's external web site -(actually Xanalys', but this might change). The latest draft of the -next version is available -on -an internal server; problems in it should be reported to mm-web-team.

- - -

Useful links

- -

Most useful links can be found in the -The Memory -Management Reference links page; this is just stuff that didn't -make it there, for one reason or another.

- - - - -

Allocators

-

-

Garbage collectors

-

-

Memory debugging tools

- - - -

Papers

- -

The versions on webhost are for distribution within Harlequin -and Xanalys only. For externally published versions, follow -links to external sites, where provided.

- -

Pekka P. Pirinen: Barrier techniques for incremental tracing

- - -published version
-draft, Postscript, -6 pages, 182 KB
-draft, PDF 2.1, -6 pages, 72 dpi, 136 KB
-Presented at -the 1998 -International Symposium on Memory Management. - -
Abstract: This paper presents a classification of barrier -techniques for interleaving tracing with mutator operation during an -incremental garbage collection. The two useful tricolour invariants -are derived from more elementary considerations of graph traversal. -Barrier techniques for maintaining these invariants are classified -according to the action taken at the barrier (such as scanning an -object or changing its colour), and it is shown that the algorithms -described in the literature cover all the possibilities except one. -Unfortunately, the new technique is impractical. Ways of combining -barrier techniques are also discussed.
- -Comments to Pekka, please. - -
-
Contact mm-hackers

-Last modified: $Date: 2000/03/13 14:00:19 $ - -