xref: /petsc/config/examples/arch-ci-linux-clang-cuda.py (revision 4f79c7b88da53f016fd74da2b32f123324fb2eda)
1#!/usr/bin/env python3
2
3import os
4petsc_hash_pkgs=os.path.join(os.getenv('HOME'),'petsc-hash-pkgs')
5
6if __name__ == '__main__':
7  import sys
8  import os
9  sys.path.insert(0, os.path.abspath('config'))
10  import configure
11  configure_options = [
12    '--package-prefix-hash='+petsc_hash_pkgs,
13    '--with-debugging=0',
14    '--with-cuda=1',
15    '--with-cudac=clang++',
16    '--with-cuda-dialect=17',
17    '--with-cc=clang',
18    '--with-cxx=clang++',
19    '--download-openmpi',
20    #'--with-coverage',
21  ]
22
23  configure.petsc_configure(configure_options)
24