#!/opt/local/Library/Frameworks/Python.framework/Versions/3.11/bin/python3
if __name__ == '__main__':
  import sys
  import os
  sys.path.insert(0, os.path.abspath('config'))
  import configure
  configure_options = [
    '--prefix=/opt/local/lib/petsc',
    '--with-blaslapack-lib=-L/opt/local/lib -lvecLibFort',
    '--with-c2html-dir=/opt/local',
    '--with-debugging=0',
    '--with-environment-variables=1',
    '--with-hwloc-dir=/opt/local',
    '--with-mpiexec=mpiexec-mpich-clang11',
    '--with-shared-libraries',
    '--with-valgrind=0',
    '--with-x=0',
    'COPTFLAGS=-Os',
    'CXXOPTFLAGS=-Os',
    'FOPTFLAGS=-Os',
    'PETSC_ARCH=arch-macports',
  ]
  configure.petsc_configure(configure_options)
