xref: /petsc/systems/Apple/iOS/bin/makeall (revision c73cfb54f34510b9dcefc99e398efa3b88d5dde5)
1#!/bin/sh
2#
3# This script makes a Apple iOS installer for PETSc, it uses arch-osx-simulator.py, makeframework, makedocs, makedmg
4#
5# Run from the root PETSc directory
6#
7# See ./makeframework on how to use the framework:
8#
9#
10export PETSC_ARCH=arch-ios-simulator
11./systems/Apple/iOS/bin/arch-ios-simulator.py
12./systems/Apple/iOS/bin/iosbuilder.py
13./systems/Apple/iOS/bin/makeframework simulator
14
15export LOC=$PETSC_DIR
16make alldoc
17make allman
18./systems/Apple/iOS/bin/makedocs
19
20./systems/Apple/iOS/bin/makedmg
21
22echo "To use the PETSc.framework in examples either run the installer ${PETSC_DIR}/PETSc-iOS.dmg"
23echo "  or sudo cp -r ${PETSC_DIR}/PETSc-iOS  /Library/Frameworks"
24
25
26
27
28