164f078cbSBarry Smith#!/usr/bin/env python3 264f078cbSBarry Smith 364f078cbSBarry Smithimport os 464f078cbSBarry Smith 564f078cbSBarry Smithconfigure_options = [ 664f078cbSBarry Smith '--with-cc=emcc', 764f078cbSBarry Smith '--with-cxx=0', 864f078cbSBarry Smith '--with-fc=0', 964f078cbSBarry Smith '--with-ranlib=emranlib', 1064f078cbSBarry Smith '--with-ar=emar', 1164f078cbSBarry Smith '--with-shared-libraries=0', 1264f078cbSBarry Smith '--download-f2cblaslapack=1', 1364f078cbSBarry Smith '--with-mpi=0', 1464f078cbSBarry Smith '--with-batch', 15*689a5dfaSJacob Faibussowitsch '--with-strict-petscerrorcode', 1664f078cbSBarry Smith ] 1764f078cbSBarry Smith 1864f078cbSBarry Smithif __name__ == '__main__': 1964f078cbSBarry Smith import sys,os 2064f078cbSBarry Smith sys.path.insert(0,os.path.abspath('config')) 2164f078cbSBarry Smith import configure 2264f078cbSBarry Smith configure.petsc_configure(configure_options) 23