xref: /petsc/config/examples/arch-ci-linux-cxx-cmplx-pkgs-64idx.py (revision d2fd7bfc6f0fd2e1d083decbb7cc7d77e16824f0)
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-cc=clang',
9  '--with-fc=gfortran',
10  '--with-cxx=clang++',
11
12  'COPTFLAGS=-g -O',
13  'FOPTFLAGS=-g -O',
14  'CXXOPTFLAGS=-g -O',
15
16  '--with-clanguage=cxx',
17  'CXXFLAGS=-Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -Wno-deprecated',
18  '--with-scalar-type=complex',
19  '--with-64-bit-indices=1',
20
21  '--download-hypre=1',
22  '--download-mpich=1',
23  '--download-cmake=1',
24  '--download-make=1',
25  '--download-metis=1',
26  '--download-parmetis=1',
27  '--download-pastix=1',
28  '--download-ptscotch=1',
29  '--download-superlu_dist=1',
30  '--download-elemental=1',
31  '--download-p4est=1',
32  '--with-zlib=1',
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