1#!/bin/sh 2# 3# This script makes a Apple Mac OS X installer for PETSc, it uses arch-osx-release.py, arch-osx-debug.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-osx-debug 11./systems/Apple/osx/bin/arch-osx-debug.py 12make all test 13./systems/Apple/osx/bin/makeframework debug 14 15export PETSC_ARCH=arch-osx-release 16./systems/Apple/osx/bin/arch-osx-release.py 17make all test 18./systems/Apple/osx/bin/makeframework release 19 20export LOC=$PETSC_DIR 21#make alldoc 22#make allman 23#./systems/Apple/osx/bin/makedocs 24 25./systems/Apple/osx/bin/makedmg 26 27echo "To use the PETSc.framework in examples either run the installer ${PETSC_DIR}/PETSc-OSX.dmg" 28echo " or sudo cp -r ${PETSC_DIR}/PETSc-OSX /Library/Frameworks" 29 30 31 32 33