xref: /petsc/config/examples/arch-ci-freebsd-c-single-opt.py (revision 4e4bbfaa3814cc83b5851d85be69070845f5653e)
1#!/usr/bin/env python
2
3import os
4petsc_hash_pkgs=os.path.join(os.getenv('HOME'),'petsc-hash-pkgs')
5if not os.path.isdir(petsc_hash_pkgs): os.mkdir(petsc_hash_pkgs)
6
7configure_options = [
8  '--package-prefix-hash='+petsc_hash_pkgs,
9  'CFLAGS=-std=c89 -pedantic -Wno-long-long -Wno-overlength-strings',
10  '--with-precision=single',
11  '--with-debugging=0',
12  '--download-mpich',
13  ]
14
15if __name__ == '__main__':
16  import sys,os
17  sys.path.insert(0,os.path.abspath('config'))
18  import configure
19  configure.petsc_configure(configure_options)
20