xref: /petsc/systems/Apple/OSX/bin/arch-osx-release.py (revision d9dc08c3c4ad86f608e3e00539e955e6b7ec9a29)
1*d9dc08c3SBarry Smith#!/usr/bin/python
2*d9dc08c3SBarry Smithif __name__ == '__main__':
3*d9dc08c3SBarry Smith  import sys
4*d9dc08c3SBarry Smith  import os
5*d9dc08c3SBarry Smith  sys.path.insert(0, os.path.abspath('config'))
6*d9dc08c3SBarry Smith  import configure
7*d9dc08c3SBarry Smith# make sure this has the same options as arch-osx.py
8*d9dc08c3SBarry Smith  configure_options = [
9*d9dc08c3SBarry Smith    '--download-mpich',
10*d9dc08c3SBarry Smith    '--with-fc=0',
11*d9dc08c3SBarry Smith    '--with-shared-libraries',
12*d9dc08c3SBarry Smith    '--download-mpich-shared=0',
13*d9dc08c3SBarry Smith    '--with-valgrind=0',
14*d9dc08c3SBarry Smith    '--with-debugging=0',
15*d9dc08c3SBarry Smith    'PETSC_ARCH=arch-osx-release',
16*d9dc08c3SBarry Smith  ]
17*d9dc08c3SBarry Smith  configure.petsc_configure(configure_options)
18