xref: /petsc/config/examples/arch-ci-linux-viennacl.py (revision 4f79c7b88da53f016fd74da2b32f123324fb2eda)
1#!/usr/bin/env python3
2if __name__ == '__main__':
3  import sys
4  import os
5  sys.path.insert(0, os.path.abspath('config'))
6  import configure
7  configure_options = [
8    '--with-make-test-np=20',
9    'COPTFLAGS=-g -O',
10    'FOPTFLAGS=-g -O',
11    'CXXOPTFLAGS=-g -O',
12    '--download-viennacl',
13    '--with-opencl-include=/usr/local/cuda/include',
14    '--with-opencl-lib=-L/usr/local/cuda/lib64 -lOpenCL',
15    '--with-cuda=0',
16    '--download-codipack=1',
17    '--download-adblaslapack=1',
18    '--with-strict-petscerrorcode',
19    '--with-coverage',
20  ]
21  configure.petsc_configure(configure_options)
22