Windows porting changes
This commit is contained in:
parent
d80f87e105
commit
bf90f2f162
4 changed files with 17 additions and 8 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -41,6 +41,7 @@ lnInclude
|
||||||
# build folders - anywhere
|
# build folders - anywhere
|
||||||
linux*Gcc*/
|
linux*Gcc*/
|
||||||
linux*Icc*/
|
linux*Icc*/
|
||||||
|
MINGW32*Gcc*/
|
||||||
darwin*Gcc*/
|
darwin*Gcc*/
|
||||||
darwin*Intel*/
|
darwin*Intel*/
|
||||||
linuxming*/
|
linuxming*/
|
||||||
|
|
|
@ -51,7 +51,13 @@ already have some of these system tools.
|
||||||
may already be available in other packages (such as Strawberry Perl), although
|
may already be available in other packages (such as Strawberry Perl), although
|
||||||
you need to be careful of the version numbers.
|
you need to be careful of the version numbers.
|
||||||
|
|
||||||
3) Download and install MSYS (see reference list below).
|
3) Download and install MSYS (see reference list below). If this is your first
|
||||||
|
use of MSYS, create a file fstab in cMinGW/1.0/etc with single-line contents:
|
||||||
|
|
||||||
|
c/mingw /mingw
|
||||||
|
|
||||||
|
to mount your home directory. From Windows, you will find your home directory
|
||||||
|
under c:/MinGW/msys/1.0/home/<user name>
|
||||||
|
|
||||||
4) Download the foam-extend source code from http://sourceforge.net/projects/openfoam-extend/
|
4) Download the foam-extend source code from http://sourceforge.net/projects/openfoam-extend/
|
||||||
|
|
||||||
|
|
10
etc/bashrc.mingw
Normal file → Executable file
10
etc/bashrc.mingw
Normal file → Executable file
|
@ -47,8 +47,8 @@ set_system_paths() {
|
||||||
export PARAVIEW_HOME=$PROGRAMS_HOME/ParaView-4.3.1
|
export PARAVIEW_HOME=$PROGRAMS_HOME/ParaView-4.3.1
|
||||||
#export PERL_HOME=$PROGRAMS_HOME/strawberry-perl-5.20.2.1-64bit/perl
|
#export PERL_HOME=$PROGRAMS_HOME/strawberry-perl-5.20.2.1-64bit/perl
|
||||||
export PEXPORTS_HOME=$PROGRAMS_HOME/pexports
|
export PEXPORTS_HOME=$PROGRAMS_HOME/pexports
|
||||||
#export PYTHON_HOME=$PROGRAMS_HOME/Python27
|
export PYTHON_HOME=$PROGRAMS_HOME/Python27
|
||||||
#export SUBVERSION_HOME=$PROGRAMS_HOME/svn-win32-1.8.13
|
export SUBVERSION_HOME=$PROGRAMS_HOME/svn-win32-1.8.13
|
||||||
export WGET_HOME=$PROGRAMS_HOME/wget-1.11.4-1
|
export WGET_HOME=$PROGRAMS_HOME/wget-1.11.4-1
|
||||||
export ZIP_HOME="/c/Program Files/7-Zip"
|
export ZIP_HOME="/c/Program Files/7-Zip"
|
||||||
}
|
}
|
||||||
|
@ -58,14 +58,15 @@ add_to_path() {
|
||||||
echo "Adding user-defined installed system tools to PATH ..."
|
echo "Adding user-defined installed system tools to PATH ..."
|
||||||
export PATH=$ZIP_HOME:$PATH
|
export PATH=$ZIP_HOME:$PATH
|
||||||
export PATH=$WGET_HOME/bin:$PATH
|
export PATH=$WGET_HOME/bin:$PATH
|
||||||
#export PATH=$PYTHON_HOME:$PATH
|
export PATH=$PYTHON_HOME:$PATH
|
||||||
#export PATH=$SUBVERSION_HOME/bin:$PATH
|
export PATH=$SUBVERSION_HOME/bin:$PATH
|
||||||
export PATH=$GIT_HOME/cmd:$PATH
|
export PATH=$GIT_HOME/cmd:$PATH
|
||||||
#export PATH=$PERL_HOME/bin:$PATH
|
#export PATH=$PERL_HOME/bin:$PATH
|
||||||
export PATH=$CMAKE_HOME/bin:$PATH
|
export PATH=$CMAKE_HOME/bin:$PATH
|
||||||
export PATH=$MPI_ROOTDIR/bin:$PATH
|
export PATH=$MPI_ROOTDIR/bin:$PATH
|
||||||
export PATH=$PEXPORTS_HOME/bin:$PATH
|
export PATH=$PEXPORTS_HOME/bin:$PATH
|
||||||
export PATH=$MINGW_HOME/bin:$PATH
|
export PATH=$MINGW_HOME/bin:$PATH
|
||||||
|
export PATH=$PARAVIEW_HOME/bin:$PATH
|
||||||
}
|
}
|
||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
|
@ -119,6 +120,7 @@ check_versions() {
|
||||||
}
|
}
|
||||||
|
|
||||||
finish() {
|
finish() {
|
||||||
|
export PATH=$PATH:$LD_LIBRARY_PATH
|
||||||
echo
|
echo
|
||||||
echo
|
echo
|
||||||
echo "FOAM_INST_DIR=$FOAM_INST_DIR"
|
echo "FOAM_INST_DIR=$FOAM_INST_DIR"
|
||||||
|
|
|
@ -151,9 +151,9 @@ export SCOTCH_INCLUDE_DIR=$SCOTCH_DIR/include
|
||||||
#export QT_BIN_DIR=$QT_DIR/bin
|
#export QT_BIN_DIR=$QT_DIR/bin
|
||||||
|
|
||||||
# System installed ParaView
|
# System installed ParaView
|
||||||
#export PARAVIEW_SYSTEM=1
|
export PARAVIEW_SYSTEM=1
|
||||||
#export PARAVIEW_DIR=path_to_system_installed_paraview
|
export PARAVIEW_DIR=/c/Programs/ParaView-4.3.1
|
||||||
#export PARAVIEW_BIN_DIR=$PARAVIEW_DIR/bin
|
export PARAVIEW_BIN_DIR=$PARAVIEW_DIR/bin
|
||||||
|
|
||||||
# System installed bison
|
# System installed bison
|
||||||
#export BISON_SYSTEM=1
|
#export BISON_SYSTEM=1
|
||||||
|
|
Reference in a new issue