1409736cdSBarry Smith#!/bin/sh 2409736cdSBarry Smith# 3*d9dc08c3SBarry Smith# This script makes a Apple Mac OS X installer for PETSc, it uses arch-osx-release.py, arch-osx-debug.py, makeframework, makedocs, makedmg 4409736cdSBarry Smith# 5409736cdSBarry Smith# Run from the root PETSc directory 6409736cdSBarry Smith# 7409736cdSBarry Smith# See ./makeframework on how to use the framework: 8409736cdSBarry Smith# 9409736cdSBarry Smith# 10a6a40a5cSBarry Smithexport PETSC_ARCH=arch-osx-debug 11409736cdSBarry Smith./systems/Apple/osx/bin/arch-osx-debug.py 12a6a40a5cSBarry Smithmake all test 13*d9dc08c3SBarry Smith./systems/Apple/osx/bin/makeframework debug 14409736cdSBarry Smith 15*d9dc08c3SBarry Smithexport PETSC_ARCH=arch-osx-release 16*d9dc08c3SBarry Smith./systems/Apple/osx/bin/arch-osx-release.py 17a6a40a5cSBarry Smithmake all test 18*d9dc08c3SBarry Smith./systems/Apple/osx/bin/makeframework release 19409736cdSBarry Smith 20409736cdSBarry Smithexport LOC=$PETSC_DIR 21*d9dc08c3SBarry Smith#make alldoc 22*d9dc08c3SBarry Smith#make allman 23*d9dc08c3SBarry Smith#./systems/Apple/osx/bin/makedocs 24409736cdSBarry Smith 25409736cdSBarry Smith./systems/Apple/osx/bin/makedmg 26409736cdSBarry Smith 27*d9dc08c3SBarry Smithecho "To use the PETSc.framework in examples either run the installer ${PETSC_DIR}/PETSc-OSX.dmg" 28*d9dc08c3SBarry Smithecho " or sudo cp -r ${PETSC_DIR}/PETSc-OSX /Library/Frameworks" 29409736cdSBarry Smith 30409736cdSBarry Smith 31409736cdSBarry Smith 32409736cdSBarry Smith 33