xref: /petsc/config/examples/arch-ci-linux-gcc-pkgs-opt.py (revision 6ee04767cadfff0612518b5db6e53c426a4c5190)
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-clanguage=c',
9  '--with-shared-libraries=yes',
10  '--with-debugging=no',
11  '--download-mpich',
12  '--download-mpich-device=ch3:sock',
13  '--download-metis',
14  '--download-parmetis',
15  '--download-scalapack',
16  '--download-mumps',
17  '--download-zlib',
18  '--download-hdf5',
19  '--download-netcdf',
20  '--download-pnetcdf',
21  '--download-exodusii',
22  '--with-exodusii-fortran-bindings',
23  '--download-ml',
24  '--download-suitesparse',
25  '--download-triangle',
26  '--download-triangle-build-exec',
27  '--download-cgns',
28  #'--download-chaco', run with hdf5, exodus, but without chaco
29  '--download-ctetgen',
30  '--download-cmake',
31  '--download-amrex',
32  '--download-hypre',
33  '--download-ks',
34  '--download-sprng',
35  '--with-ssl=1',
36  '--with-tau-perfstubs=0',
37  '--with-strict-petscerrorcode',
38  '--with-coverage',
39]
40
41if __name__ == '__main__':
42  import sys,os
43  sys.path.insert(0,os.path.abspath('config'))
44  import configure
45  configure.petsc_configure(configure_options)
46