view experiments/scripts/aimc/build_aimc.sh @ 101:9416e88d7c56

- Pretty-plotting - Test on everything - Generalised beyond standard AMI
author tomwalters
date Tue, 14 Sep 2010 00:18:47 +0000
parents ae195c41c7bd
children f75123cf39ce
line wrap: on
line source
#!/bin/bash
# Set up AIM-C on an Amazon EC2 instance. A useful reference for building.
set -e
set -u

AIMC_DIR=$1
PREV_DIR=`pwd`
mkdir -p $AIMC_DIR
cd $AIMC_DIR
svn checkout http://aimc.googlecode.com/svn/trunk/ aimc-read-only
cd aimc-read-only
scons
cd ..
export PATH=$PATH:$AIMC_DIR/aimc-read-only/build/posix-release/
touch $AIMC_DIR/.aimc_build_success
cd $PREV_DIR