1409736cdSBarry Smith#!/bin/sh 2409736cdSBarry Smith# 3d9dc08c3SBarry 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 116187e55bSBarry Smithrm -rf arch-osx-debug 12409736cdSBarry Smith./systems/Apple/osx/bin/arch-osx-debug.py 13a6a40a5cSBarry Smithmake all test 14d9dc08c3SBarry Smith./systems/Apple/osx/bin/makeframework debug 15409736cdSBarry Smith 16d9dc08c3SBarry Smithexport PETSC_ARCH=arch-osx-release 176187e55bSBarry Smithrm -rf arch-osx-release 18d9dc08c3SBarry Smith./systems/Apple/osx/bin/arch-osx-release.py 19a6a40a5cSBarry Smithmake all test 20d9dc08c3SBarry Smith./systems/Apple/osx/bin/makeframework release 21409736cdSBarry Smith 22409736cdSBarry Smithexport LOC=$PETSC_DIR 23*f66eea08SBarry Smithmake alldoc 24*f66eea08SBarry Smithmake allman 25*f66eea08SBarry Smith./systems/Apple/osx/bin/makedocs 26409736cdSBarry Smith 27409736cdSBarry Smith./systems/Apple/osx/bin/makedmg 28409736cdSBarry Smith 29d9dc08c3SBarry Smithecho "To use the PETSc.framework in examples either run the installer ${PETSC_DIR}/PETSc-OSX.dmg" 302e826d6fSBarry Smithecho " or sudo cp -r ${PETSC_DIR}/arch-osx-release/PETSc-OSX /Library/Frameworks" 312e826d6fSBarry Smithecho " and sudo cp -r ${PETSC_DIR}/arch-osx-debug/PETSc-OSX /Library/Frameworks" 32409736cdSBarry Smith 33409736cdSBarry Smith 34409736cdSBarry Smith 35409736cdSBarry Smith 36