Removed obsolete and incomplete HowToContribute, and reference to that file in Releas...
[foam-extend-3.2.git] / vagrantSandbox / skel / bootstrapFoam.sh
blobb852383965a203be9595c5a40d4b2b345b5a1e71
1 #! /usr/bin/env bash
3 # Just to be sure
4 export WM_SCHEDULER=ccache
5 export CCACHE_DIR=/vagrant/ccache4vm
7 BOOTSTRAPLOG=/home/vagrant/bootstrapFoam.log
9 cd foam/foam-extend-3.1
10 source etc/bashrc
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 ]
20 then
21 # OpenSUSE needs this
22 ln -s $MPI_ARCH_PATH/lib64 $MPI_ARCH_PATH/lib
24 ./AllMake.stage3 2>&1 | tee --append $BOOTSTRAPLOG
26 cd $WM_PROJECT_DIR
27 # pick up installed packages
28 source etc/bashrc
30 ./Allwmake 2>&1 | tee --append $BOOTSTRAPLOG
32 # compile swak4Foam
33 cd $WM_THIRD_PARTY_DIR
34 ./AllMake.stage5 2>&1 | tee --append $BOOTSTRAPLOG