Last change
on this file since 8523 was
8523,
checked in by davies, 12 years ago
|
Adding 'anuga_tsunami' directory for version suited to tsunami
|
File size:
480 bytes
|
Line | |
---|
1 | import os |
---|
2 | import time |
---|
3 | |
---|
4 | buildroot = '..' + os.sep + '..' + os.sep + '..' + os.sep + '..' + os.sep + '..' + os.sep + 'anuga_core' |
---|
5 | |
---|
6 | compile_script = buildroot + os.sep + 'source' + os.sep + 'anuga' + \ |
---|
7 | os.sep + 'utilities' + os.sep + 'compile.py' |
---|
8 | |
---|
9 | t0 = time.time() |
---|
10 | |
---|
11 | # Attempt to compile all ANUGA extensions |
---|
12 | |
---|
13 | execfile(compile_script) |
---|
14 | |
---|
15 | |
---|
16 | |
---|
17 | |
---|
18 | |
---|
19 | print |
---|
20 | print 'That took %.3fs' %(time.time() - t0) |
---|
21 | |
---|
22 | if sys.platform == 'win32': |
---|
23 | raw_input('Press the RETURN key') |
---|
Note: See
TracBrowser
for help on using the repository browser.