Changeset 4811
- Timestamp:
- Nov 12, 2007, 4:02:50 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/utilities/compile.py
r4765 r4811 149 149 sharedflag = 'G' 150 150 151 151 152 # Verify that compiler can be executed 153 s = '%s --version' %compiler 154 s = s + ' > /dev/null' # Suppress output 155 err = os.system(s) 156 if err != 0: 157 msg = 'Unable to execute compiler: %s.' %compiler 158 msg += 'Make sure it is available on the system path.' 159 msg += 'One way is to try to check that %s runs on ' %compiler 160 msg += 'the commandline.' 161 raise Exception, msg 162 152 163 153 164 # Find location of include files … … 330 341 return C 331 342 343 332 344 def set_python_dll_path(): 333 345 """ Find which of the two usual hiding places the python dll is located.
Note: See TracChangeset
for help on using the changeset viewer.