xref: /petsc/config/examples/arch-ci-linux-emcc.py (revision 64f078cb99b41ba85e4955863e3c79295856adca)
1*64f078cbSBarry Smith#!/usr/bin/env python3
2*64f078cbSBarry Smith
3*64f078cbSBarry Smithimport os
4*64f078cbSBarry Smith
5*64f078cbSBarry Smithconfigure_options = [
6*64f078cbSBarry Smith  '--with-cc=emcc',
7*64f078cbSBarry Smith  '--with-cxx=0',
8*64f078cbSBarry Smith  '--with-fc=0',
9*64f078cbSBarry Smith  '--with-ranlib=emranlib',
10*64f078cbSBarry Smith  '--with-ar=emar',
11*64f078cbSBarry Smith  '--with-shared-libraries=0',
12*64f078cbSBarry Smith  '--download-f2cblaslapack=1',
13*64f078cbSBarry Smith  '--with-mpi=0',
14*64f078cbSBarry Smith  '--with-batch',
15*64f078cbSBarry Smith  ]
16*64f078cbSBarry Smith
17*64f078cbSBarry Smithif __name__ == '__main__':
18*64f078cbSBarry Smith  import sys,os
19*64f078cbSBarry Smith  sys.path.insert(0,os.path.abspath('config'))
20*64f078cbSBarry Smith  import configure
21*64f078cbSBarry Smith  configure.petsc_configure(configure_options)
22