xref: /petsc/systems/Apple/iOS/bin/makeall (revision f66eea085cceefc5191b4b3d61f096e7c3d8e689)
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
11rm -rf ${PETSC_ARCH}
12./systems/Apple/iOS/bin/arch-ios-simulator.py
13./systems/Apple/iOS/bin/iosbuilder.py
14./systems/Apple/iOS/bin/makeframework simulator
15
16export LOC=$PETSC_DIR
17make alldoc
18make allman
19./systems/Apple/iOS/bin/makedocs
20
21./systems/Apple/iOS/bin/makedmg
22
23echo "To use the PETSc.framework in examples either run the installer ${PETSC_DIR}/PETSc-iOS.dmg"
24echo "  or sudo cp -r ${PETSC_DIR}/PETSc-iOS  /Library/Frameworks"
25
26
27
28
29