1#!/usr/bin/env python3 2 3configure_options = [ 4 # Autodetect cygwin blas/lapack, OpenMPI 5 '--with-debugging=0', 6 # not using -g so that the binaries are smaller 7 'COPTFLAGS=-O', 8 'FOPTFLAGS=-O', 9 'CXXOPTFLAGS=-O', 10 '--with-visibility=0', 11 'FFLAGS=-fno-backtrace -ffree-line-length-0', 12 ] 13 14if __name__ == '__main__': 15 import sys,os 16 sys.path.insert(0,os.path.abspath('config')) 17 import configure 18 configure.petsc_configure(configure_options) 19