xref: /petsc/config/examples/arch-ci-freebsd-c-single-opt.py (revision 7f296bb328fcd4c99f2da7bfe8ba7ed8a4ebceee)
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  'CFLAGS=-std=c99 -pedantic -Wno-long-long -Wno-overlength-strings',
9  '--with-precision=single',
10  '--with-debugging=0',
11  '--with-mpi-dir=/home/svcpetsc/soft/mpich-4.2.2',
12  '--download-superlu_dist',
13  '--download-metis',
14  '--download-parmetis',
15  '--download-hypre',
16  '--with-strict-petscerrorcode',
17]
18
19if __name__ == '__main__':
20  import sys,os
21  sys.path.insert(0,os.path.abspath('config'))
22  import configure
23  configure.petsc_configure(configure_options)
24