1*409736cdSBarry Smith#!/bin/sh 2*409736cdSBarry Smith# 3*409736cdSBarry Smith# This script makes a Apple Mac OS X installer for PETSc, it uses arch-osx.py, arch-osx-debug.py, makeframework, makedocsets, makedmg 4*409736cdSBarry Smith# 5*409736cdSBarry Smith# Run from the root PETSc directory 6*409736cdSBarry Smith# 7*409736cdSBarry Smith# See ./makeframework on how to use the framework: 8*409736cdSBarry Smith# 9*409736cdSBarry Smith# 10*409736cdSBarry Smithexport PETSC_ARCH=arch-oxs-debug 11*409736cdSBarry Smith./systems/Apple/osx/bin/arch-osx-debug.py 12*409736cdSBarry Smithmake cmake test 13*409736cdSBarry Smith 14*409736cdSBarry Smithexport PETSC_ARCH=arch-osx 15*409736cdSBarry Smith./systems/Apple/osx/bin/arch-osx.py 16*409736cdSBarry Smithmake cmake test 17*409736cdSBarry Smith./systems/Apple/osx/bin/makeframework 18*409736cdSBarry Smith 19*409736cdSBarry Smithcp arch-osx-debug/lib/libpetsc.dylib arch-osx/PETSc.framework/PETSc_debug 20*409736cdSBarry Smith 21*409736cdSBarry Smithexport LOC=$PETSC_DIR 22*409736cdSBarry Smithmake alldocs 23*409736cdSBarry Smith./systems/Apple/osx/bin/makedocs 24*409736cdSBarry Smith 25*409736cdSBarry Smith./systems/Apple/osx/bin/makedmg 26*409736cdSBarry Smith 27*409736cdSBarry Smith 28*409736cdSBarry Smith 29*409736cdSBarry Smith 30*409736cdSBarry Smith 31