#!/usr/bin/env python # See iosbuilder.py for instructions # Note that this "cheats" and runs all the ./configure tests on the Mac NOT on the iPhone # but this is ok because the answers are the same. # Force a 32 bit compile because that is what ARM supports. # No need to provide BLAS/LAPACK because Mac and iOS support the same Accelerate framework # if __name__ == '__main__': import sys import os sys.path.insert(0, os.path.abspath('config')) import configure configure_options = [ '--with-cc=gcc -m32', '--with-mpi=0', '--with-ios=1', '--with-valgrind=0', '--with-opengles=1', '--with-x=0', '--with-fc=0', '--known-blaslapack-mangling=underscore', # ios only supports this mangling 'PETSC_ARCH=arch-ios-simulator', ] configure.petsc_configure(configure_options)