source: trunk/anuga_core/source/anuga/compile_all.py @ 8466

Last change on this file since 8466 was 8248, checked in by steve, 13 years ago

commiting at the anuga_core level

File size: 1.2 KB
Line 
1""" Script to compile all C extensions in ANUGA. """
2
3import os
4
5BUILDROOT = os.getcwd()
6
7#Attempt to compile all extensions
8
9os.chdir('utilities')
10execfile('compile.py')
11
12#os.chdir('..')
13#os.chdir('advection')
14#execfile('..' + os.sep + 'utilities' + os.sep + 'compile.py')
15
16os.chdir('..')
17os.chdir('operators')
18execfile('..' + os.sep + 'utilities' + os.sep + 'compile.py')
19
20
21os.chdir('..')
22os.chdir('geometry')
23execfile('..' + os.sep + 'utilities' + os.sep + 'compile.py')
24
25os.chdir('..')
26os.chdir('structures')
27execfile('..' + os.sep + 'utilities' + os.sep + 'compile.py')
28
29os.chdir('..')
30os.chdir('abstract_2d_finite_volumes')
31execfile('..' + os.sep + 'utilities' + os.sep + 'compile.py')
32
33os.chdir('..')
34os.chdir('file')
35execfile('..' + os.sep + 'utilities' + os.sep + 'compile.py')
36
37os.chdir('..')
38os.chdir('shallow_water')
39execfile('..' + os.sep + 'utilities' + os.sep + 'compile.py')
40
41#os.chdir('..')
42#os.chdir('shallow_water_balanced')
43#execfile('..' + os.sep + 'utilities' + os.sep + 'compile.py')
44
45os.chdir('..')
46os.chdir('mesh_engine')
47execfile('..' + os.sep + 'utilities' + os.sep + 'compile.py')
48
49os.chdir(BUILDROOT)   
50#execfile('test_all.py')
51   
52if sys.platform == 'win32':
53    raw_input('Press the RETURN key')
Note: See TracBrowser for help on using the repository browser.