1#!/usr/bin/env python3 2 3configure_options = [ 4 # Autodetect cygwin blas/lapack, Open MPI 5 # mpiexec prints "unable to open debugger attach fifo messages" that breaks "make check" 6 '--with-batch=1', 7 '--with-debugging=0', 8 # not using -g so that the binaries are smaller 9 'COPTFLAGS=-O', 10 'FOPTFLAGS=-O', 11 'CXXOPTFLAGS=-O', 12 '--with-visibility=0', 13 'FFLAGS=-fno-backtrace -ffree-line-length-0', 14 '--with-strict-petscerrorcode', 15 ] 16 17if __name__ == '__main__': 18 import sys,os 19 sys.path.insert(0,os.path.abspath('config')) 20 import configure 21 configure.petsc_configure(configure_options) 22