xref: /petsc/config/examples/arch-ci-linux-opt-cxx-quad.py (revision a5bc1bf344cccdca9c53fc2bcd040c7b504fff0e)
1#!/usr/bin/env python
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  'CC=gcc',
10  'CXX=g++',
11  'FC=gfortran',
12  '--with-mpi-include=/usr/include/mpich',
13  '--with-mpi-lib=-L/usr/lib/x86_64-linux-gnu -lmpichfort -lmpi',
14  '--download-f2cblaslapack=1',
15  '--with-precision=__float128',
16  '--with-clanguage=cxx',
17  ]
18
19if __name__ == '__main__':
20  import sys,os
21  sys.path.insert(0,os.path.abspath('config'))
22  import configure
23  configure.petsc_configure(configure_options)
24