xref: /petsc/config/examples/arch-ci-macos-cxx-cmplx-pkgs-dbg-arm.py (revision 749c190bad46ba447444c173d8c7a4080c70750e)
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=clang',
9  #'--with-cxx=clang++',
10  #'--with-fc=gfortran', # https://brew.sh/
11  'COPTFLAGS=-g -Og',
12  'FOPTFLAGS=-g -Og',
13  'CXXOPTFLAGS=-g -Og',
14
15  'CXXFLAGS=-Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -Wno-deprecated',
16  '--with-clanguage=cxx',
17  '--with-scalar-type=complex',
18
19  #'-download-fblaslapack=1',
20  #'--download-mpich=1',
21  '--download-metis=1',
22  '--download-parmetis=1',
23  '--download-ptscotch=1',
24  '--download-bison=1',
25  '--download-triangle=1',
26  '--download-triangle-build-exec=1',
27  '--download-fftw=1',
28  '--download-superlu=1',
29  '--download-superlu_dist=1',
30  '--download-scalapack=1',
31  '--download-mumps=1',
32  '--download-exodusii=1',
33  '--with-exodusii-fortran-bindings=1',
34  '--download-netcdf=1',
35  '--download-pnetcdf',
36  '--download-hdf5',
37  '--download-ssl=1',
38  '--download-mpfr=1',
39  '--download-gmp=1',
40  '--download-eigen=1',
41  '--download-grid=1',
42  '--download-zlib=1',
43  '--with-petsc4py=1',
44  '--download-mpi4py=1',
45  '--download-elemental=1',
46  #'--download-sundials2=1',
47  #'--download-hypre=1',
48  #'--download-suitesparse=1',
49  #'--download-chaco=1',
50  #'--download-spai=1',
51  #'--with-coverage',
52  '--with-strict-petscerrorcode',
53  ]
54
55if __name__ == '__main__':
56  import sys,os
57  sys.path.insert(0,os.path.abspath('config'))
58  import configure
59  configure.petsc_configure(configure_options)
60