xref: /petsc/config/examples/arch-ci-freebsd-c-single-opt.py (revision 017deb10d530c1b6d9744fcd772cd96c5fcd74f2)
1df3bd252SSatish Balay#!/usr/bin/env python3
24d09bf9bSSatish Balay
3e6e6d463SSatish Balayimport os
4e6e6d463SSatish Balaypetsc_hash_pkgs=os.path.join(os.getenv('HOME'),'petsc-hash-pkgs')
5e6e6d463SSatish Balay
64d09bf9bSSatish Balayconfigure_options = [
7e6e6d463SSatish Balay  '--package-prefix-hash='+petsc_hash_pkgs,
8453a69bbSBarry Smith  'CFLAGS=-std=c99 -pedantic -Wcast-function-type -Wno-long-long -Wno-overlength-strings',
94d09bf9bSSatish Balay  '--with-precision=single',
104d09bf9bSSatish Balay  '--with-debugging=0',
1120c5c9bcSSatish Balay  '--with-mpi-dir=/home/svcpetsc/soft/mpich-4.2.2',
12d4783600SBarry Smith  '--download-superlu_dist',
13d4783600SBarry Smith  '--download-metis',
14d4783600SBarry Smith  '--download-parmetis',
1573dcfd97SStefano Zampini  '--download-hypre',
16689a5dfaSJacob Faibussowitsch  '--with-strict-petscerrorcode',
17*c95305b8SPierre Jolivet  '--with-devicelanguage=cxx',
184d09bf9bSSatish Balay]
194d09bf9bSSatish Balay
204d09bf9bSSatish Balayif __name__ == '__main__':
214d09bf9bSSatish Balay  import sys,os
224d09bf9bSSatish Balay  sys.path.insert(0,os.path.abspath('config'))
234d09bf9bSSatish Balay  import configure
244d09bf9bSSatish Balay  configure.petsc_configure(configure_options)
25