Mercurial > hg > aimc
comparison experiments/scripts/aimc/build_aimc.sh @ 183:d961cc31ef69
- AWS (bis)
author | tomwalters |
---|---|
date | Wed, 11 Aug 2010 11:59:20 +0000 |
parents | f75123cf39ce |
children | 97a513bc3bcf |
comparison
equal
deleted
inserted
replaced
182:aa4eea1a3568 | 183:d961cc31ef69 |
---|---|
1 #!/bin/bash | 1 #!/bin/bash |
2 # Set up AIM-C on an Amazon EC2 instance. A useful reference for building. | 2 # Set up AIM-C on an Amazon EC2 instance. A useful reference for building. |
3 set -e | |
4 set -u | |
5 | |
3 AIMC_DIR=/mnt/experiments/aimc | 6 AIMC_DIR=/mnt/experiments/aimc |
4 | 7 |
5 sudo mkdir -p $AIMC_DIR | 8 sudo mkdir -p $AIMC_DIR |
6 sudo chown ubuntu $AIMC_DIR | 9 sudo chown ubuntu $AIMC_DIR |
7 cd $AIMC_DIR | 10 cd $AIMC_DIR |
8 svn checkout http://aimc.googlecode.com/svn/trunk/ aimc-read-only | 11 svn checkout http://aimc.googlecode.com/svn/trunk/ aimc-read-only |
9 cd aimc-read-only | 12 cd aimc-read-only |
10 scons | 13 scons |
11 cd .. | 14 cd .. |
12 export PATH=$PATH:$AIMC_DIR/aimc-read-only/build/posix-release/ | 15 export PATH=$PATH:$AIMC_DIR/aimc-read-only/build/posix-release/ |
16 touch $AIMC_DIR/.aimc_build_success | |
17 cd - |