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