Last change
on this file since 4152 was
3563,
checked in by ole, 18 years ago
|
Moved shallow water out from the old pyvolution directory.
All tests pass, most examples and okushiri works again.
|
File size:
760 bytes
|
Line | |
---|
1 | import os |
---|
2 | |
---|
3 | buildroot = os.getcwd() |
---|
4 | |
---|
5 | os.chdir('source') |
---|
6 | |
---|
7 | os.chdir('anuga') |
---|
8 | |
---|
9 | #Complete horrible hack to decide which branch to take (Ole) |
---|
10 | #try: |
---|
11 | # os.stat('inundation-numpy-branch') |
---|
12 | #except: |
---|
13 | # os.chdir('inundation') |
---|
14 | #else: |
---|
15 | # os.chdir('inundation-numpy-branch') |
---|
16 | |
---|
17 | print 'Changing to', os.getcwd() |
---|
18 | |
---|
19 | #entries = listdir('.') |
---|
20 | |
---|
21 | |
---|
22 | #Attempt to compile all extensions |
---|
23 | |
---|
24 | os.chdir('utilities') |
---|
25 | execfile('compile.py') |
---|
26 | |
---|
27 | os.chdir('..') |
---|
28 | os.chdir('abstract_2d_finite_volumes') |
---|
29 | execfile('..' + os.sep + 'utilities' + os.sep + 'compile.py') |
---|
30 | |
---|
31 | os.chdir('..') |
---|
32 | os.chdir('shallow_water') |
---|
33 | execfile('..' + os.sep + 'utilities' + os.sep + 'compile.py') |
---|
34 | |
---|
35 | os.chdir('..') |
---|
36 | os.chdir('mesh_engine') |
---|
37 | execfile('compile.py') |
---|
38 | |
---|
39 | os.chdir(buildroot) |
---|
40 | #execfile('test_all.py') |
---|
41 | |
---|
Note: See
TracBrowser
for help on using the repository browser.