Cleanup ACE_HAS_PTHREAD_SIGMASK_PROTOTYPE, all platforms support it so far as I can...
[ACE_TAO.git] / ACE / bin / auto_compile_wrapper
blob26da7839f1faef9d340d6a8a174dae0b9ff3755e
1 #!/bin/sh
3 # Usually cron setups a really miserable environment, this script
4 # serves two purposes:
5 # 1. Setup a good environment for auto_compile.
6 # 2. Invoke auto_compile with the proper arguments for each site.
8 # The idea is to modify this script on a per-site basis and leave
9 # auto_compile unmodified.
12 # Setup a proper path, remember that cvs, GNU make, perl5 and your
13 # compiler must be there.
14 PATH=.:$HOME/bin:/pkg/gnu/bin:/opt/SUNWspro/bin:$PATH
15 export PATH
17 # Obvious enough.
18 CVSROOT=/project/cvs-repository
19 export CVSROOT
21 # It could be a good idea to set CVSREAD this will make the staging
22 # area read-only, but our staging areas are public.
23 # CVSREAD=Y
24 # export CVSREAD
26 # Here we define the cvs working copy for our staging area.
27 CHECKOUT=$HOME/head
29 # In some sites the building directory differs from the cvs working
30 # copy. The directory is updated running
31 # $ACE_ROOT/bin/create_ace_build; but it must be setup manually the
32 # first time.
33 # TODO: Arrange for automatic creation of platform_macros.GNU &
34 # config.h.
35 BUILD=SUNCC
37 # Here is where we store auto_compile output and keep a history of
38 # each run.
39 LOGDIR=$HOME/head/ACE_wrappers/build/$BUILD/auto_compile
41 # Who do we send email when compilation (or anything else) fails.
42 ADMIN=PUT_YOUR_ADDRESS_HERE ; echo "You must edit this file" ; exit 0
44 # You must select a mail tool that can understand the -s option such
45 # as:
47 # /usr/bin/mailx Solaris
48 # /usr/bin/mailx HP-UX
49 # /usr/sbin/mailx IRIX
50 # /bin/mail Linux
52 exec /pkg/gnu/bin/perl $CHECKOUT/ACE_wrappers/bin/auto_compile \
53 $CHECKOUT $BUILD $LOGDIR $ADMIN /usr/bin/mailx