xref: /petsc/config/examples/arch-ci-linux-gcc-complex-opt-32bit.py (revision 4e278199b78715991f5c71ebbd945c1489263e6c)
1#!/usr/bin/env python
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  'CFLAGS=-m32 -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas',
9  'CXXFLAGS=-m32 -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas',
10  'FFLAGS=-m32 -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument',
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