#!/usr/bin/env bash
set -e

THISDIR=$( cd $(dirname $0) && pwd )

cd ${C_UTILS}
echo
echo "Building c-utils"
pwd
echo "================"
${THISDIR}/cutils-build.sh

if [ ! -z "$ENABLE_MPE" ]; then
  cd ${THISDIR}
  export DEST=${MPE_INST}
  export MPICH=${MPICH_INST}
  ${REPO_ROOT}/adlb_patches/make-libmpe.so.zsh
fi

cd ${LB}
echo
echo "Building lb"
pwd
echo "================"
${THISDIR}/adlb-build.sh

cd ${TURBINE}
echo
echo "Building Turbine"
pwd
echo "================"
${THISDIR}/turbine-build.sh

cd ${STC}
echo
echo "Building STC"
pwd
echo "================"
if (( SVN_UPDATE )); then
  svn update
fi
if (( MAKE_CLEAN )); then
  ant clean
fi
ant ${STC_ANT_ARGS}

if [ ! -z "$STC_INST" ]
then
  ant -Ddist.dir=$STC_INST install
fi

#!/usr/bin/env bash
set -e

THISDIR=$( cd $(dirname $0) && pwd )

cd ${C_UTILS}
echo
echo "Building c-utils"
pwd
echo "================"
${THISDIR}/cutils-build.sh

if [ ! -z "$ENABLE_MPE" ]; then
  cd ${THISDIR}
  export DEST=${MPE_INST}
  export MPICH=${MPICH_INST}
  ${REPO_ROOT}/adlb_patches/make-libmpe.so.zsh
fi

cd ${LB}
echo
echo "Building lb"
pwd
echo "================"
${THISDIR}/adlb-build.sh

cd ${TURBINE}
echo
echo "Building Turbine"
pwd
echo "================"
${THISDIR}/turbine-build.sh

cd ${STC}
echo
echo "Building STC"
pwd
echo "================"
if (( SVN_UPDATE )); then
  svn update
fi
if (( MAKE_CLEAN )); then
  ant clean
fi
ant ${STC_ANT_ARGS}

if [ ! -z "$STC_INST" ]
then
  ant -Ddist.dir=$STC_INST -Dturbine.home=${TURBINE_INST} install
fi

Modify build script to install stc
Modify build script to install stc

git-svn-id: f4b26cf27632231e98e31e0a7940ffb3ce3b0279@10608 dc4e9af1-7f46-4ead-bba6-71afc04862de
