xref: /petsc/config/examples/arch-ci-mswin-uni.py (revision 4e4bbfaa3814cc83b5851d85be69070845f5653e)
1#!/usr/bin/python
2
3import os
4petsc_hash_pkgs=os.path.join(os.getenv('HOME'),'petsc-hash-pkgs')
5if not os.path.isdir(petsc_hash_pkgs): os.mkdir(petsc_hash_pkgs)
6
7if __name__ == '__main__':
8  import sys
9  import os
10  sys.path.insert(0, os.path.abspath('config'))
11  import configure
12  configure_options = [
13    '--package-prefix-hash='+petsc_hash_pkgs,
14    '--download-f2cblaslapack',
15    '--with-cc=win32fe cl',
16    '--with-shared-libraries=1',
17    '--with-cxx=0',
18    '--with-fc=0',
19    '--with-mpi=0',
20    'DATAFILESPATH=c:/cygwin64/home/glci/datafiles',
21  ]
22  configure.petsc_configure(configure_options)
23
24