Bootstrap-script adds a log file to home
This commit is contained in:
parent
d64b2268b8
commit
fbf51d5ede
2 changed files with 10 additions and 6 deletions
|
@ -73,7 +73,8 @@
|
|||
In the home directory these scripts are found
|
||||
- bootstrapFoam.sh :: A script whose aim it is to compile Foam and
|
||||
the ThirdParty-packages in one go (no paraview and QT). If this
|
||||
works the box is considered operational
|
||||
works the box is considered operational. The script leaves a
|
||||
log file =bootstrapFoam-log= in the home directory
|
||||
* Provisioning scripts
|
||||
Every "family" of machines has a specific script that makes sure
|
||||
that the software packages necessary to compile =Foam= are installed
|
||||
|
|
|
@ -4,19 +4,22 @@
|
|||
export WM_SCHEDULER=ccache
|
||||
export CCACHE_DIR=/vagrant/ccache4vm
|
||||
|
||||
BOOTSTRAPLOG=/home/vagrant/bootstrapFoam.log
|
||||
|
||||
cd foam/foam-extend-3.0
|
||||
source etc/bashrc
|
||||
|
||||
( cd wmake/src && make )
|
||||
cd $WM_THIRD_PARTY_DIR
|
||||
|
||||
./AllMake.stage0
|
||||
./AllMake.stage1
|
||||
./AllMake.stage2
|
||||
./AllMake.stage3
|
||||
./AllMake.stage0 2>&1 | tee $BOOTSTRAPLOG
|
||||
./AllMake.stage1 2>&1 | tee --append $BOOTSTRAPLOG
|
||||
./AllMake.stage2 2>&1 | tee --append $BOOTSTRAPLOG
|
||||
./AllMake.stage3 2>&1 | tee --append $BOOTSTRAPLOG
|
||||
|
||||
cd $WM_PROJECT_DIR
|
||||
# pick up installed packages
|
||||
source etc/bashrc
|
||||
|
||||
./Allwmake
|
||||
./Allwmake 2>&1 | tee --append $BOOTSTRAPLOG
|
||||
|
||||
|
|
Reference in a new issue