xref: /petsc/config/examples/arch-ci-freebsd-c-single-opt.py (revision 21e3ffae2f3b73c0bd738cf6d0a809700fc04bb0)
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  '--download-mpich',
12  '--download-mpich-device=ch3:sock',
13  '--download-superlu_dist',
14  '--download-metis',
15  '--download-parmetis',
16  '--download-cmake',  # needed by metis/parmetis
17  '--with-strict-petscerrorcode',
18]
19
20if __name__ == '__main__':
21  import sys,os
22  sys.path.insert(0,os.path.abspath('config'))
23  import configure
24  configure.petsc_configure(configure_options)
25