NetBSD/dist/ntp/flock-build

53 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=
2007-01-06 19:04:26 +03:00
STD="--enable-simulator"
2000-03-29 16:38:44 +04:00
2003-12-04 19:05:14 +03:00
# Backroom:
2007-06-24 19:47:02 +04:00
# beauregard freebsd-6
# o churchy alpha-dec-osf5.1
# deacon sparc-sun-solaris2.10
# grundoon freebsd-6.1
# howland freebsd-6.1
# o macabre sparc-sun-solaris2.8
# o mort sparc-sun-solaris2.8
# whimsy sparc-sun-solaris2.10
2003-12-04 19:05:14 +03:00
# Campus:
2007-06-24 19:47:02 +04:00
# * baldwin sparc-sun-solaris2.10
# * bridgeport sparc-sun-solaris2.10
# * cowbird freebsd-6.1
# * malarky sparc-sun-solaris2.10
# * pogo sparc-sun-solaris2.10
# * rackety freebsd-6.1
2000-03-29 16:38:44 +04:00
2006-06-11 18:57:12 +04:00
c_d=${PWD:-`pwd`}
2000-03-29 16:38:44 +04:00
2003-12-04 19:05:14 +03:00
SIG=`perl -e 'print rand'`
echo $SIG > .buildkey
case "$LIST" in
2007-06-24 19:47:02 +04:00
'') LIST="baldwin bridgeport cowbird malarky pogo rackety" ;;
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)
2006-06-11 18:57:12 +04:00
ssh $i "cd $c_d ; ./build $SIG $PARSE $STD $BUILD_ARGS" &
ssh $i "cd $c_d ; ./build $SIG $PARSE $STD --without-crypto $BUILD_ARGS" &
ssh $i "cd $c_d ; ./build $SIG $STD --disable-all-clocks $BUILD_ARGS" &
2003-12-04 19:05:14 +03:00
;;
1) ssh $i "cd $c_d ; \
2006-06-11 18:57:12 +04:00
./build $SIG $PARSE $STD $BUILD_ARGS ; \
2007-01-06 19:04:26 +03:00
./build $SIG $PARSE $STD --disable-debugging $BUILD_ARGS ; \
2006-06-11 18:57:12 +04:00
./build $SIG $PARSE $STD --without-crypto $BUILD_ARGS ; \
./build $SIG $STD --disable-all-clocks $BUILD_ARGS" \
&
2003-12-04 19:05:14 +03:00
;;
esac
2000-03-29 16:38:44 +04:00
done