freebsd-skq/contrib/ntp/flock-build

53 lines
1.2 KiB
Plaintext
Raw Normal View History

2001-08-29 14:35:15 +00:00
#! /bin/sh
BUILD_ARGS="$@"
PARSE="--enable-parse-clocks"
#PARSE=
STD="--enable-simulator"
2001-08-29 14:35:15 +00:00
2004-07-20 15:01:56 +00:00
# Backroom:
# 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
2004-07-20 15:01:56 +00:00
# Campus:
# * 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
2001-08-29 14:35:15 +00:00
c_d=${PWD:-`pwd`}
2001-08-29 14:35:15 +00:00
SIG=`perl -e 'print rand'`
echo $SIG > .buildkey
case "$LIST" in
'') LIST="baldwin bridgeport cowbird malarky pogo rackety" ;;
2001-08-29 14:35:15 +00:00
esac
for i in $LIST
do
echo $i
case "1" in
0)
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" &
2001-08-29 14:35:15 +00:00
;;
1) ssh $i "cd $c_d ; \
./build $SIG $PARSE $STD $BUILD_ARGS ; \
./build $SIG $PARSE $STD --disable-debugging $BUILD_ARGS ; \
./build $SIG $PARSE $STD --without-crypto $BUILD_ARGS ; \
./build $SIG $STD --disable-all-clocks $BUILD_ARGS" \
&
2001-08-29 14:35:15 +00:00
;;
esac
done