source:
trunk/anuga_work/shallow_water_balanced_steve/compile_all.py
Last change on this file was 8296, checked in by , 13 years ago | |
---|---|
File size: 432 bytes |
Rev | Line | |
---|---|---|
[8296] | 1 | import os |
2 | import time | |
3 | ||
4 | buildroot = '..' + 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 | ||
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.