xref: /petsc/config/examples/arch-ci-macos-opt-arm.py (revision 8031a1e3aedc67e1c7984f32398a2210fee35fbe)
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  'FPPFLAGS=-fno-underscoring', # test PETSC_HAVE_FORTRAN_UNDERSCORE
9  '--download-triangle', # for TRIANGLE_HDF5 test (with trilinos chaco)
10  '--download-triangle-build-exec',
11  '--download-mpich=1',
12  '--download-mpich-device=ch3:sock',
13  '--with-debugging=0',
14  '--download-metis=1',
15  '--download-suitesparse=1',
16  '--with-shared-libraries=0',
17  '--download-eigen',
18  #'--with-coverage',
19  '--with-strict-petscerrorcode=0',
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