xref: /petsc/config/examples/arch-ci-mswin-uni.py (revision 7e1a0bbe36d2be40a00a95404ece00db4857f70d)
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    '--download-f2cblaslapack',
14    '--with-cc=cl',
15    '--with-shared-libraries=1',
16    '--with-cxx=0',
17    '--with-fc=0',
18    '--with-mpi=0',
19    '--with-strict-petscerrorcode',
20  ]
21  configure.petsc_configure(configure_options)
22