xref: /petsc/config/examples/arch-ci-linux-opt-cxx-quad.py (revision ccb4e88a40f0b86eaeca07ff64c64e4de2fae686)
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  '--with-mpi-f90module-visibility=0',
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