xref: /petsc/config/examples/arch-ci-mswin-gnu.py (revision 1b37a2a7cc4a4fb30c3e967db1c694c0a1013f51)
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