forked from mcellteam/gamer-v1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build_gamer.sh
executable file
·19 lines (16 loc) · 1.04 KB
/
build_gamer.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
export PREFIX=$PWD/gamer_build
export FETK_INCLUDE=$PREFIX/include
export FETK_LIBRARY=$PREFIX/lib
export PYTHON=/usr/bin/python3.4
export LD_LIBRARY_PATH=$PREFIX/lib:$DYLD_LIBRARY_PATH
#export DYLD_LIBRARY_PATH=$PREFIX/lib:$DYLD_LIBRARY_PATH
export PYTHONPATH=$PREFIX/lib/python3.4/site-packages:$PYTHONPATH
(cd maloc ; ./configure --prefix=$PREFIX ; make clean ; make ; make install)
(cd gamer ; ./configure --prefix=$PREFIX ; make clean ; make ; make install)
#(cd gamer/swig ; ./configure --prefix=$PREFIX LDFLAGS="-L/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib" ; make clean ; make ; make install)
(cd gamer/swig ; ./configure --prefix=$PREFIX ; make clean ; make ; make install)
(cd gamer/tools/ImproveSurfMesh ; ./configure --prefix=$PREFIX ; make clean ; make ; make install)
(cd gamer/tools/MolecularMesh ; ./configure --prefix=$PREFIX ; make clean ; make ; make install)
(cd gamer/tools/GenerateMesh ; ./configure --prefix=$PREFIX ; make clean ; make ; make install)
(cd upy ; $PYTHON setup.py install --prefix=$PREFIX)