Changeset 3560 for anuga_core/source/anuga/utilities/compile.py
- Timestamp:
- Sep 12, 2006, 2:54:29 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/utilities/compile.py
r3526 r3560 193 193 # This is hacky since it 194 194 # assumes the location of the compile_all that determines buildroot 195 utilities_include_dir = buildroot + os.sep + "source" + os.sep + "anuga" \ 196 + os.sep + 'utilities' 195 try: 196 utilities_include_dir = buildroot + os.sep + "source" + os.sep + "anuga" \ 197 + os.sep + 'utilities' 198 except: 199 # This will make compile work locally 200 utilities_include_dir = '.' 201 202 203 197 204 try: 198 205 os.stat(utilities_include_dir) … … 295 302 print '------- Trying to compile c-extension %s' %filename 296 303 297 #compile(filename)304 compile(filename) 298 305 try: 299 306 compile(filename) … … 357 364 %(filename, os.getcwd()) 358 365 366 compile(filename) 359 367 try: 360 368 compile(filename)
Note: See TracChangeset
for help on using the changeset viewer.