xref: /petsc/config/examples/arch-ci-freebsd-pkgs-opt.py (revision bcee047adeeb73090d7e36cc71e39fc287cdbb97)
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  '--with-debugging=0',
9
10  '--useThreads=0', # for some reason cmake hangs when invoked from configure on bsd?
11  '--download-netlib-lapack=1',
12  '--download-mpich=1',
13  '--download-mpich-device=ch3:sock',
14  '--download-cmake=1',
15  '--download-metis=1',
16  '--download-parmetis=1',
17  '--download-triangle=1',
18  #'--download-superlu=1',
19  #'--download-superlu_dist=1', disabled as superlu_dist now requires gnumake - and this build tests freebsd-make
20  '--download-scalapack=1',
21  '--download-mumps=1',
22  '--download-parms=1',
23  # no with-cxx-dialect=C++11 support '--download-elemental=1',
24  #'--download-hdf5',
25  '--download-sundials2=1',
26  '--download-hypre=1',
27  #'--download-suitesparse=1', requires gnumake
28  '--download-chaco=1',
29  '--download-spai=1',
30  '--download-concurrencykit=1',
31  '--download-revolve=1',
32  '--with-strict-petscerrorcode',
33  ]
34
35if __name__ == '__main__':
36  import sys,os
37  sys.path.insert(0,os.path.abspath('config'))
38  import configure
39  configure.petsc_configure(configure_options)
40