xref: /petsc/systems/Apple/OSX/bin/makeall (revision 2e826d6f168293946e7dc17f87075462a7cd4791)
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
11409736cdSBarry Smith./systems/Apple/osx/bin/arch-osx-debug.py
12a6a40a5cSBarry Smithmake all test
13d9dc08c3SBarry Smith./systems/Apple/osx/bin/makeframework debug
14409736cdSBarry Smith
15d9dc08c3SBarry Smithexport PETSC_ARCH=arch-osx-release
16d9dc08c3SBarry Smith./systems/Apple/osx/bin/arch-osx-release.py
17a6a40a5cSBarry Smithmake all test
18d9dc08c3SBarry Smith./systems/Apple/osx/bin/makeframework release
19409736cdSBarry Smith
20409736cdSBarry Smithexport LOC=$PETSC_DIR
21d9dc08c3SBarry Smith#make alldoc
22d9dc08c3SBarry Smith#make allman
23d9dc08c3SBarry Smith#./systems/Apple/osx/bin/makedocs
24409736cdSBarry Smith
25409736cdSBarry Smith./systems/Apple/osx/bin/makedmg
26409736cdSBarry Smith
27d9dc08c3SBarry Smithecho "To use the PETSc.framework in examples either run the installer ${PETSC_DIR}/PETSc-OSX.dmg"
28*2e826d6fSBarry Smithecho "  or sudo cp -r ${PETSC_DIR}/arch-osx-release/PETSc-OSX  /Library/Frameworks"
29*2e826d6fSBarry Smithecho "  and sudo cp -r ${PETSC_DIR}/arch-osx-debug/PETSc-OSX  /Library/Frameworks"
30409736cdSBarry Smith
31409736cdSBarry Smith
32409736cdSBarry Smith
33409736cdSBarry Smith
34