4 export WM_SCHEDULER
=ccache
5 export CCACHE_DIR
=/vagrant
/ccache4vm
7 BOOTSTRAPLOG
=/home
/vagrant
/bootstrapFoam.log
9 cd foam
/foam-extend-3.1
12 ( cd wmake
/src
&& make )
13 cd $WM_THIRD_PARTY_DIR
15 .
/AllMake.stage0
2>&1 |
tee $BOOTSTRAPLOG
16 .
/AllMake.stage1
2>&1 |
tee --append $BOOTSTRAPLOG
17 .
/AllMake.stage2
2>&1 |
tee --append $BOOTSTRAPLOG
18 source $WM_PROJECT_DIR/etc
/bashrc
19 if [ ! -e $MPI_ARCH_PATH/lib
]
22 ln -s $MPI_ARCH_PATH/lib64
$MPI_ARCH_PATH/lib
24 .
/AllMake.stage3
2>&1 |
tee --append $BOOTSTRAPLOG
27 # pick up installed packages
30 .
/Allwmake
2>&1 |
tee --append $BOOTSTRAPLOG
33 cd $WM_THIRD_PARTY_DIR
34 .
/AllMake.stage5
2>&1 |
tee --append $BOOTSTRAPLOG