NetBSD/dist/ntp/flock-build

54 lines
1.2 KiB
Plaintext
Raw Normal View History

2000-03-29 16:38:44 +04:00
#! /bin/sh
BUILD_ARGS="$@"
2003-12-04 19:05:14 +03:00
PARSE="--enable-parse-clocks"
#PARSE=
SNTP="--with-sntp"
2000-03-29 16:38:44 +04:00
2003-12-04 19:05:14 +03:00
# Backroom:
# beauregard freebsd-4
# deacon sparc-sun-solaris2.7
# grundoon sparc-sun-sunos4.1.3
# howland freebsd-4
# mort sparc-sun-solaris2.8
# whimsy sparc-sun-solaris2.8
# Campus:
# * albert redhat-8
# baldwin sparc-sun-solaris2.8
# bridgeport sparc-sun-solaris2.8
# * bunnylou alpha-dec-osf4.0
# * churchy alpha-dec-osf5.1
# cowbird alpha-dec-osf4.0
# * hepzibah freebsd-4
# malarky sparc-sun-solaris2.8
# * pogo sparc-sun-solaris2.8
# * porkypine mips-dec-ultrix4.4
# * rackety sparc-sun-sunos4.1.3/cc
# ? roogey debian
# * snavely hppa1.1-hp-hpux10.20
2000-03-29 16:38:44 +04:00
c_d=`pwd`
2003-12-04 19:05:14 +03:00
SIG=`perl -e 'print rand'`
echo $SIG > .buildkey
case "$LIST" in
'') LIST="albert bunnylou churchy hepzibah pogo porkypine rackety snavely" ;;
2000-03-29 16:38:44 +04:00
esac
2003-12-04 19:05:14 +03:00
for i in $LIST
2000-03-29 16:38:44 +04:00
do
echo $i
2003-12-04 19:05:14 +03:00
case "1" in
0)
ssh $i "cd $c_d ; ./build $SIG $PARSE $SNTP $BUILD_ARGS" &
ssh $i "cd $c_d ; ./build $SIG $PARSE $SNTP --without-crypto $BUILD_ARGS" &
;;
1) ssh $i "cd $c_d ; \
./build $SIG $PARSE $SNTP $BUILD_ARGS ; \
./build $SIG $PARSE $SNTP --without-crypto $BUILD_ARGS" &
;;
esac
2000-03-29 16:38:44 +04:00
done