xref: /petsc/config/examples/arch-ci-mswin-gnu.py (revision 01a3311a75393757dd5c0e1bd4c41c31325e52fc)
170881346SSatish Balay#!/usr/bin/env python3
270881346SSatish Balay
370881346SSatish Balayconfigure_options = [
470881346SSatish Balay  # Autodetect cygwin blas/lapack, OpenMPI
5*01a3311aSBarry Smith  # mpiexec prints  "unable to open debugger attach fifo messages" that breaks "make check"
6*01a3311aSBarry Smith  '--with-batch=1',
770881346SSatish Balay  '--with-debugging=0',
870881346SSatish Balay  # not using -g so that the binaries are smaller
970881346SSatish Balay  'COPTFLAGS=-O',
1070881346SSatish Balay  'FOPTFLAGS=-O',
1170881346SSatish Balay  'CXXOPTFLAGS=-O',
1270881346SSatish Balay  '--with-visibility=0',
1370881346SSatish Balay  'FFLAGS=-fno-backtrace -ffree-line-length-0',
1470881346SSatish Balay  ]
1570881346SSatish Balay
1670881346SSatish Balayif __name__ == '__main__':
1770881346SSatish Balay  import sys,os
1870881346SSatish Balay  sys.path.insert(0,os.path.abspath('config'))
1970881346SSatish Balay  import configure
2070881346SSatish Balay  configure.petsc_configure(configure_options)
21