1#!/bin/sh 2# 3# This script makes a Apple Mac OS X installer for PETSc, it uses arch-osx.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 14export PETSC_ARCH=arch-osx 15./systems/Apple/osx/bin/arch-osx.py 16make all test 17./systems/Apple/osx/bin/makeframework 18 19cp arch-osx-debug/lib/libpetsc.dylib arch-osx/PETSc.framework/PETSc_debug 20 21export LOC=$PETSC_DIR 22make alldoc 23./systems/Apple/osx/bin/makedocs 24 25./systems/Apple/osx/bin/makedmg 26 27 28 29 30 31