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