xref: /petsc/config/examples/arch-ci-linux-gcc-complex-opt-32bit.py (revision 73fdd05bb67e49f40fd8fd311695ff6fdf0b9b8a)
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]
21
22if __name__ == '__main__':
23  import sys,os
24  sys.path.insert(0,os.path.abspath('config'))
25  import configure
26  configure.petsc_configure(configure_options)
27