1#!/bin/sh 2# 3# This script makes a Apple iOS installer for PETSc, it uses arch-osx-simulator.py, makeframework, makedocs, makedmg 4# 5# Run from the root PETSc directory 6# 7# See ./makeframework on how to use the framework: 8# 9# 10export PETSC_ARCH=arch-ios-simulator 11./systems/Apple/iOS/bin/arch-ios-simulator.py 12./systems/Apple/iOS/bin/iosbuilder.py 13./systems/Apple/iOS/bin/makeframework simulator 14 15#export LOC=$PETSC_DIR 16#make alldoc 17#make allman 18#./systems/Apple/iOS/bin/makedocs 19 20./systems/Apple/iOS/bin/makedmg 21 22echo "To use the PETSc.framework in examples either run the installer ${PETSC_DIR}/PETSc-iOS.dmg" 23echo " or sudo cp -r ${PETSC_DIR}/PETSc-iOS /Library/Frameworks" 24 25 26 27 28