Last change
on this file since 2958 was
2778,
checked in by steve, 19 years ago
|
On our 64 bit machine, ran into problem in pmesh/mesh.py where seg[0], seg[1], triangle,
and neighbor where not seen as integers. Had to wrap them in int(..)
|
File size:
622 bytes
|
Line | |
---|
1 | import os |
---|
2 | |
---|
3 | buildroot = os.getcwd() |
---|
4 | |
---|
5 | os.chdir('inundation') |
---|
6 | |
---|
7 | #Complete horrible hack to decide which branch to take (Ole) |
---|
8 | #try: |
---|
9 | # os.stat('inundation-numpy-branch') |
---|
10 | #except: |
---|
11 | # os.chdir('inundation') |
---|
12 | #else: |
---|
13 | # os.chdir('inundation-numpy-branch') |
---|
14 | |
---|
15 | print 'Changing to', os.getcwd() |
---|
16 | |
---|
17 | #entries = listdir('.') |
---|
18 | |
---|
19 | |
---|
20 | #Attempt to compile all extensions |
---|
21 | |
---|
22 | os.chdir('utilities') |
---|
23 | execfile('compile.py') |
---|
24 | |
---|
25 | os.chdir('..') |
---|
26 | os.chdir('pyvolution') |
---|
27 | execfile('..' + os.sep + 'utilities' + os.sep + 'compile.py') |
---|
28 | |
---|
29 | os.chdir('..') |
---|
30 | os.chdir('triangle') |
---|
31 | execfile('compile.py') |
---|
32 | |
---|
33 | os.chdir(buildroot) |
---|
34 | #execfile('test_all.py') |
---|
35 | |
---|
Note: See
TracBrowser
for help on using the repository browser.