Changeset 3791
- Timestamp:
- Oct 16, 2006, 2:34:02 PM (18 years ago)
- Location:
- anuga_core/source/anuga
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/mesh_engine/compile.py
r3558 r3791 226 226 try: 227 227 err=os.system(s) 228 if err != 0: 229 228 if err != 0: 229 raise 'Atempting to link %s failed - please try manually' %root1 230 230 except: 231 231 raise 'Could not link %s - please try manually' %root1 … … 257 257 else: 258 258 print '------- Trying to compile c-extension %s' %filename 259 259 260 260 try: 261 261 compile(filename) … … 294 294 295 295 if ext <> '.c': 296 296 print 'WARNING (compile.py): Skipping %s. I only compile C-files.' %filename 297 297 298 298 else: -
anuga_core/source/anuga/utilities/compile.py
r3560 r3791 271 271 try: 272 272 err=os.system(s) 273 if err != 0: 274 273 if err != 0: 274 raise 'Atempting to link %s failed - please try manually' %root1 275 275 except: 276 276 raise 'Could not link %s - please try manually' %root1 … … 341 341 342 342 if ext <> '.c': 343 343 print 'WARNING (compile.py): Skipping %s. I only compile C-files.' %filename 344 344 345 345 else:
Note: See TracChangeset
for help on using the changeset viewer.