Adapt vagrant files for foam-3
--HG-- branch : bgschaid/foam3FixesBranch
This commit is contained in:
parent
59440c94d9
commit
d073895315
3 changed files with 6 additions and 5 deletions
2
vagrantSandbox/Vagrantfile
vendored
2
vagrantSandbox/Vagrantfile
vendored
|
@ -2,7 +2,7 @@
|
||||||
# vi: set ft=ruby :
|
# vi: set ft=ruby :
|
||||||
|
|
||||||
Vagrant.configure("2") do |config|
|
Vagrant.configure("2") do |config|
|
||||||
config.vm.synced_folder "..", "/OpenFOAM-sources"
|
config.vm.synced_folder "..", "/FOAM-sources"
|
||||||
|
|
||||||
config.vm.provider :virtualbox do |vb|
|
config.vm.provider :virtualbox do |vb|
|
||||||
# # Don't boot with headless mode
|
# # Don't boot with headless mode
|
||||||
|
|
|
@ -15,15 +15,15 @@ do
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
OFDIR=/home/vagrant/OpenFOAM/
|
OFDIR=/home/vagrant/foam/
|
||||||
|
|
||||||
mkdir -vp $OFDIR
|
mkdir -vp $OFDIR
|
||||||
chown -R vagrant:vagrant $OFDIR
|
chown -R vagrant:vagrant $OFDIR
|
||||||
|
|
||||||
OFClone=$OFDIR/OpenFOAM-1.6-ext
|
OFClone=$OFDIR/foam-extend-3.0
|
||||||
OFReference=$OFDIR/OpenFOAM-1.6-ext-parent
|
OFReference=$OFClone-parent
|
||||||
|
|
||||||
OFParent=/OpenFOAM-sources
|
OFParent=/FOAM-sources
|
||||||
|
|
||||||
if [ ! -e $OFClone ]
|
if [ ! -e $OFClone ]
|
||||||
then
|
then
|
||||||
|
|
|
@ -31,6 +31,7 @@ apt-get -y install g++
|
||||||
apt-get -y install make
|
apt-get -y install make
|
||||||
#apt-get -y install python-dev
|
#apt-get -y install python-dev
|
||||||
apt-get -y install ccache
|
apt-get -y install ccache
|
||||||
|
apt-get -y install cmake
|
||||||
|
|
||||||
# test scripts with different shells
|
# test scripts with different shells
|
||||||
apt-get -y install csh
|
apt-get -y install csh
|
||||||
|
|
Reference in a new issue