1409736cdSBarry Smith#!/bin/sh 2409736cdSBarry Smith# 3*a6a40a5cSBarry Smith# This script makes a Apple Mac OS X installer for PETSc, it uses arch-osx.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# 10*a6a40a5cSBarry Smithexport PETSC_ARCH=arch-osx-debug 11409736cdSBarry Smith./systems/Apple/osx/bin/arch-osx-debug.py 12*a6a40a5cSBarry Smithmake all test 13409736cdSBarry Smith 14409736cdSBarry Smithexport PETSC_ARCH=arch-osx 15409736cdSBarry Smith./systems/Apple/osx/bin/arch-osx.py 16*a6a40a5cSBarry Smithmake all test 17409736cdSBarry Smith./systems/Apple/osx/bin/makeframework 18409736cdSBarry Smith 19409736cdSBarry Smithcp arch-osx-debug/lib/libpetsc.dylib arch-osx/PETSc.framework/PETSc_debug 20409736cdSBarry Smith 21409736cdSBarry Smithexport LOC=$PETSC_DIR 22*a6a40a5cSBarry Smithmake alldoc 23409736cdSBarry Smith./systems/Apple/osx/bin/makedocs 24409736cdSBarry Smith 25409736cdSBarry Smith./systems/Apple/osx/bin/makedmg 26409736cdSBarry Smith 27409736cdSBarry Smith 28409736cdSBarry Smith 29409736cdSBarry Smith 30409736cdSBarry Smith 31