xref: /petsc/config/examples/arch-ci-freebsd-pkgs-opt.py (revision 012c79f403d420e9d0d77bf7bae9feb1b717d6c8)
1df3bd252SSatish Balay#!/usr/bin/env python3
2943f3f31SSatish Balay
3943f3f31SSatish Balayimport os
4943f3f31SSatish Balaypetsc_hash_pkgs=os.path.join(os.getenv('HOME'),'petsc-hash-pkgs')
5943f3f31SSatish Balay
6943f3f31SSatish Balayconfigure_options = [
7943f3f31SSatish Balay  '--package-prefix-hash='+petsc_hash_pkgs,
8943f3f31SSatish Balay  '--with-debugging=0',
9943f3f31SSatish Balay
10943f3f31SSatish Balay  '--useThreads=0', # for some reason cmake hangs when invoked from configure on bsd?
11773f21dcSJose E. Roman  '--download-netlib-lapack=1',
12688c8ee7SFlorent Pruvost  '--with-netlib-lapack-c-bindings=1',
13688c8ee7SFlorent Pruvost  '--download-pastix=1',
14688c8ee7SFlorent Pruvost  '--download-hwloc=1',
1520c5c9bcSSatish Balay  '--with-mpi-dir=/home/svcpetsc/soft/mpich-4.2.2',
16943f3f31SSatish Balay  '--download-metis=1',
17943f3f31SSatish Balay  '--download-parmetis=1',
18943f3f31SSatish Balay  '--download-triangle=1',
196de2a5eaSChris Kees  '--download-triangle-build-exec=1',
20943f3f31SSatish Balay  #'--download-superlu=1',
21943f3f31SSatish Balay  #'--download-superlu_dist=1', disabled as superlu_dist now requires gnumake - and this build tests freebsd-make
22943f3f31SSatish Balay  '--download-scalapack=1',
23943f3f31SSatish Balay  '--download-mumps=1',
24943f3f31SSatish Balay  '--download-parms=1',
25943f3f31SSatish Balay  # no with-cxx-dialect=C++11 support '--download-elemental=1',
26943f3f31SSatish Balay  #'--download-hdf5',
27b129f54cSBarry Smith  '--download-sundials2=1',
28943f3f31SSatish Balay  '--download-hypre=1',
29943f3f31SSatish Balay  #'--download-suitesparse=1', requires gnumake
30943f3f31SSatish Balay  '--download-chaco=1',
31943f3f31SSatish Balay  '--download-spai=1',
32943f3f31SSatish Balay  '--download-concurrencykit=1',
33943f3f31SSatish Balay  '--download-revolve=1',
34*54606e8bSsdargavi  '--download-pflare=1',
35689a5dfaSJacob Faibussowitsch  '--with-strict-petscerrorcode',
36943f3f31SSatish Balay  ]
37943f3f31SSatish Balay
38943f3f31SSatish Balayif __name__ == '__main__':
39943f3f31SSatish Balay  import sys,os
40943f3f31SSatish Balay  sys.path.insert(0,os.path.abspath('config'))
41943f3f31SSatish Balay  import configure
42943f3f31SSatish Balay  configure.petsc_configure(configure_options)
43