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
|
In the home directory these scripts are found
|
||||||
- bootstrapFoam.sh :: A script whose aim it is to compile Foam and
|
- bootstrapFoam.sh :: A script whose aim it is to compile Foam and
|
||||||
the ThirdParty-packages in one go (no paraview and QT). If this
|
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
|
* Provisioning scripts
|
||||||
Every "family" of machines has a specific script that makes sure
|
Every "family" of machines has a specific script that makes sure
|
||||||
that the software packages necessary to compile =Foam= are installed
|
that the software packages necessary to compile =Foam= are installed
|
||||||
|
|
|
@ -4,19 +4,22 @@
|
||||||
export WM_SCHEDULER=ccache
|
export WM_SCHEDULER=ccache
|
||||||
export CCACHE_DIR=/vagrant/ccache4vm
|
export CCACHE_DIR=/vagrant/ccache4vm
|
||||||
|
|
||||||
|
BOOTSTRAPLOG=/home/vagrant/bootstrapFoam.log
|
||||||
|
|
||||||
cd foam/foam-extend-3.0
|
cd foam/foam-extend-3.0
|
||||||
source etc/bashrc
|
source etc/bashrc
|
||||||
|
|
||||||
( cd wmake/src && make )
|
( cd wmake/src && make )
|
||||||
cd $WM_THIRD_PARTY_DIR
|
cd $WM_THIRD_PARTY_DIR
|
||||||
|
|
||||||
./AllMake.stage0
|
./AllMake.stage0 2>&1 | tee $BOOTSTRAPLOG
|
||||||
./AllMake.stage1
|
./AllMake.stage1 2>&1 | tee --append $BOOTSTRAPLOG
|
||||||
./AllMake.stage2
|
./AllMake.stage2 2>&1 | tee --append $BOOTSTRAPLOG
|
||||||
./AllMake.stage3
|
./AllMake.stage3 2>&1 | tee --append $BOOTSTRAPLOG
|
||||||
|
|
||||||
cd $WM_PROJECT_DIR
|
cd $WM_PROJECT_DIR
|
||||||
# pick up installed packages
|
# pick up installed packages
|
||||||
source etc/bashrc
|
source etc/bashrc
|
||||||
|
|
||||||
./Allwmake
|
./Allwmake 2>&1 | tee --append $BOOTSTRAPLOG
|
||||||
|
|
||||||
|
|
Reference in a new issue