Skip to content
Snippets Groups Projects
Commit da2243a0 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

add slepc in simulator

parent fbee13c4
Branches
Tags
No related merge requests found
......@@ -5,10 +5,11 @@ getdp_svn="/Users/geuzaine/src/getdp/"
frameworks_dir="/Users/geuzaine/src/gmsh/contrib/mobile/frameworks_simulator/"
petsc_framework="$frameworks_dir/petsc.framework"
slepc_framework="$frameworks_dir/slepc.framework"
cmake_default="-DDEFAULT=0 -DCMAKE_C_FLAGS='-m32' -DCMAKE_CXX_FLAGS='-m32'"
build_cmd="make framework -j3"
build_cmd="make framework -j4"
function build_gmsh {
if [ ! -d "$gmsh_svn/build_ios_$1" ]; then
......@@ -24,7 +25,7 @@ function build_getdp {
mkdir $getdp_svn/build_ios_$1
fi
cd $getdp_svn/build_ios_$1
PETSC_DIR= PETSC_ARCH= cmake $cmake_default -DENABLE_BLAS_LAPACK=1 -DENABLE_BUILD_LIB=1 -DENABLE_GMSH=1 -DENABLE_LEGACY=1 -DENABLE_PETSC=1 -DPETSC_INC="$petsc_framework/Headers/" -DPETSC_LIBS="$petsc_framework/petsc" -DGMSH_INC="$frameworks_dir/Gmsh.framework/Headers/" -DGMSH_LIB="$frameworks_dir/Gmsh.framework/Gmsh" ..
PETSC_DIR= PETSC_ARCH= SLEPC_DIR= cmake $cmake_default -DENABLE_BLAS_LAPACK=1 -DENABLE_BUILD_LIB=1 -DENABLE_GMSH=1 -DENABLE_LEGACY=1 -DENABLE_PETSC=1 -DPETSC_INC="$petsc_framework/Headers/" -DPETSC_LIBS="$petsc_framework/petsc" -DENABLE_SLEPC=1 -DSLEPC_INC="$slepc_framework/Headers/" -DSLEPC_LIB="$slepc_framework/slepc" -DGMSH_INC="$frameworks_dir/Gmsh.framework/Headers/" -DGMSH_LIB="$frameworks_dir/Gmsh.framework/Gmsh" ..
$build_cmd
cd -
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment