xref: /petsc/config/examples/arch-ci-linux-gcc-complex-opt-32bit.py (revision ffeef943c8ee50edff320d8a3135bb0c94853e4c)
1#!/usr/bin/env python3
2
3import os
4petsc_hash_pkgs=os.path.join(os.getenv('HOME'),'petsc-hash-pkgs')
5
6configure_options = [
7  '--package-prefix-hash='+petsc_hash_pkgs,
8  '--with-cc=gcc -m32',
9  '--with-cxx=g++ -m32',
10  '--with-fc=gfortran -m32',
11  '--with-clanguage=c',
12  '--with-shared-libraries=yes',
13  '--with-debugging=no',
14  '--with-scalar-type=complex',
15  '--with-64-bit-indices=no',
16  '--with-precision=double',
17  '--download-mpich',
18  '--download-fblaslapack',
19  '--with-strict-petscerrorcode',
20  '--with-coverage',
21]
22
23if __name__ == '__main__':
24  import sys,os
25  sys.path.insert(0,os.path.abspath('config'))
26  import configure
27  configure.petsc_configure(configure_options)
28