Added bazaar packages
This commit is contained in:
parent
d71951fb59
commit
ddbc29bdfb
4 changed files with 50 additions and 0 deletions
|
@ -83,4 +83,7 @@ fi
|
|||
export WM_NCOMPPROCS=1
|
||||
( cd $WM_THIRD_PARTY_DIR && ./AllMake.post )
|
||||
|
||||
# Build extend-bazaar packages
|
||||
#( cd extend-bazaar && ./Allwmake)
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
|
|
1
extend-bazaar/Allpurge
Executable file
1
extend-bazaar/Allpurge
Executable file
|
@ -0,0 +1 @@
|
|||
find . ! -name 'All*' | xargs rm -rf
|
16
extend-bazaar/Allwclean
Executable file
16
extend-bazaar/Allwclean
Executable file
|
@ -0,0 +1,16 @@
|
|||
#!/bin/bash
|
||||
cd ${0%/*} || exit 1 # run from this directory
|
||||
|
||||
# Clean compilation in Fluid-Structure Interaction package
|
||||
cd FluidStructureInteraction/src/
|
||||
./Allwclean
|
||||
cd -
|
||||
|
||||
# Clean compilation in cfMesh mesh generation package
|
||||
cd cfMesh-v1.0/
|
||||
wclean libso meshLibrary
|
||||
wclean all executables
|
||||
wclean all utilities
|
||||
cd -
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
30
extend-bazaar/Allwmake
Executable file
30
extend-bazaar/Allwmake
Executable file
|
@ -0,0 +1,30 @@
|
|||
#!/bin/bash
|
||||
cd ${0%/*} || exit 1 # run from this directory
|
||||
|
||||
|
||||
# Install Fluid-Structure Interaction package
|
||||
if [ ! -d "FluidStructureInteraction" ]; then
|
||||
wget http://openfoamwiki.net/images/5/52/Fsi_31.tar.gz
|
||||
tar zxvf Fsi_31.tar.gz
|
||||
rm Fsi_31.tar.gz
|
||||
fi
|
||||
|
||||
cd FluidStructureInteraction/src/
|
||||
./Allwmake
|
||||
cd -
|
||||
|
||||
# Install cfMesh mesh generation package
|
||||
if [ ! -d "cfMesh-v1.0" ]; then
|
||||
wget http://www.c-fields.com/Media/Default/Repository/cfMesh-v1.0.tgz
|
||||
tar zxvf cfMesh-v1.0.tgz
|
||||
rm cfMesh-v1.0.tgz
|
||||
fi
|
||||
# Change FOAM_LIBBIN to FOAM_USER_LIBBIN
|
||||
find cfMesh-v1.0/ -type f | grep "Make/files" | xargs sed -i s/FOAM_LIBBIN/FOAM_USER_LIBBIN/g
|
||||
find cfMesh-v1.0/ -type f | grep "Make/files" | xargs sed -i s/FOAM_APPBIN/FOAM_USER_APPBIN/g
|
||||
|
||||
cd cfMesh-v1.0/
|
||||
./Allwmake
|
||||
cd -
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
Reference in a new issue